Bird
0
0

You want to automatically increase the number of EC2 instances when CPU usage is high and send a notification to your team. Which combination of alarm actions should you configure?

hard📝 Application Q15 of 15
AWS - CloudWatch
You want to automatically increase the number of EC2 instances when CPU usage is high and send a notification to your team. Which combination of alarm actions should you configure?
AAdd only the Auto Scaling policy ARN to AlarmActions
BAdd only the SNS topic ARN to AlarmActions
CAdd both the Auto Scaling policy ARN and the SNS topic ARN to the alarm's AlarmActions
DCreate two separate alarms, one for scaling and one for notifications
Step-by-Step Solution
Solution:
  1. Step 1: Understand alarm actions for scaling and notifications

    To scale automatically, the alarm must trigger the Auto Scaling policy. To notify, it must trigger the SNS topic.
  2. Step 2: Combine both actions in one alarm

    Adding both ARNs in AlarmActions ensures the alarm triggers scaling and sends notifications simultaneously.
  3. Final Answer:

    Add both the Auto Scaling policy ARN and the SNS topic ARN to the alarm's AlarmActions -> Option C
  4. Quick Check:

    Multiple AlarmActions allow scaling + notifications [OK]
Quick Trick: Use both Auto Scaling and SNS ARNs in AlarmActions [OK]
Common Mistakes:
  • Thinking one ARN can do both scaling and notifications
  • Creating multiple alarms unnecessarily
  • Missing one of the required ARNs

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes