Bird
0
0

Given this CloudWatch alarm configuration snippet:

medium📝 Predict Output Q13 of 15
AWS - CloudWatch
Given this CloudWatch alarm configuration snippet:
{
  "AlarmName": "HighCPU",
  "MetricName": "CPUUtilization",
  "Namespace": "AWS/EC2",
  "Threshold": 80,
  "ComparisonOperator": "GreaterThanThreshold",
  "EvaluationPeriods": 2,
  "AlarmActions": ["arn:aws:sns:us-east-1:123456789012:NotifyMe"]
}

What happens when the CPU utilization exceeds 80% for 2 evaluation periods?
AAn SNS notification is sent to subscribers of the NotifyMe topic
BThe EC2 instance automatically scales up
CThe alarm resets without any action
DA Lambda function is triggered
Step-by-Step Solution
Solution:
  1. Step 1: Analyze AlarmActions ARN

    The AlarmActions list contains an SNS topic ARN, meaning notifications are sent on alarm.
  2. Step 2: Understand alarm trigger

    When CPUUtilization > 80% for 2 periods, alarm state changes and triggers SNS notification.
  3. Final Answer:

    An SNS notification is sent to subscribers of the NotifyMe topic -> Option A
  4. Quick Check:

    Alarm with SNS ARN sends notifications [OK]
Quick Trick: SNS ARN in AlarmActions means notification sent [OK]
Common Mistakes:
MISTAKES
  • Assuming Auto Scaling happens without scaling policy
  • Thinking alarm resets silently
  • Confusing SNS with Lambda triggers

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes