Developing Solutions for Microsoft Azure (AZ-204) Practice Exam

Disable ads (and more) with a membership for a one time $2.99 payment

Developing Solutions for Microsoft Azure Exam. Prepare with flashcards and multiple choice questions, get hints and explanations for each question. Ace your test prep!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


What is the default time-to-live (TTL) for large file optimizations when publishing a website through Azure CDN?

  1. One hour

  2. One day

  3. One week

  4. One month

The correct answer is: One day

The default time-to-live (TTL) for large file optimizations when publishing a website through Azure CDN is one day. This means that when a file is cached in the CDN, it will remain there for one day before it needs to be refreshed or downloaded again from the origin server. This default setting helps to balance between the need for content freshness and the efficiency of content delivery. A one-day TTL is particularly effective for delivering content that may not change very frequently, thus reducing the load on the origin server and providing a better experience for users due to faster access times. After this period, the content is considered stale, prompting the CDN to revalidate with the origin before serving it again. This ensures that users receive the most up-to-date version of the file while still benefiting from the performance advantages of caching. In contrast, shorter TTLs could lead to excessive requests to the origin server if the cached content is frequently updated, while longer TTLs might serve outdated content to end-users. Therefore, one day strikes an optimal balance for large file optimizations in Azure CDN, making it a sensible default choice.