AZ-700 Question 178
Single answerYou manage an e-commerce application hosted in two Azure regions: East US as the primary, and West Europe as a secondary region used for canary testing. You want to direct about 20% of the overall traffic to West Europe so you can test new updates without affecting the majority of users. If the East US endpoint becomes unhealthy, traffic should fail over entirely to West Europe. Which Azure Traffic Manager routing method should you configure to meet these requirements?
- A
Weighted
- B
Priority
- C
Performance
- D
Geographic
Show answer and explanation
Correct answer: A
Explanation
Weighted routing in Azure Traffic Manager best fits the scenario of canary testing (sending a minority percentage of traffic to a secondary endpoint) while also providing automatic failover. If the primary region goes offline, the remaining traffic is redirected to the secondary region based on endpoint health checks. For more details, refer to the official Microsoft Azure Traffic Manager documentation: https://learn.microsoft.com/azure/traffic-manager/traffic-manager-routing-methods
- A. Correct.
Weighted is correct. It allows you to distribute a specific percentage of traffic to each endpoint (20% in this case) and will automatically fail over to a healthy endpoint if the primary becomes unavailable.
- B. Incorrect.
Priority is mostly used when you want a strict failover scenario without distributing partial traffic during normal operations. It sends all traffic to the primary endpoint unless it is unhealthy.
- C. Incorrect.
Performance routes users based on the lowest latency, not on defined percentages of traffic distribution, so it wouldn't allow for a controlled 20% canary test scenario.
- D. Incorrect.
Geographic routes traffic based on users� geographic location or regional regulations. It does not support splitting traffic by a defined percentage for testing.