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

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

A company runs an application on one Amazon EC2 instance. Application metadata is stored in Amazon S3 and must be retrieved if the instance is restarted. The instance must restart or relaunch automatically if the instance becomes unresponsive.

Which solution will meet these requirements?

  • A. Create an Amazon CloudWatch alarm for the StatusCheckFailed metric. Use the recover action to stop and start the instance. Use an S3 event notification to push the metadata to the instance when the instance is back up and running.
  • B. Configure AWS OpsWorks, and use the auto healing feature to stop and start the instance. Use a lifecycle event in OpsWorks to pull the metadata from Amazon S3 and update it on the instance.
  • C. Use EC2 Auto Recovery to automatically stop and start the instance in case of a failure. Use an S3 event notification to push the metadata to the instance when the instance is back up and running.
  • D. Use AWS CloudFormation to create an EC2 instance that includes the UserData property for the EC2 resource. Add a command in UserData to retrieve the application metadata from Amazon S3.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
Gomer
1 year, 1 month ago
Identical to Question #: 24
upvoted 1 times
...
bgc1
2 years, 4 months ago
Selected Answer: B
Same reasons as Bulti
upvoted 1 times
...
Piccaso
2 years, 4 months ago
Selected Answer: B
A and C are eliminated, because S3 event notification cannot satisfy the context that the instance will be started when it does not respond. D does not work.
upvoted 1 times
...
Bulti
2 years, 5 months ago
Selected Answer: B
B is correct because A and C are technically incorrect and D is incomplete in terms of meeting the requirements.
upvoted 2 times
...
Oleg_gol
2 years, 5 months ago
Selected Answer: B
https://www.examtopics.com/discussions/amazon/view/47002-exam-aws-devops-engineer-professional-topic-1-question-199/
upvoted 1 times
...
saggy4
2 years, 6 months ago
A and C - S3 event notification are triggered when the objects change in S3. D - Only half of solution. No mention of how the instance will be recovered B - Is the correct option.
upvoted 4 times
...
nsvijay04b1
2 years, 7 months ago
Selected Answer: B
Agree with @smileyCloud
upvoted 2 times
...
quixo
2 years, 7 months ago
I'll go with B A) and C) are wrong because there is no such thing like: "Use a trigger in Amazon S3 to push the metadata to the instance when it is back up and running" There is no information about updating or putting a new metadata file to S3, so you can't create an event if nothing happens to the bucket. Also there is no way to push from s3 to ec2 instance, that's not the case D) is incomplete
upvoted 2 times
...
SmileyCloud
2 years, 7 months ago
Selected Answer: B
While A and C seem straightforward, it doesn't say who's gonna trigger the S3 event notification. This event happens only if there is a change in S3, not EC2. Looks strange, but B is the correct answer.
upvoted 3 times
...
Maygam
2 years, 7 months ago
Selected Answer: A
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UsingAlarmActions.html
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 ...