Q64 — AWS SOA-C02 Ch.1

Question 64 of 100 | ← Chapter 1

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 these requirements?

Correct Answer: 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.

Explanation

AWS服务中,Amazon EventBridge(原CloudWatch Events)可监控AWS资源的变更事件并触发操作。当EC2实例状态变化时,EventBridge能捕获对应事件模式(如aws.ec2)并通过规则将事件路由到目标服务。Amazon SNS支持向订阅者发送邮件通知,而SQS主要用于消息队列处理,不具备直接发送邮件的功能。根据AWS官方文档,当需要基于事件触发通知时,EventBridge+SNS是标准解决方案。选项C的组合正确实现了事件捕获和通知传递,其余选项中的Route 53(DNS服务)或SQS(队列服务)不符合场景需求。