A company runs a latency-sensitive application on a fleet of Amazon EC2 instances. A SysOps Administrator is tasked with configuring a CloudWatch alarm to detect when the CPUUtilization metric exceeds for consecutive evaluation periods. If the threshold is breached, the administrator must configure a notification to be sent to an Amazon SNS topic. Currently, the instances are reporting metrics at the default interval.
Which configurations are required to meet these requirements? (Select TWO.)
- Activate detailed monitoring on the EC2 instances to report metrics at intervals.Answer
- Configure a CloudWatch alarm with a period of and set the evaluation periods to .Answer
- CConfigure the CloudWatch alarm with a period of while keeping the default standard monitoring interval active for the instances.
- DCreate an Amazon EventBridge rule that queries the CPUUtilization metric at intervals and sends notifications to the SNS topic.
- ESet the Auto Scaling group cooldown period to and attach an SNS notification action to the scaling policy.
Answer
To monitor CPU utilization at 1-minute intervals and send SNS notifications, the administrator must activate detailed monitoring on the EC2 instances and configure the CloudWatch alarm with a period of 60 seconds and an evaluation period of 3.
To monitor and alert on a metric with 1-minute granularity, detailed monitoring must be enabled on the EC2 instances because the default standard monitoring reports CPU utilization metrics at 5-minute intervals. Additionally, the CloudWatch alarm must be configured with a period of 60 seconds and an evaluation period of 3 to check three consecutive 1-minute data points before triggering the alarm.
Step-by-Step Solution
Key Concept
CloudWatch detailed monitoring provides 1-minute resolution metrics for EC2 instances, which is necessary for configuring alarms with periods shorter than 5 minutes.
Estimated Time:1m 30s