SOA-C02 Question 94
Single answerA company has deployed a highly available web application across two AWS Regions: us-east-1 and us-west-2. They use Amazon Route 53 as their DNS service. The company wants to ensure that traffic is directed to the region with the lowest latency for the user. In the event of a complete failure in one region, all traffic should be routed to the other region. Which Route 53 routing policy should be implemented to meet these requirements?
- A
Weighted routing policy
- B
Latency-based routing policy with health checks
- C
Failover routing policy
- D
Geolocation routing policy
Show answer and explanation
Correct answer: B
Explanation
The latency-based routing policy with health checks is the correct choice because it ensures that traffic is routed to the region with the lowest latency, improving the user experience. By enabling health checks, it also provides failover capabilities to route traffic to the other region in case of a failure in the primary region.
- A. Incorrect.
Weighted routing policy does not prioritize latency and instead distributes traffic based on pre-configured weight values. This does not meet the requirement of directing traffic to the region with the lowest latency.
- B. Correct.
Latency-based routing policy with health checks directs user traffic to the region with the lowest latency and can failover to another region in case of a failure. This satisfies both the latency and failover requirements of the scenario.
- C. Incorrect.
Failover routing policy only routes traffic to a backup resource when the primary resource becomes unavailable. It does not consider latency, so it is not suitable for this use case.
- D. Incorrect.
Geolocation routing policy routes traffic based on the geographic location of the user. It does not prioritize latency or provide failover capabilities, so it is not appropriate for this scenario.