
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A company has a web application hosted over 10 Amazon EC2 instances with traffic directed by Amazon Route 53. The company occasionally experiences a timeout error when attempting to browse the application. The networking team finds that some DNS queries return IP addresses of unhealthy instances, resulting in the timeout error.
What should a solutions architect implement to overcome these timeout errors?
A
Create a Route 53 simple routing policy record for each EC2 instance. Associate a health check with each record.
B
Create a Route 53 failover routing policy record for each EC2 instance. Associate a health check with each record.
C
Create an Amazon CloudFront distribution with EC2 instances as its origin. Associate a health check with the EC2 instances.
D
Create an Application Load Balancer (ALB) with a health check in front of the EC2 instances. Route to the ALB from Route 53.
Explanation:
The correct answer is D because:
Problem Analysis: The issue is that Route 53 DNS queries are returning IP addresses of unhealthy EC2 instances, causing timeout errors. Route 53 health checks can help, but they have limitations:
Solution Architecture:
Why other options are incorrect:
Best Practice: The recommended AWS pattern is to use an Application Load Balancer behind Route 53 for web applications. The ALB provides:
This solution ensures that users are always directed to healthy instances, eliminating the timeout errors caused by DNS returning unhealthy instance IPs.