A CloudWatch alarm watches a metric and takes an action when it crosses a threshold — sending an SNS notification, triggering Auto Scaling, or recovering an instance.
What alarms can trigger
Alarms commonly notify a team via SNS, drive Auto Scaling policies, or trigger EC2 auto-recovery. They have states (OK, ALARM, INSUFFICIENT_DATA) and can require a metric to breach for several periods before firing. The tell is “take an automated action when a metric crosses a threshold.”
Alarm configuration and exam traps
A metric alarm evaluates a metric over evaluation periods and can use a configured threshold or anomaly detection. A composite alarm combines the states of other alarms to reduce noisy notifications. An alarm does not create capacity by itself: it must be connected to an action such as an Auto Scaling policy or SNS notification.
Exam traps: INSUFFICIENT_DATA is not the same as ALARM; missing-data treatment and evaluation settings matter. Use CloudWatch alarms for metric-based conditions, CloudTrail for API activity, and AWS Config for resource configuration compliance.
Test yourself
You want to automatically notify the on-call team and add capacity when CPU across a fleet stays high. What ties the metric to those actions?
- AWS Config rules
- A CloudWatch alarm (with SNS and Auto Scaling actions)
- CloudTrail
- A NAT gateway
👉 Click to reveal the answer & explanation
Correct answer: B. A CloudWatch alarm watches the metric and triggers actions like an SNS notification and an Auto Scaling policy when the threshold is breached. Config (A) checks configuration; CloudTrail (C) logs API activity; NAT (D) is networking.
Related topics
Amazon CloudWatch · Auto Scaling · Amazon SNS
Ready to pass your AWS exam?
Stop guessing whether you’re ready. Our full-length, exam-realistic practice exams put you through the exact question style you’ll face — with a detailed explanation behind every answer, so you learn why, not just what.
- ✓ 6 full-length practice exams
- ✓ A detailed explanation for every single question
- ✓ Realistic, scenario-based questions — not memory dumps
- ✓ 6 months of access to your selected certification pack