Skip to content

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

Sample questions

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?

  1. Ar-www-cart, because /cart/* is the most specific wildcard pattern
  2. Br-all, because Front Door checks wildcard patterns before exact paths
  3. Cr-cart, because a pattern that ends in a slash is an exact-match path
  4. 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/.

Question 2 · choose 1

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?

  1. AUpgrade the profile in place, and re-create a Standard profile if the team goes back
  2. BUpgrade the profile in place, and downgrade it in place later
  3. CCreate a new Premium profile, because a profile's tier can't change
  4. 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.

Question 3 · choose 1

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?

  1. ATurn on compression for the responses
  2. BAdd public or s-maxage to the Cache-Control header
  3. CRaise max-age in the Cache-Control header to 86400 seconds
  4. 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.

Microsoft documentation

Question 4 · choose 1

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?

  1. AFront Door Standard supports WebSockets
  2. BWebSockets need the Premium tier
  3. CWebSockets need a rule set that rewrites the Upgrade header
  4. 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.

Question 5 · choose 1

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?

  1. ANot at all, because only responses with a Cache-Control header are cached
  2. BExactly 24 hours, the fixed default
  3. CFor a random duration between one and three days
  4. 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.

Microsoft documentation

Question 6 · choose 1

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?

  1. AA certificate from a public CA, uploaded to Key Vault
  2. BAn Azure Front Door-managed certificate for the domain
  3. CA self-signed certificate on the origin
  4. 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.

Practice domain 3 →Practice all domains →