You have a CloudWatch alarm configured to send a notification to an SNS topic when CPU usage exceeds 80%. What is the expected behavior when the alarm state changes to ALARM?
Think about how SNS works with subscriptions and notifications.
When a CloudWatch alarm triggers, it sends a message to the SNS topic, which immediately pushes the notification to all subscribed endpoints such as email, SMS, or Lambda.
An Auto Scaling group is configured with a CloudWatch alarm that triggers a scale-out policy when average CPU usage exceeds 70%. What is the expected result when the alarm triggers?
Consider what a scale-out policy means for an Auto Scaling group.
When the alarm triggers a scale-out policy, the Auto Scaling group automatically launches more instances to handle increased load.
To allow CloudWatch alarms to trigger Auto Scaling policies, which IAM permission must be granted to the CloudWatch service or role?
Think about what action CloudWatch needs to perform to scale instances.
CloudWatch needs the "autoscaling:ExecutePolicy" permission to invoke scaling policies on the Auto Scaling group.
When setting up SNS topics to receive CloudWatch alarm notifications, which practice improves security and reliability?
Consider how to protect sensitive alarm notifications and control access.
Restricting access and encrypting messages ensures only authorized subscribers receive notifications securely.
Order the following steps correctly when a CloudWatch alarm triggers a scale-in policy and sends a notification via SNS.
Think about what happens first and how CloudWatch triggers multiple actions.
First, the alarm state changes. Then CloudWatch triggers both the scale-in policy and SNS notification. The SNS notification is sent while the Auto Scaling group terminates instances.