SAP-C02 Question 196
Single answerYour company is hosting a multi-region web application with a primary deployment in the US East (N. Virginia) region and a backup deployment in the Asia Pacific (Tokyo) region. The application uses Amazon Route 53 for DNS. You need to configure Route 53 to ensure that users are redirected to the backup deployment in Tokyo only if the primary deployment in N. Virginia becomes unhealthy. Which routing policy should you use in Route 53 to achieve this?
- A
Failover routing policy
- B
Geolocation routing policy
- C
Latency-based routing policy
- D
Multivalue answer routing policy
Show answer and explanation
Correct answer: A
Explanation
The failover routing policy in Route 53 is specifically designed to manage primary and backup resource configurations, where traffic is routed to the primary resource unless it is unhealthy. When the health check for the primary resource fails, Route 53 automatically redirects traffic to the backup resource. This makes it the most appropriate routing policy for ensuring business continuity in a multi-region deployment.
- A. Correct.
Failover routing policy is used to route traffic to a primary resource unless it is deemed unhealthy, in which case traffic is routed to a secondary resource. This is the correct approach for the described scenario.
- B. Incorrect.
Geolocation routing policy routes traffic based on the geographic location of the user, not the health of the resources. This does not meet the requirements of the scenario.
- C. Incorrect.
Latency-based routing policy directs traffic to the resource location with the lowest network latency for the user. It does not provide health checks for failover scenarios.
- D. Incorrect.
Multivalue answer routing policy allows DNS to return multiple IP addresses to clients, which can include health checks, but it does not prioritize a primary resource and backup resource relationship as required in this scenario.