AZ-700 · Domain 3: Design and implement application delivery services · 18% of the exam
Task 3.3: Design and implement Azure Front Door
Front Door tiers, routes, origins and endpoints, TLS termination and end-to-end TLS, caching and acceleration, rule sets, URL rewrite and redirect, and private origins through Private Link.
Study it
Azure Front Door: tiers, routes, origins, caching and rule sets
Try each one before opening the answer. Every option is explained, with the Microsoft documentation page that proves it.
Question 1 · choose 1
An Azure Front Door Standard profile has three routes: r-all, for the domains www.contoso.com and shop.contoso.com, with the pattern /*; r-cart, for the domain shop.contoso.com, with the pattern /cart/; and r-www-cart, for the domain www.contoso.com, with the pattern /cart/*. A client requests https://shop.contoso.com/cart/. Which route handles the request?
Ar-www-cart, because /cart/* is the most specific wildcard pattern
Br-all, because Front Door checks wildcard patterns before exact paths
Cr-cart, because a pattern that ends in a slash is an exact-match path
DNone; Front Door returns a 404 because no wildcard route matches /cart/ on that domain
Show the answer and why
Ar-www-cart, because /cart/* is the most specific wildcard pattern
Incorrect
Routes are first filtered by an exact match on the frontend host, and r-www-cart serves only www.contoso.com.
Br-all, because Front Door checks wildcard patterns before exact paths
Incorrect
Front Door looks for an exact path match first and uses a wildcard pattern only when none exists.
Cr-cart, because a pattern that ends in a slash is an exact-match path
Correct
After the host filter leaves r-all and r-cart, /cart/ is an exact match for the request path, so it wins over the /* wildcard.
DNone; Front Door returns a 404 because no wildcard route matches /cart/ on that domain
Incorrect
r-all's /* pattern also covers shop.contoso.com, and the exact match r-cart is checked before it anyway.
Front Door keeps only the routes whose frontend host exactly matches the request, here r-all and r-cart. It then looks for an exact path match before any wildcard; on Front Door Standard and Premium a path that ends in a slash is an exact-match path, so r-cart handles /cart/.
A team runs an Azure Front Door Standard profile and wants to try the Premium tier's managed WAF rule sets for a quarter, returning to Standard if they don't help. Which plan is supported?
AUpgrade the profile in place, and re-create a Standard profile if the team goes back
BUpgrade the profile in place, and downgrade it in place later
CCreate a new Premium profile, because a profile's tier can't change
DKeep the Standard profile and give it a WAF policy with managed rule sets
Show the answer and why
AUpgrade the profile in place, and re-create a Standard profile if the team goes back
Correct
Standard can be upgraded to Premium in place, but no seamless downgrade exists; going back means re-creating the profile.
BUpgrade the profile in place, and downgrade it in place later
Incorrect
There's no seamless downgrade from Premium to Standard.
CCreate a new Premium profile, because a profile's tier can't change
Incorrect
A Standard profile can be upgraded to Premium with the upgrade capability.
DKeep the Standard profile and give it a WAF policy with managed rule sets
Incorrect
Managed rule sets are a Premium feature, so the profile has to be Premium.
Azure Front Door Standard upgrades to Premium with the upgrade capability. From Premium to Standard there's no seamless downgrade tool; the profile is re-created instead.
A Front Door route with caching enabled serves an API whose requests all carry an Authorization header. The origin answers with Cache-Control: max-age=600, and the responses are the same for every caller, yet Front Door never serves them from the cache. What should the origin change?
ATurn on compression for the responses
BAdd public or s-maxage to the Cache-Control header
CRaise max-age in the Cache-Control header to 86400 seconds
DStop sending the Set-Cookie header with the responses
Show the answer and why
ATurn on compression for the responses
Incorrect
Compression changes how a response is delivered, not whether a request with an Authorization header can be cached.
BAdd public or s-maxage to the Cache-Control header
Correct
Requests with an Authorization header are cached only when the response carries must-revalidate, public or s-maxage.
CRaise max-age in the Cache-Control header to 86400 seconds
Incorrect
max-age isn't one of the directives that let such responses be cached, whatever its value.
DStop sending the Set-Cookie header with the responses
Incorrect
Front Door removes Set-Cookie from cacheable responses; the header isn't what keeps these out of the cache.
Front Door doesn't cache requests that include an Authorization header unless the response contains a Cache-Control directive that allows it: must-revalidate, public or s-maxage.
A real-time dashboard keeps WebSocket connections open to its origin. The team wants to put it behind Azure Front Door Standard. What should you tell them?
AFront Door Standard supports WebSockets
BWebSockets need the Premium tier
CWebSockets need a rule set that rewrites the Upgrade header
DFront Door delivers static files only, so the dashboard needs Application Gateway
Show the answer and why
AFront Door Standard supports WebSockets
Correct
WebSockets are supported on both the Standard and Premium tiers.
BWebSockets need the Premium tier
Incorrect
The Standard tier supports WebSockets too.
CWebSockets need a rule set that rewrites the Upgrade header
Incorrect
WebSocket support doesn't depend on a rule set.
DFront Door delivers static files only, so the dashboard needs Application Gateway
Incorrect
Front Door supports dynamic site delivery as well as static files.
Azure Front Door Standard and Premium both support WebSockets, along with static and dynamic site delivery.
Caching is enabled on a Front Door route, and the origin returns its responses with no Cache-Control header. How long does Front Door cache them?
ANot at all, because only responses with a Cache-Control header are cached
BExactly 24 hours, the fixed default
CFor a random duration between one and three days
DUntil the next request from a different client
Show the answer and why
ANot at all, because only responses with a Cache-Control header are cached
Incorrect
Without the header, Front Door still caches, for a duration it chooses itself.
BExactly 24 hours, the fixed default
Incorrect
The default isn't a fixed value; Front Door picks a random duration.
CFor a random duration between one and three days
Correct
When the origin sends no Cache-Control header, Front Door randomly determines a cache duration between one and three days.
DUntil the next request from a different client
Incorrect
Cached content is reused across clients until it expires.
Front Door honors Cache-Control directives from the origin, and doesn't cache responses marked private, no-cache or no-store. If the header isn't present, Front Door randomly determines a cache duration between one and three days.
A custom domain on Azure Front Door Standard needs HTTPS, and the team doesn't want to buy or renew certificates. What should you configure?
AA certificate from a public CA, uploaded to Key Vault
BAn Azure Front Door-managed certificate for the domain
CA self-signed certificate on the origin
DHTTP only, because custom domains can't use HTTPS on Standard
Show the answer and why
AA certificate from a public CA, uploaded to Key Vault
Incorrect
That's bringing your own certificate, which the team wants to avoid.
BAn Azure Front Door-managed certificate for the domain
Correct
Front Door generates and deploys a managed certificate once the domain is associated with an endpoint, and renews it automatically.
CA self-signed certificate on the origin
Incorrect
A custom domain uses a Front Door-managed certificate or your own certificate on Front Door, not a certificate on the origin.
DHTTP only, because custom domains can't use HTTPS on Standard
Incorrect
Custom domain HTTPS is supported on the Standard tier.
Azure Front Door supports Azure-managed and customer-managed certificates for custom domains. With a managed certificate, Front Door generates and deploys the certificate after the domain is associated with an endpoint.