SAA-C03 practice question: DNS failover with Route 53
Design Resilient Architectures A free question from our original SAA-C03 practice exam. Try it, then open the answer to see why each option is right or wrong.
A company runs its customer portal behind an Application Load Balancer in eu-west-2, with a smaller standby copy behind another load balancer in eu-west-1.
The standby must receive no user traffic while the primary is working. If every target behind the primary load balancer fails its health checks, users must be sent to the standby automatically, without anyone changing DNS records.
Which Amazon Route 53 configuration meets these requirements?
Choose one answer.
AA. Latency-based alias records for the two load balancers, with Evaluate Target Health set to Yes so unhealthy records are skipped.
BB. Failover alias records, with the eu-west-2 load balancer as primary with Evaluate Target Health set to No, and eu-west-1 as secondary.
CC. Failover alias records, with the eu-west-2 load balancer as primary with Evaluate Target Health set to Yes, and eu-west-1 as secondary.
DD. Weighted alias records with a 90/10 split between the eu-west-2 and eu-west-1 load balancers, with Evaluate Target Health on both.
Show the answer and explanation
Answer: C
A. Wrong: Latency routing is active-active: each user is sent to the healthy load balancer with the lowest latency, so some users would reach the standby during normal running. That breaks the rule that the standby receives no traffic. Failover routing keeps it idle. Learn more: Active-active and active-passive failover (opens in a new tab)
C. Right: Correct. Route 53 answers with the primary while it is healthy, so the standby gets no traffic. With Evaluate Target Health on, the load balancer counts as unhealthy when a target group has no healthy targets, and Route 53 then answers with the secondary. Learn more: Values specific for failover alias records (opens in a new tab)
D. Wrong: Weighted routing would fail away from an unhealthy primary, but the 10% weight sends part of normal traffic to the standby. That breaks the rule that the standby stays idle. Failover routing keeps all users on the primary until it is unhealthy. Learn more: Active-active and active-passive failover (opens in a new tab)
Explanation
Active-passive failover uses failover records: Route 53 returns the primary while it is healthy and the secondary only when it is not. For an alias to an Application Load Balancer, setting Evaluate Target Health to Yes makes Route 53 use the health of the load balancer's target groups. A record with no health check and no target health evaluation is always treated as healthy, so it never fails over.
With Evaluate Target Health on, Route 53 sees when every target behind the primary fails and starts answering with the standby.
Want more on DNS failover with Route 53? The 5 full-length practice sets have 10 more DNS failover with Route 53 questions, 325 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets →