AZ-700 Question 218
Select 2You manage an Azure Front Door that routes traffic to two origins: an Azure App Service and an on-premises web server. You want to set up failover so that if the on-premises web server becomes unavailable, incoming traffic automatically routes to the Azure App Service. You also want to ensure proper health checks on each origin. Which of the following configurations should you implement?
- A
Create a single routing rule with both origins in the same backend pool and use priority-based routing.
- B
Configure a custom probe for health monitoring on each origin, specifying a probe path and protocol.
- C
Enable separate frontend hosts for each origin so each origin has its own public endpoint.
- D
Create separate routing rules for each origin, each with a unique frontend domain.
Show answer and explanation
Correct answers: A, B
Explanation
To configure Azure Front Door for failover, use a single routing rule referencing both origins with priority-based routing. The origin set as Priority 1 acts as the primary, while the second origin is set as Priority 2 to automatically receive traffic if the primary fails. Configuring probes for each origin allows Azure Front Door to detect failures. For more details, see the Azure Front Door documentation on backend pools, health probes, and routing methods.
- A. Correct.
Correct. A single routing rule using priority-based routing ensures that if the primary origin fails, traffic automatically routes to the secondary origin. Priority routing is designed for failover scenarios.
- B. Correct.
Correct. Health checks (probes) must be configured to monitor each origin. If a probe fails, Azure Front Door reroutes traffic to a healthy origin.
- C. Incorrect.
Incorrect. Although you can have multiple custom domains or frontend hosts, you do not need a separate public endpoint for each origin to achieve failover. One frontend host can serve multiple origins with priority-based routing.
- D. Incorrect.
Incorrect. You do not need separate routing rules for each origin as long as priority-based routing is in place. A single rule can reference multiple backends in a backend pool using different priorities.