Q43 — AWS DOP-C02 Ch.1
Question 43 of 100 | ← Chapter 1
A media company has multiple Amazon EC2 instances in its AWS account. The company uses Slack and a shared email inbox for team communication and critical updates. A DevOps engineer needs to send notifications about scheduled AWS EC2 maintenance events to a Slack channel and the shared email inbox. The solution must include the instance name and owner tags.
- A. Integrate AWS Trusted Advisor with AWS Config. Configure a custom AWS Config rule to invoke an AWS Lambda function that publishes notifications to an Amazon Simple Notification Service (Amazon SNS) topic. Subscribe the Slack channel endpoint and shared email inbox to the topic.
- B. Use Amazon EventBridge to monitor AWS Health events. Configure maintenance events to target an Amazon Simple Notification Service (Amazon SNS) topic. Subscribe an AWS Lambda function to the SNS topic to send notifications to the Slack channel and shared email inbox. ✓
- C. Create an AWS Lambda function to send EC2 maintenance notifications to the Slack channel and shared email inbox. Use Amazon CloudWatch metrics to monitor EC2 health events. Configure a CloudWatch alarm to invoke the Lambda function upon receiving a maintenance notification.
- D. Configure AWS Support integration with AWS CloudTrail. Create a CloudTrail lookup event to invoke an AWS Lambda function to deliver EC2 maintenance notifications to Amazon Simple Notification Service (Amazon SNS). Configure Amazon SNS to target the Slack channel and shared email inbox.
Correct Answer: B. Use Amazon EventBridge to monitor AWS Health events. Configure maintenance events to target an Amazon Simple Notification Service (Amazon SNS) topic. Subscribe an AWS Lambda function to the SNS topic to send notifications to the Slack channel and shared email inbox.
Explanation
To meet the requirement of sending scheduled AWS EC2 maintenance notifications to a Slack channel and shared email inbox—including instance name and owner tags—a solution must monitor AWS Health events and deliver notifications to specified targets. Review all options.