exam questions

Exam AWS Certified DevOps Engineer - Professional DOP-C02 All Questions

View all questions & answers for the AWS Certified DevOps Engineer - Professional DOP-C02 exam

Exam AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 314 discussion

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?

  • A. Configure an event source of AWS Health. Configure event types that indicate scheduled instance termination and retirement. Target the AWS-RestartEC2Instance Systems Manager Automation runbook to restart the EC2 instances.
  • B. Configure an event source of Systems Manager. Configure an event type that indicates a maintenance window. Target the AWS-RestartEC2Instance Systems Manager Automation runbook to restart the EC2 instances.
  • C. Configure an event source of AWS Health. Configure event types that indicate scheduled instance termination and retirement. Target a newly created AWS Lambda function that registers a Systems Manager maintenance window task to restart the EC2 instances.
  • D. Configure an event source of EC2. Configure an event type that indicates instance state notification. Target a newly created AWS Lambda function that registers a Systems Manager maintenance window task to restart the EC2 instances.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
c87b433
1 day, 8 hours ago
Selected Answer: C
C is the right answer. A will do action immediately but using lambda we can create a maintenance window according to organization downtime activity. A could have been the right answer, but it takes immediate action on an event that is not required. We have to do this in a particular time.
upvoted 1 times
...
gildzeee
1 month, 2 weeks ago
Selected Answer: C
question states during the maintenance window not immediately
upvoted 1 times
...
tinyshare
2 months ago
Selected Answer: A
Same as the question 20, A is correct.
upvoted 3 times
...
phu0298
2 months, 1 week ago
Selected Answer: A
C. Lambda Function to Register a Maintenance Window Task • While this approach could work, it unnecessarily complicates the solution. AWS Systems Manager and EventBridge provide native integrations that eliminate the need for a custom Lambda function. Therefore the answer should be A
upvoted 2 times
...
Changwha
2 months, 2 weeks ago
Selected Answer: A
AWS Health provides notifications for events such as scheduled instance termination and decommissioning.
upvoted 2 times
...
Impromptu
2 months, 2 weeks ago
Selected Answer: C
Although a bit more complex than A, I think C is best. Option A would just restart the instance when the event was received, and not withing the company's maintenance windows.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago