An enterprise operates a public-facing web application deployed across two AWS Regions: us-east-1 (primary) and us-west-2 (standby) for disaster recovery. The architecture consists of an Application Load Balancer (ALB) and an Auto Scaling group of EC2 instances in each region. The company uses Amazon Route 53 with failover routing policies. The primary alias record has 'Evaluate Target Health' set to 'No' and is associated with a Route 53 HTTP health check that directly queries the ALB DNS name. During a recent database outage in the primary region, the web servers behind the primary ALB began returning HTTP 500 errors to users, but DNS failover to the standby region did not occur. Which action should the solutions architect take to ensure reliable failover to the standby region during future application or database outages?
- ACreate a Route 53 Private Hosted Zone for the application domain, associate it with the VPCs in both regions, and use simple routing policies to map the domain to interface VPC endpoints for the Application Load Balancers.
- BModify the disaster recovery strategy to a Pilot Light pattern, terminate the standby EC2 instances, and replace the Route 53 failover records with latency-based routing records that lack health checks.
- Change the Route 53 primary alias record configuration to set 'Evaluate Target Health' to 'Yes' and configure the ALB target group health check to query a specific path that validates database connectivity.Answer
- DDeploy a single NAT Gateway in the primary region's public subnets to consolidate all outbound application server traffic and configure the ALB target group health checks to route through this NAT Gateway.