exam questions

Exam AWS DevOps Engineer Professional All Questions

View all questions & answers for the AWS DevOps Engineer Professional exam

Exam AWS DevOps Engineer Professional topic 1 question 63 discussion

Exam question from Amazon's AWS DevOps Engineer Professional
Question #: 63
Topic #: 1
[All AWS DevOps Engineer Professional Questions]

An ecommerce company uses a large number of 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 CloudWatch Events rule to execute an AWS Systems Manager automation document that checks if any EC2 instances are scheduled for retirement once a week. If the instance is scheduled for retirement, the automation document 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 CloudWatch Events rule to execute AWS Systems Manager automation documents 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
Smart
Highly Voted 3 years, 6 months ago
D is correct (https://aws.amazon.com/premiumsupport/knowledge-center/ec2-instance-retirement/)
upvoted 13 times
...
Piccaso
Most Recent 2 years, 2 months ago
Selected Answer: D
A is eliminated. Once a week may be not enough. B is eliminated. Recovery does not match this scenario. C is eliminated. Reboot does not match this scenario.
upvoted 1 times
...
Bulti
2 years, 3 months ago
D is the right answer.
upvoted 1 times
...
RightAnswers
2 years, 7 months ago
Selected Answer: D
Here is the link: https://aws.amazon.com/blogs/mt/automate-remediation-actions-for-amazon-ec2-notifications-and-beyond-using-ec2-systems-manager-automation-and-aws-health/
upvoted 4 times
...
gmandala
3 years, 6 months ago
will go with D
upvoted 3 times
...
jackdryan
3 years, 6 months ago
I'll go with D
upvoted 4 times
...
ChauPhan
3 years, 6 months ago
D is correct
upvoted 1 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