An organization runs a web application on four Amazon EC2 instances, each configured with an Elastic IP address. A SysOps Administrator must configure Amazon Route 53 to distribute client requests randomly across all four instances. The configuration must perform health checks on each instance individually and automatically stop routing traffic to any instance that becomes unhealthy. Which Route 53 configuration will meet these requirements?
- ACreate a single A record using the Simple routing policy that contains all four Elastic IP addresses, and enable health checking on the record.
- Create four A records using the Multivalue Answer routing policy, and associate a Route 53 health check with each record.Answer
- CCreate a CNAME record at the zone apex pointing to a Route 53 traffic policy that distributes traffic across the four Elastic IP addresses.
- DCreate four Alias records pointing to the Elastic IP addresses using the Failover routing policy, and associate health checks.
Answer
Create four A records using the Multivalue Answer routing policy, and associate a Route 53 health check with each record.
The correct option is to create four A records using the Multivalue Answer routing policy and associate a Route 53 health check with each record. This configuration returns multiple healthy values (up to eight) in response to DNS queries, allows Route 53 to check the health of each resource individually, and automatically excludes unhealthy resources from DNS responses. It also allows direct access to each IP address for individual health checking.
Step-by-Step Solution
Key Concept
Amazon Route 53 Multivalue Answer routing policy with health checks for active-active DNS load balancing and failover.