AWS Certified SysOps Administrator – Associate (legacy) — Question 144
A user has enabled instance protection for his Auto Scaling group that has spot instances. If Auto Scaling wants to terminate an instance in this Auto Scaling group due to a CloudWatch trigger unre-lated to bid price, what will happen?
Answer options
- A. Auto Scaling will notify the user for the next action
- B. Auto Scaling will remove the instance from the Auto Scaling Group
- C. Auto Scaling overwrites the instance termination attribute and terminates the instances
- D. The EC2 instance will not be terminated since instance protection from scale-in is enabled.
Correct answer: D
Explanation
The correct answer is D because instance protection prevents the termination of instances in the Auto Scaling group, even when a CloudWatch trigger is activated. The other options are incorrect as they suggest actions that contradict the purpose of instance protection, which is specifically designed to keep designated instances from being terminated.