Question

Difficulty: EasyCloudWatch Metrics and Alarms

A SysOps Administrator is configuring a new Amazon EC2 instance. The administrator needs to monitor the CPU utilization of the instance at 1-minute intervals and trigger an alarm if the utilization exceeds 80%. Which steps must the administrator take to meet these requirements? (Select TWO.)

  1. Enable detailed monitoring for the Amazon EC2 instance.Answer
  2. Configure the Amazon CloudWatch alarm with a period of 60 seconds.Answer
  3. C
    Configure the Amazon CloudWatch alarm with a period of 300 seconds.
  4. D
    Enable basic monitoring for the Amazon EC2 instance.
  5. E
    Configure the CloudWatch alarm to send notifications directly to an Amazon SQS queue.

Answer

To monitor the EC2 instance at 1-minute intervals and trigger the alarm, the administrator must enable detailed monitoring on the EC2 instance and configure the CloudWatch alarm with a period of 60 seconds.
To monitor EC2 metrics at a 1-minute resolution, detailed monitoring must be enabled on the EC2 instance. The CloudWatch alarm must then be configured with an evaluation period of 60 seconds to match the metric delivery frequency.

Step-by-Step Solution

1
Enable detailed monitoring on the target EC2 instance.
The instance begins publishing CPU utilization and other default metrics to CloudWatch at 1-minute intervals instead of the default 5-minute intervals.
Standard monitoring only provides 5-minute granularity, which is insufficient for 1-minute monitoring.
2
Create and configure the CloudWatch alarm for CPUUtilization.
The alarm is configured with a period of 60 seconds (1 minute) and a threshold of 80%.
This aligns the alarm evaluation frequency with the 1-minute metric delivery frequency.

Key Concept

Configuring CloudWatch alarms with 1-minute granularity for EC2 metrics requires enabling detailed monitoring on the EC2 instances.
Rate this question