A company runs a critical application on a fleet of Amazon EC2 instances. A SysOps Administrator is configuring a CloudWatch alarm to monitor the aggregate CPU utilization of the fleet. The alarm must transition to the ALARM state and send an Amazon SNS notification if the average CPU utilization exceeds for consecutive evaluation periods of minute. The EC2 instances are currently configured with standard monitoring.
Which combination of actions must the SysOps Administrator take to meet these requirements? (Select TWO.)
- Enable detailed monitoring on the EC2 instances in the fleet.Cevap
- Configure the CloudWatch alarm with a metric period of minute and set both the Evaluation Periods and Datapoints to Alarm to .Cevap
- CKeep standard monitoring enabled and configure the CloudWatch alarm with a metric period of minute, relying on CloudWatch to interpolate the -minute metrics.
- DCreate an Amazon EventBridge rule that directly monitors the raw EC2 CPUUtilization metric stream at -minute intervals to trigger the SNS notification.
- EIncrease the Auto Scaling group cooldown period to seconds to prevent CloudWatch from evaluating metrics during instance scaling activities.
Cevap
To achieve this configuration, detailed monitoring must be enabled on the EC2 instances, and the CloudWatch alarm must be configured with a metric period of minute while setting both the Evaluation Periods and Datapoints to Alarm to .
To evaluate a metric at -minute intervals, the EC2 instances must be configured with detailed monitoring, as standard monitoring only reports metrics at -minute intervals. Additionally, the CloudWatch alarm must be configured with a period of minute, and both the Evaluation Periods and Datapoints to Alarm must be set to to ensure that the alarm only triggers when the CPU utilization threshold of is exceeded for consecutive -minute periods.
Adım Adım Çözüm
Anahtar Kavram
CloudWatch detailed monitoring configuration and multi-period alarm evaluation.