A company hosts a web 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 failover configuration at the zone apex (example.com). If the ALB or the backend instances become unhealthy, Route 53 must automatically redirect traffic to a static maintenance website hosted in an Amazon S3 bucket in the us-west-2 Region. Which configuration will meet these requirements with the fastest failover response and the least configuration overhead?
- Create an Alias record at the zone apex using a Failover routing policy. Set the primary record to point to the ALB with Evaluate Target Health set to Yes. Set the secondary record to point to the S3 bucket website endpoint.Cevap
- BCreate a CNAME record at the zone apex using a Failover routing policy. Set the primary record to point to the ALB DNS name and associate a Route 53 health check. Set the secondary record to point to the S3 bucket website endpoint.
- CCreate a Weighted routing policy at the zone apex. Set the primary record to point to the ALB with a weight of 100 and associate a Route 53 health check. Set the secondary record to point to the S3 bucket website endpoint with a weight of 0.
- DCreate an Alias record at the zone apex using a Failover routing policy. Set the primary record to point to the ALB. Create a Route 53 health check that monitors a CloudWatch alarm based on standard 5-minute ALB metrics, and associate it with the primary record. Set the secondary record to point to the S3 bucket website endpoint.
Cevap
Create an Alias record at the zone apex using a Failover routing policy, pointing the primary record to the Application Load Balancer with Evaluate Target Health enabled, and pointing the secondary record to the Amazon S3 bucket website endpoint.
The correct option is the configuration that creates an Alias record at the zone apex using a Failover routing policy, points the primary record to the Application Load Balancer (ALB) with 'Evaluate Target Health' enabled, and points the secondary record to the Amazon S3 bucket website endpoint. This setup is standard, complies with zone apex limitations by using an Alias record instead of a CNAME, and provides rapid failover by having Route 53 directly evaluate the ALB target health without needing a separate health check or a delayed CloudWatch alarm.
Adım Adım Çözüm
Anahtar Kavram
Route 53 active-passive DNS failover using Alias records and target health evaluation.