MICROSOFT AZURE - EXAM REF AZ-
204 CHAPTER 4 - D306 AZURE
DEVELOPER ASSOCIATE. EXAM 2025
QUESTIONS AND ANSWERS
What is Dynamic Content? - ANS Content that changes depending on user interaction.
What is static content? - ANS It is the same for all application users. Things such as Images or
PDFs.
What is a CDN? - ANS Content Delivery Network. Group of servers distributed in different
locations across the globe that can deliver web content to users. Users access the closest server
to them.
When creating a CDN you have to configure the endpoint. What is required when creating the
endpoint? - ANS The name of the endpoint must be globally unique.
What is the URL structure for the default, non custom, CDN Endpoint? -
ANS https://<your_endpoint's_name>. azureedge.net
CDN Cached content has a TTL. What do you use to change the TTL and what 4 different ways
are there. - ANS You use the Cache Control HTTP Header to manage the TTL settings.
1 @COPYRIGHT THEBRIGHT 2025/2026
, 1. Default CDN Config
2. Caching Rules
3. Web.Config files
4. Programmatically
What is the Default TTL for Cached content? - ANS 7 Days
What is the difference between Global Caching rules and Custom Caching rules? - ANS Global
affects all content in the CDN.
Custom controls the TTL for different paths or files in your CDN.
What is the Web.config File used for? - ANS You use this file to set the expiration time of the
folder it is set in. This uses XML to adjust TTL.
What is the programmatic approach to changing the TTL? - ANS This uses ASP.NET to control
the CDN Caching behavior by setting the HttpResponse.Cache property.
If you dont set a specific TTL value for Azure Cache for Redis in-memory Database, when is the
default TTL? - ANS It doesnt expire unless you set the parameter StringSet() to have a TTL
What are 2 methods to delete keys in the Azure Cache for Redis in-memory DB -
ANS KeyDelete() - Removes a single key.
FlushAllDatabases() - Removes all keys.
What is Azure Front Door Service? - ANS A Azure solution that allows routing traffic
efficiently to the closest location to the user. It also allows you to cache content by providing a
CDN.
2 @COPYRIGHT THEBRIGHT 2025/2026