AWS Certified SysOps Administrator – Associate — Question 412
A company has 10 Amazon EC2 instances in its production account. A SysOps administrator must ensure that email notifications are sent to administrators each time there is an EC2 instance state change.
Which solution will meet this requirements?
Answer options
- A. Configure an Amazon Route 53 simple routing policy that publishes a message to an Amazon Simple Notification Service (Amazon SNS) topic when an EC2 instance state changes. This SNS topic then sends notifications to its email subscribers.
- B. Configure an Amazon Route 53 simple routing policy that publishes a message to an Amazon Simple Queue Service (Amazon SQS) queue when an EC2 instance state changes. This SQS queue then sends notifications to its email subscribers.
- C. Create an Amazon EventBridge (Amazon CloudWatch Events) rule that publishes a message to an Amazon Simple Notification Service (Amazon SNS) topic when an EC2 instance state changes. This SNS topic then sends notifications to its email subscribers.
- D. Create an Amazon EventBridge (Amazon CloudWatch Events) rule that publishes a message to an Amazon Simple Queue Service (Amazon SQS) queue when an EC2 instance state changes. This SQS queue then sends notifications to its email subscribers.
Correct answer: C
Explanation
Amazon EventBridge (Amazon CloudWatch Events) can detect EC2 instance state changes in real-time and trigger targets such as Amazon SNS. Amazon SNS supports email protocols natively, allowing it to distribute alerts directly to administrators' email addresses. Amazon Route 53 is a DNS service that cannot track EC2 state changes, and Amazon SQS is a message queue that does not natively support email delivery to subscribers.