DOP-C02 practice question: Route 53 health checks and failover routing
Resilient Cloud Solutions A free question from our original DOP-C02 practice exam. Try it, then open the answer to see why each option is right or wrong.
A video streaming service serves its web application from an Application Load Balancer in us-east-1. A static fallback site, which shows an outage banner, runs in a second Region behind its own load balancer.
When the primary load balancer becomes unhealthy, customers should reach the fallback site within a few minutes, without any operator action. When the primary recovers, customers should return to it automatically.
The team wants the DNS record that customers use to stay the same, and it wants health checks to decide where traffic goes.
Which configuration meets these requirements?
Choose one answer.
AA. Create a Route 53 failover routing policy with a health check on the primary endpoint, a primary alias record, and a secondary alias record for the fallback load balancer.
BB. Create a weighted routing policy with a 50 percent weight on each load balancer, so that half of all requests reach the fallback site during normal operation.
CC. Create a latency-based routing policy for the two load balancers, and let Route 53 choose the Region that is closest to each customer.
DD. Keep a single record that points to the primary, and have an operator run a script to change the record to the fallback site after the outage is confirmed by the on-call engineer.
Show the answer and explanation
Answer: A
A. Right: Correct. With failover routing, Route 53 answers with the secondary record only when the primary's health check fails, and it returns to the primary when that check passes. The customer-facing name stays the same. Learn more: Configuring DNS failover (opens in a new tab)
C. Wrong: Latency routing picks the closest Region, not the healthy one, so customers could still be sent to the failed primary. It does not provide the fallback behavior the team described.
D. Wrong: This depends on an operator being available and fast enough for a few-minute target. It also gives no automatic return to the primary when it recovers.
Explanation
Route 53 failover routing answers with the secondary record only when the primary's health check fails, and it returns to the primary when the check recovers. The record name stays the same for customers. Weighted and latency policies do not switch by health, and a manual script depends on an operator.
Want more on Route 53 health checks and failover routing? The 5 full-length practice sets have 8 more Route 53 health checks and failover routing questions, 375 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets →