AWS Certified Solutions Architect – Associate (SAA-C02) — Question 405

A company's HTTP application is behind a Network Load Balancer (NLB). The NLB's target group is configured to use an Amazon EC2 Auto Scaling group with multiple EC2 instances that run the web service.
The company notices that the NLB is not detecting HTTP errors for the application. These errors require a manual restart of the EC2 instances that run the web service. The company needs to improve the application's availability without writing custom scripts or code.
What should a solutions architect do to meet these requirements?

Answer options

Correct answer: C

Explanation

An Application Load Balancer (ALB) operates at Layer 7 and is optimized for HTTP/HTTPS traffic, allowing it to natively perform deep HTTP health checks to detect application-level errors. By linking the ALB's health check status to the Amazon EC2 Auto Scaling group, failed instances can be automatically replaced without manual intervention. Utilizing a cron job violates the requirement to avoid custom scripting, and NLBs operate at Layer 4, making them less suited for detecting specific HTTP application-level failures.