An enterprise operates a multi-region web application across us-east-1 (active) and us-west-2 (passive). The application tier consists of Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer (ALB). The database tier uses an Amazon Aurora Global Database with the primary cluster in us-east-1. Traffic is routed using an Amazon Route 53 failover routing policy pointing to the primary ALB with an associated health check. During a simulated database outage in us-east-1, the application became unavailable, but Route 53 did not fail over to us-west-2 because the Route 53 health check, which points to a static HTML page on the EC2 instances, remained healthy.
Which action should a solutions architect take to resolve this issue and enhance the disaster recovery reliability?
- Update the Route 53 health check to query a dynamic health check endpoint on the application servers that verifies connectivity to the primary database cluster, returning a failure response if the database is unreachable.Cevap
- BModify the Route 53 primary alias record pointing to the Application Load Balancer to enable the 'Evaluate Target Health' option, and remove the external health check configuration.
- CConfigure a CloudWatch metric alarm for Amazon Aurora replication lag in the secondary region, and configure the Route 53 health check to fail when the replication lag exceeds the disaster recovery threshold.
- DCreate a duplicate Route 53 private hosted zone in the secondary region and associate it with the primary VPC to override external routing tables during database outages.