Bird
0
0

Given this CloudWatch alarm snippet:

medium📝 Predict Output Q4 of 15
AWS - CloudWatch
Given this CloudWatch alarm snippet:
{"AlarmName": "ScaleUpCPU", "MetricName": "CPUUtilization", "Threshold": 70, "ComparisonOperator": "GreaterThanThreshold", "AlarmActions": ["arn:aws:autoscaling:region:123456789012:scalingPolicy:policy-id:autoScalingGroupName/group-name:policyName/policy-name"]}

What happens when CPU utilization exceeds 70%?
AThe alarm deletes the Auto Scaling group.
BThe Auto Scaling policy is triggered to increase instances.
CThe alarm sends an email notification only.
DNothing happens because the threshold is too high.
Step-by-Step Solution
Solution:
  1. Step 1: Analyze alarm configuration

    The alarm triggers when CPUUtilization is greater than 70% and calls the Auto Scaling policy ARN in AlarmActions.
  2. Step 2: Understand effect of triggering Auto Scaling policy

    The Auto Scaling policy will increase the number of instances in the group to handle load.
  3. Final Answer:

    The Auto Scaling policy is triggered to increase instances. -> Option B
  4. Quick Check:

    Alarm triggers scaling policy = scale up [OK]
Quick Trick: AlarmActions with scaling policy ARN triggers scaling [OK]
Common Mistakes:
  • Assuming alarm only sends email without scaling
  • Thinking alarm deletes resources
  • Ignoring threshold effect

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes