ANS-C01 Question 472
Select 3An organization has deployed a highly available web application on AWS using Auto Scaling groups behind an Application Load Balancer (ALB). To ensure system reliability, they want to be alerted when the average CPU utilization across all instances in the Auto Scaling group exceeds 80% for 5 consecutive minutes. Which combination of steps is required to implement this alert mechanism?
- A
Create a CloudWatch alarm that monitors the CPUUtilization metric of the Auto Scaling group and set the threshold to 80% for a 5-minute period.
- B
Create a CloudWatch alarm that monitors the CPUUtilization metric of individual instances in the Auto Scaling group and set the threshold to 80% for a 5-minute period.
- C
Set the CloudWatch alarm to trigger an Amazon SNS topic to send notifications via email or SMS.
- D
Attach the CloudWatch alarm directly to the Application Load Balancer to monitor traffic patterns and trigger alerts.
- E
Enable detailed monitoring for the Auto Scaling group to ensure the CPUUtilization metric is available at 1-minute intervals.
Show answer and explanation
Correct answers: A, C, E
Explanation
To implement the alert mechanism, you need to create a CloudWatch alarm that monitors the average CPU utilization metric for the Auto Scaling group, set the threshold to 80% for a 5-minute period, and configure it to trigger an Amazon SNS topic for notifications. Detailed monitoring is also necessary to ensure metric accuracy and timely alarm evaluation.
- A. Correct.
Correct. CloudWatch alarms can monitor metrics such as CPUUtilization at the Auto Scaling group level. This option sets the appropriate threshold and time duration for the alert.
- B. Incorrect.
Incorrect. While monitoring individual instances is possible, the requirement is to monitor the average CPU utilization across all instances in the Auto Scaling group, not individual instances.
- C. Correct.
Correct. An Amazon SNS topic is required to send notifications (email/SMS) when the CloudWatch alarm is triggered.
- D. Incorrect.
Incorrect. CloudWatch alarms cannot be directly attached to an ALB to monitor traffic patterns. ALB metrics are separate and not related to CPU utilization.
- E. Correct.
Correct. Enabling detailed monitoring ensures that metrics like CPUUtilization are available at 1-minute intervals, providing greater granularity and ensuring accurate alarm triggering.