
Ultimate access to all questions.
A company's web application operates behind an NLB with an associated Auto Scaling group for EC2 instances. The NLB fails to detect HTTP errors, necessitating manual restarts for affected instances. How can a solutions architect enhance the application's availability without custom scripting?
A
Implement HTTP health checks on the NLB with the application's URL.
B
Introduce a cron job on EC2 instances to scan logs for HTTP errors, triggering an application restart if found.
C
Switch to an Application Load Balancer, set up health checks with the application URL, and automate instance replacement for unhealthy ones via Auto Scaling.
D
Establish a CloudWatch alarm for the NLB's UnhealthyHostCount metric to trigger Auto Scaling actions for unhealthy instance replacement.