Bird
0
0

You want a CloudWatch alarm to send an email notification via SNS and also trigger an Auto Scaling policy to add instances when CPU utilization exceeds 75%. How should you configure the AlarmActions?

hard📝 Application Q8 of 15
AWS - CloudWatch
You want a CloudWatch alarm to send an email notification via SNS and also trigger an Auto Scaling policy to add instances when CPU utilization exceeds 75%. How should you configure the AlarmActions?
AConfigure the SNS topic to trigger the Auto Scaling policy when it receives the alarm notification.
BSet the AlarmActions to only the Auto Scaling policy ARN and configure SNS notifications separately.
CUse two separate alarms: one for SNS notification and one for Auto Scaling action.
DInclude both the SNS topic ARN and the Auto Scaling policy ARN in the AlarmActions list.
Step-by-Step Solution
Solution:
  1. Step 1: Understand AlarmActions

    AlarmActions can include multiple ARNs such as SNS topics and Auto Scaling policies.
  2. Step 2: Configure both actions

    To notify via email and scale out, both the SNS topic ARN and Auto Scaling policy ARN must be listed in AlarmActions.
  3. Final Answer:

    Include both the SNS topic ARN and the Auto Scaling policy ARN in the AlarmActions list. -> Option D
  4. Quick Check:

    AlarmActions supports multiple ARNs [OK]
Quick Trick: List all ARNs in AlarmActions for multiple actions [OK]
Common Mistakes:
  • Assuming SNS triggers Auto Scaling automatically
  • Using separate alarms unnecessarily
  • Not including both ARNs in AlarmActions

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes