AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 7

A company's DevOps engineer uses AWS Systems Manager to perform maintenance tasks during maintenance windows. The company has a few Amazon EC2 instances that require a restart after notifications from AWS Health. The DevOps engineer needs to implement an automated solution to remediate these notifications. The DevOps engineer creates an Amazon EventBridge rule.
How should the DevOps engineer configure the EventBridge rule to meet these requirements?

Answer options

Correct answer: A

Explanation

Option A is correct because it specifically targets AWS Health notifications related to EC2 instances and uses a Systems Manager document to perform the restart, which aligns with the requirements. Options B and D do not utilize AWS Health as the event source, and C incorrectly directs to a Lambda function instead of using a Systems Manager document for the task.