AWS Certified SysOps Administrator – Associate (legacy) — Question 371

An organization has setup Auto Scaling with ELB. Due to some manual error, one of the instances got rebooted. Thus, it failed the Auto Scaling health check. Auto
Scaling has marked it for replacement. How can the system admin ensure that the instance does not get terminated?

Answer options

Correct answer: D

Explanation

If an instance is marked as unhealthy but is actually functional, the system administrator can manually override its state using the Auto Scaling set-instance-health command to set it to 'healthy'. This action stops Auto Scaling from terminating and replacing the instance. Other options, such as configuring the group to ignore reboots or trying to re-add the instance, are not supported or effective methods for halting the termination of an unhealthy flagged instance.