Bird
0
0

Given this CloudWatch alarm configuration snippet:

medium📝 Predict Output Q13 of 15
AWS - CloudWatch
Given this CloudWatch alarm configuration snippet:
{"MetricName": "CPUUtilization", "Namespace": "AWS/EC2", "Threshold": 70, "ComparisonOperator": "GreaterThanThreshold", "EvaluationPeriods": 3}

What happens if CPU utilization is 75% for 2 consecutive periods and then 65% for the third period?
AThe alarm does not trigger because CPU was not above 70% for all 3 periods
BThe alarm triggers only if CPU is above 70% for 4 periods
CThe alarm triggers immediately when CPU hits 75% the first time
DThe alarm triggers because CPU was above 70% twice
Step-by-Step Solution
Solution:
  1. Step 1: Understand EvaluationPeriods meaning

    The alarm triggers only if the metric breaches the threshold for the specified number of consecutive periods (3 here).
  2. Step 2: Analyze given CPU values

    CPU was above 70% for 2 periods, then dropped below on the 3rd, so the alarm does not trigger.
  3. Final Answer:

    The alarm does not trigger because CPU was not above 70% for all 3 periods -> Option A
  4. Quick Check:

    3 periods breach needed, only 2 met [OK]
Quick Trick: Alarm needs all evaluation periods breached [OK]
Common Mistakes:
MISTAKES
  • Thinking alarm triggers after any single breach
  • Ignoring EvaluationPeriods count
  • Assuming alarm triggers immediately

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes