A SaaS platform serves an API using two regional deployments: us-east-1 (primary) and us-west-2 (secondary). Each region has its own ALB. The business requires automated DNS-based failover when the primary region becomes unhealthy, and they do not want manual DNS changes during incidents.
Which Route 53 configuration is the best match?
Trap 1: Create a single Route 53 record using weighted routing across both…
Weighted routing does not automatically detect health conditions and shift traffic based on impairment without manual intervention.
Trap 2: Use latency-based routing so Route 53 always selects the fastest…
Latency-based routing selects based on performance, not health, and does not guarantee failover when the primary region is unhealthy.
Trap 3: Use a single A record with a static IP address that points to a NAT…
Static IPs and NAT gateways are not an appropriate mechanism for regional ALB failover, and updating during incidents is manual.
- A
Create a single Route 53 record using weighted routing across both ALBs with weights adjusted manually during an incident.
Why wrong: Weighted routing does not automatically detect health conditions and shift traffic based on impairment without manual intervention.
- B
Use Route 53 failover routing with a primary record pointing to the us-east-1 ALB and a secondary record pointing to the us-west-2 ALB, each using health checks.
Failover routing with health checks enables automatic switching of DNS responses when the primary endpoint fails health evaluation.
- C
Use latency-based routing so Route 53 always selects the fastest region; health checks are unnecessary because client latency reflects availability.
Why wrong: Latency-based routing selects based on performance, not health, and does not guarantee failover when the primary region is unhealthy.
- D
Use a single A record with a static IP address that points to a NAT gateway, and update that IP during failure events.
Why wrong: Static IPs and NAT gateways are not an appropriate mechanism for regional ALB failover, and updating during incidents is manual.