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 158 discussion

An ecommerce company uses a large number of Amazon Elastic Block Store (Amazon EBS) backed Amazon EC2 instances. To decrease manual work across all the instances, a DevOps engineer is tasked with automating restart actions when EC2 instance retirement events are scheduled.

How can this be accomplished?

  • A. Create a scheduled Amazon EventBridge rule to run an AWS Systems Manager Automation runbook that checks if any EC2 instances are scheduled for retirement once a week. If the instance is scheduled for retirement, the runbook will hibernate the instance.
  • B. Enable EC2 Auto Recovery on all of the instances. Create an AWS Config rule to limit the recovery to occur during a maintenance window only.
  • C. Reboot all EC2 instances during an approved maintenance window that is outside of standard business hours. Set up Amazon CloudWatch alarms to send a notification in case any instance is failing EC2 instance status checks.
  • D. Set up an AWS Health Amazon EventBridge rule to run AWS Systems Manager Automation runbooks that stop and start the EC2 instance when a retirement scheduled event occurs.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
thanhnv142
Highly Voted 8 months, 2 weeks ago
Selected Answer: D
D is correct: <automating restart actions when EC2 instance retirement events are scheduled>: these even occurs when the underlying infra that runs the instances needs to be repaired. To deal with this, just need to stop and start the instance to re-locate the instance to a different physical machine A: Hibernate would not work for this scenario B: This would also bring back the instance. However, AWS config rule cannot limit the recovery. It only reports, not actions C: This option is a manual work, not automated one
upvoted 7 times
...
DanShone
Highly Voted 7 months, 1 week ago
Selected Answer: D
D - Retirement relates to AWS Health
upvoted 5 times
...
c3518fc
Most Recent 6 months ago
Selected Answer: D
By leveraging AWS Health events, Amazon EventBridge, and AWS Systems Manager Automation runbooks, you can create an automated and event-driven solution that responds to EC2 instance retirement events in a timely and consistent manner, minimizing manual effort and reducing the risk of service disruptions.
upvoted 5 times
...
dkp
6 months, 2 weeks ago
Selected Answer: D
answer D
upvoted 3 times
...
sarlos
8 months, 3 weeks ago
D is correct
upvoted 2 times
...
a54b16f
9 months, 2 weeks ago
Selected Answer: D
retirement is tied with Health
upvoted 3 times
...
kabary
9 months, 4 weeks ago
Answer is D. Once a week is a joke :D
upvoted 3 times
...
csG13
10 months ago
Selected Answer: D
It 's D
upvoted 3 times
...
PrasannaBalaji
10 months ago
Selected Answer: D
D is correct https://aws.amazon.com/blogs/mt/automate-remediation-actions-for-amazon-ec2-notifications-and-beyond-using-ec2-systems-manager-automation-and-aws-health/
upvoted 3 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