DOP-C02 · Question #329
DOP-C02 Question #329: Real Exam Question with Answer & Explanation
The correct answer is A: Configure an event source of AWS Health. Configure event types that indicate scheduled. AWS Health provides event notifications about important events, such as scheduled instance terminations or retirements. This is the right event source to monitor for notifications that indicate a need to restart or remediate EC2 instances. AWS Systems Manager provides a predefine
Question
A company's DevOps engineer uses AWS Systems Manager to perform maintenance tasks. The company has a few Amazon EC2 instances that require a restart after notifications from AWS Health. The DevOps engineer must implement an automated solution that uses Amazon EventBridge to remediate the notifications during the company's scheduled maintenance windows. How should the DevOps engineer configure an EventBridge rule to meet these requirements?
Options
- AConfigure an event source of AWS Health. Configure event types that indicate scheduled
- BConfigure an event source of Systems Manager. Configure an event type that indicates a
- CConfigure an event source of AWS Health. Configure event types that indicate scheduled
- DConfigure an event source of EC2. Configure an event type that indicates instance state
Explanation
AWS Health provides event notifications about important events, such as scheduled instance terminations or retirements. This is the right event source to monitor for notifications that indicate a need to restart or remediate EC2 instances. AWS Systems Manager provides a predefined automation runbook, AWS-RestartEC2Instance, which is designed to handle the task of restarting EC2 instances automatically. This avoids the need to create custom Lambda functions or other complicated logic. EventBridge can trigger the automation during the company's maintenance windows when AWS Health issues a notification related to instance termination or retirement.
Topics
Community Discussion
No community discussion yet for this question.