ANS-C01 Question 44
Select 3Your company is hosting a web application in an Amazon VPC across multiple Availability Zones. You use an Application Load Balancer (ALB) to distribute traffic to multiple EC2 instances. To ensure high availability and resilience, you want to configure Amazon Route 53 to route traffic to this application. Which configuration steps should you take to integrate Route 53 with the VPC and ALB?
- A
Create an ALIAS record in Route 53 that points to the DNS name of the ALB.
- B
Create a CNAME record in Route 53 pointing to the private IP address of the ALB within the VPC.
- C
Ensure the ALB is configured with public subnets so it can receive traffic from the internet.
- D
Configure a Route 53 private hosted zone and associate it with the Amazon VPC.
- E
Enable Route 53 health checks for the ALB's target group to monitor the health of the EC2 instances.
Show answer and explanation
Correct answers: A, C, E
Explanation
To integrate Route 53 with an ALB in a VPC, you should create an ALIAS record in Route 53 pointing to the ALB's DNS name. This allows Route 53 to route traffic to the ALB seamlessly. Additionally, the ALB must be associated with public subnets to be accessible from the internet. Configuring Route 53 health checks ensures that traffic is sent only to healthy targets. A private hosted zone is unnecessary in this case because the application is designed for public access.
- A. Correct.
Correct. An ALIAS record allows Route 53 to map a custom domain name to the DNS name of the ALB, which is essential for routing traffic.
- B. Incorrect.
Incorrect. A CNAME record cannot point to an IP address, and pointing it to the internal ALB IP would not work in this scenario as the ALB operates with dynamic IPs.
- C. Correct.
Correct. The ALB must be configured with public subnets to handle internet traffic, as this ensures it can route traffic from Route 53 to the application.
- D. Incorrect.
Incorrect. A private hosted zone is not required in this scenario because the setup involves public access to the web application, not internal-only routing.
- E. Correct.
Correct. Route 53 health checks can be configured to monitor the health of the ALB's target group, ensuring that traffic is routed only to healthy instances.