A SysOps Administrator is configuring DNS resolution for a service endpoint at app.example.com. The service is hosted behind three Application Load Balancers (ALBs) located in different AWS Regions. The administrator wants to use DNS-based routing that returns the IP addresses of all healthy ALBs in response to DNS queries, while automatically removing any ALB that fails its health checks from DNS responses.
Which Route 53 configuration will meet these requirements?
- Create three Alias A records using the Multivalue Answer routing policy, targeting the DNS names of the respective ALBs, and enable Evaluate Target Health on each record.Answer
- BCreate three CNAME records using the Multivalue Answer routing policy, targeting the DNS names of the respective ALBs, and enable Evaluate Target Health on each record.
- CCreate three Alias A records using the Failover routing policy, designating one ALB as primary and the other two as secondary, and configure health checks for each.
- DCreate a single CNAME record containing a comma-separated list of the three ALB DNS names, and associate a Route 53 health check with the CNAME record.
Answer
Create three Alias A records using the Multivalue Answer routing policy, targeting the DNS names of the respective ALBs, and enable Evaluate Target Health on each record.
The correct configuration uses Alias A records configured with the Multivalue Answer routing policy. Alias A records are natively integrated with Application Load Balancers (ALBs) and allow Route 53 to check their health using the 'Evaluate Target Health' setting. The Multivalue Answer routing policy returns multiple healthy records (up to eight) in response to a single DNS query, distributing traffic across all three healthy ALBs and removing any ALB that fails its health checks.
Step-by-Step Solution
Key Concept
Multivalue Answer routing combined with Alias A records and 'Evaluate Target Health' allows Route 53 to act as a basic load balancer by returning multiple IP addresses and automatically filtering out unhealthy resources.
Alternative Method
As an alternative, a Weighted routing policy could be configured with equal weights on each Alias A record. However, Weighted routing only returns a single record per DNS query, whereas Multivalue Answer routing returns multiple records, allowing client applications to retry alternative IP addresses if one becomes unreachable.
Estimated Time:1m 30s