SAP-C02 Question 193
Single answerYour company hosts a global e-commerce application on AWS. You use Amazon Route 53 to manage DNS routing for your application. The application needs to route users to the nearest regional endpoint to minimize latency. Additionally, you want to ensure that if a regional endpoint becomes unavailable, traffic is automatically routed to the next closest available endpoint. Which Route 53 routing policy should you use to achieve this?
- A
Geolocation routing
- B
Latency-based routing with health checks
- C
Failover routing
- D
Multi-value answer routing
Show answer and explanation
Correct answer: B
Explanation
Latency-based routing with health checks is the best choice for this scenario because it ensures that users are routed to the endpoint with the lowest latency and automatically redirects traffic to the next lowest-latency endpoint if the current endpoint is unavailable. Other routing policies like geolocation or failover do not explicitly account for both low latency and automatic failover, making them unsuitable for this use case.
- A. Incorrect.
Geolocation routing routes users based on their geographic location, not necessarily the nearest endpoint. This does not guarantee low latency or automatic failover.
- B. Correct.
Latency-based routing with health checks routes users to the endpoint with the lowest latency and can automatically fail over to the next closest healthy endpoint if a regional endpoint becomes unavailable. This meets the requirements of the scenario.
- C. Incorrect.
Failover routing is used to route traffic to a primary endpoint unless it becomes unhealthy, at which point traffic is routed to a secondary endpoint. This does not account for routing to the nearest regional endpoint based on latency.
- D. Incorrect.
Multi-value answer routing provides multiple IP addresses in response to DNS queries and performs basic health checks, but it does not specifically route users to the nearest endpoint or guarantee failover based on latency.