AWS Certified SysOps Administrator – Associate (legacy) — Question 908
A user has setup Auto Scaling with ELB on the EC2 instances. The user wants to configure that whenever the CPU utilization is below 10%, Auto Scaling should remove one instance. How can the user configure this?
Answer options
- A. The user can get an email using SNS when the CPU utilization is less than 10%. The user can use the desired capacity of Auto Scaling to remove the instance
- B. Use CloudWatch to monitor the data and Auto Scaling to remove the instances using scheduled actions
- C. Configure CloudWatch to send a notification to Auto Scaling Launch configuration when the CPU utilization is less than 10% and configure the Auto Scaling policy to remove the instance
- D. Configure CloudWatch to send a notification to the Auto Scaling group when the CPU Utilization is less than 10% and configure the Auto Scaling policy to remove the instance
Correct answer: D
Explanation
To automate scaling based on metrics, you must configure a CloudWatch alarm that triggers when CPU utilization falls below 10% and sends a notification to the Auto Scaling group. The Auto Scaling group then executes the defined scaling policy to terminate the instance. Launch configurations cannot receive scaling notifications directly, and scheduled actions are used for time-based scaling rather than metric-based scaling.