AWS - CloudWatchIf a CloudWatch alarm is configured with an SNS topic ARN in its AlarmActions, what will be the result when the alarm state changes to ALARM?ASNS topic publishes a message to all subscribers.BAuto Scaling group scales down instances.CThe alarm disables itself automatically.DThe SNS topic deletes all subscriptions.Check Answer
Step-by-Step SolutionSolution:Step 1: Understand alarm action with SNS topicWhen alarm state changes to ALARM, it sends a notification to the SNS topic ARN specified.Step 2: SNS topic behavior on receiving alarm notificationThe SNS topic then publishes the message to all its subscribed endpoints.Final Answer:SNS topic publishes a message to all subscribers. -> Option AQuick Check:Alarm to SNS = message to subscribers [OK]Quick Trick: SNS topic notifies subscribers on alarm state change [OK]Common Mistakes:MISTAKESConfusing SNS with Auto Scaling actionsThinking alarm disables itselfAssuming SNS deletes subscriptions
Master "CloudWatch" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes API Gateway - Why API Gateway matters - Quiz 11easy API Gateway - CORS configuration - Quiz 10hard API Gateway - Resources and methods - Quiz 7medium API Gateway - Resources and methods - Quiz 9hard AWS Lambda - Lambda execution model - Quiz 14medium AWS Lambda - Lambda concurrency and throttling - Quiz 11easy AWS Lambda - Lambda layers for shared code - Quiz 12easy Auto Scaling - Cooldown periods - Quiz 3easy Auto Scaling - Predictive scaling overview - Quiz 10hard RDS and Relational Databases - RDS supported engines - Quiz 7medium