AZ-204 Practice Question: Monitor, troubleshoot, and optimize Azure solutions
You have an Azure CDN profile that caches content from a storage account. Users in Europe report that images load slowly. You need to improve performance for European users. What should you do?
⚠ Common exam trap
Many exam-takers assume caching or compression alone can solve geographic latency, but the real bottleneck is the origin's physical distance from the users, which requires a geographically closer origin to minimize first-hop latency.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Add an additional CDN endpoint with a European origin
Adding an additional CDN endpoint with a European origin (e.g., an Azure Storage account in a European region) reduces latency by serving content from a geographically closer point of presence (PoP). Azure CDN uses a global network of edge servers, but if the origin server is far from the users, the first-hop latency from the edge to the origin can still be high. By placing an origin in Europe, the CDN can fetch content from a nearby origin, minimizing the distance data must travel and improving load times for European users.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Enable compression on the CDN
Why it's wrong here
While enabling compression (e.g., Gzip, Brotli) on the CDN effectively reduces the file size of content transferred, thereby decreasing the *download time* once data transmission begins, it does not inherently reduce the *network latency* or the time it takes for the first byte to travel across the physical distance between the client and the CDN edge node. The core issue of geographic latency, which is the time for the request and initial response to traverse the network, remains unaddressed by compression alone.
- ✗
Enable prefetching on the CDN
Why it's wrong here
Prefetching, which involves proactively loading content into a user's browser cache before it's explicitly requested, is primarily a client-side or application-level optimization technique, not a standard or configurable feature directly offered by Azure CDN. CDNs focus on caching content at their edge locations based on demand or pre-population, and serving it quickly from the nearest PoP, rather than predicting individual user navigation patterns to pre-load content into local browser caches.
- ✗
Configure caching rules to cache longer
Why it's wrong here
Configuring caching rules to cache content for a longer duration on the CDN ensures that once an item is cached at an edge node, it remains available for subsequent requests from that node for an extended period, reducing hits to the origin. However, this optimization does not reduce the *initial latency* experienced by a user making the *first request* for content to a geographically distant CDN edge node, nor does it improve the latency for content that has not yet been cached at a closer location.
- ✓
Add an additional CDN endpoint with a European origin
Why this is correct
Adding an additional CDN endpoint with an origin server physically located in Europe is the most direct and effective method to reduce geographic latency for users in that region. This strategy ensures that content is served from a data center much closer to European users, minimizing the physical distance data must travel between the client, the CDN edge node, and the origin, thereby directly addressing and significantly reducing the round-trip time and overall latency.
Go deeper
Related to this question
About these practice questions
One of 881 original AZ-204 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AZ-204 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-204 exam.