AZ-700 Question 217
Select 3Your company hosts an e-commerce web app across two Azure App Service instances in East US and West Europe. You need to configure an Azure Front Door so that traffic is primarily directed to East US. If East US becomes unavailable, traffic should fail over to West Europe. Additionally, you want to serve traffic through a custom domain named shop.contoso.com. Which of the following configurations should you perform to achieve this setup?
- A
Create a front-end host with the custom domain (shop.contoso.com) and point the domain� CNAME record to the Azure Front Door endpoint.
- B
Create an origin group that uses Weighted routing with each origin set to weight = 50.
- C
Create an origin group that uses Priority routing, setting the East US origin to priority 1 and the West Europe origin to priority 2.
- D
Configure a single routing rule that associates the front-end host (shop.contoso.com) with the newly created origin group.
Show answer and explanation
Correct answers: A, C, D
Explanation
To configure Azure Front Door for global failover, you must create a front-end host that references your custom domain and use an origin group configured with Priority routing. Assign your primary region a higher priority (lower numeric value) and your secondary region a lower priority (higher numeric value). Finally, bind these settings together with a routing rule that connects the custom domain front-end to the origin group. For more details, refer to Microsoft� official documentation on Azure Front Door (https://learn.microsoft.com/azure/frontdoor/front-door-overview).
- A. Correct.
Correct. You must add a custom front-end host in Azure Front Door and map it via CNAME to the Front Door-provided domain so external clients can use shop.contoso.com.
- B. Incorrect.
Incorrect. Weighted routing splits traffic according to assigned weights, providing load distribution but not priority-based failover. Priority routing is required for failover capabilities.
- C. Correct.
Correct. By configuring Priority routing within an origin group and assigning East US as priority 1 (primary) and West Europe as priority 2 (secondary), Front Door can automatically fail over to West Europe if East US becomes unavailable.
- D. Correct.
Correct. A routing rule ties the front-end host to the origin group, ensuring that incoming requests on shop.contoso.com are sent to the priority-based backend pool.