AWS Certified Solutions Architect – Associate (SAA-C03) — Question 260

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?

Answer options

Correct answer: D

Explanation

The correct answer is D because using an Application Load Balancer (ALB) allows for automatic health checks of the EC2 instances, ensuring that traffic is only routed to healthy instances. Options A and B do not effectively manage the health of the instances during DNS resolution, which can still lead to timeouts. Option C introduces CloudFront but does not address the underlying issue of unhealthy instances directly affecting traffic flow.