A company hosts a stateful transaction processing application on Amazon EC2 instances behind an Application Load Balancer (ALB) in the us-east-1 Region. The company wants to set up an active-passive disaster recovery (DR) configuration using a secondary scaled-down environment behind an ALB in the eu-west-1 Region. The DR plan requires automatic failover to the secondary region if the primary region's application or its underlying database becomes unavailable. To avoid database write conflicts, the application in the secondary region must not receive traffic unless a failover is active. Which two configurations should a solutions architect implement to meet these requirements? (Select two.)
- Configure Route 53 Failover routing alias records pointing to the ALB in each region, and set the Evaluate Target Health option to Yes on both records.Answer
- Configure the primary Application Load Balancer (ALB) target group health check to query a deep path (such as /health) that verifies database connectivity, so targets are marked unhealthy if the database is offline.Answer
- CConfigure Route 53 Latency routing records pointing to both the primary and secondary ALBs to automatically route traffic based on network latency, and rely on Route 53 to fail over to the standby region if the primary region goes offline.
- DCreate standard CNAME records pointing to the primary and secondary ALB DNS names, and enable the Evaluate Target Health option on both records to allow Route 53 to monitor the load balancer health.
- EConfigure Route 53 Failover routing policies to route database traffic directly to the RDS Read Replica in the secondary region by using Route 53 DNS records to handle automatic read-replica promotion and database write failover.
Answer
The correct configurations are to set up Route 53 Failover routing alias records with Evaluate Target Health enabled, and to implement a deep health check endpoint on the primary Application Load Balancer target group to verify database availability.
To implement a resilient active-passive configuration, the solutions architect should use Route 53 Failover routing records. These records must be configured as Alias records pointing to the respective Application Load Balancers (ALBs) to support the Evaluate Target Health feature. Additionally, because the database status dictates the availability of this stateful application, a deep health check endpoint (like /health) must be configured on the primary ALB's target group. This ensures that a database failure marks the targets and the load balancer as unhealthy, prompting Route 53 to trigger failover.
Step-by-Step Solution
Key Concept
Route 53 active-passive failover requires Failover routing alias records combined with deep application health checks on the load balancer's targets.
Estimated Time:2m 0s