AWS Certified SysOps Administrator – Associate (legacy) — Question 172
You have an Auto Scaling group associated with an Elastic Load Balancer (ELB). You have noticed that instances launched via the Auto Scaling group are being marked unhealthy due to an ELB health check, but these unhealthy instances are not being terminated.
What do you need to do to ensure trial instances marked unhealthy by the ELB will be terminated and replaced?
Answer options
- A. Change the thresholds set on the Auto Scaling group health check
- B. Add an Elastic Load Balancing health check to your Auto Scaling group
- C. Increase the value for the Health check interval set on the Elastic Load Balancer
- D. Change the health check set on the Elastic Load Balancer to use TCP rather than HTTP checks
Correct answer: B
Explanation
The correct answer is B because adding an Elastic Load Balancing health check to your Auto Scaling group ensures that the health of the instances is monitored by both the ELB and the Auto Scaling group. The other options either modify thresholds or intervals, which do not directly address the issue of the Auto Scaling group not terminating unhealthy instances based on ELB health checks.