You want to create a CloudWatch alarm that triggers only if CPU utilization is above 80% for 5 consecutive 1-minute periods. Which configuration is correct?
hard📝 Application Q8 of 15
AWS - CloudWatch
You want to create a CloudWatch alarm that triggers only if CPU utilization is above 80% for 5 consecutive 1-minute periods. Which configuration is correct?
Threshold 80 with GreaterThanThreshold means alarm triggers above 80%.
Step 2: Confirm evaluation periods and period length
EvaluationPeriods 5 and Period 60 means 5 consecutive 1-minute periods.
Step 3: Check other options
{"MetricName": "CPUUtilization", "Namespace": "AWS/EC2", "Threshold": 80, "ComparisonOperator": "LessThanThreshold", "EvaluationPeriods": 5, "Period": 60} uses LessThanThreshold (wrong), while the other options have wrong period lengths.
Final Answer:
GreaterThanThreshold, EvaluationPeriods 5, Period 60 correctly configures for 5 consecutive 1-minute breaches above 80% -> Option B
Quick Check:
EvaluationPeriods and Period define consecutive time windows [OK]
Quick Trick:Use EvaluationPeriods and Period to set consecutive time checks [OK]
Common Mistakes:
Using LessThanThreshold instead of GreaterThanThreshold
Setting wrong Period length
Confusing EvaluationPeriods with total time
Master "CloudWatch" in AWS
9 interactive learning modes - each teaches the same concept differently