AWS Certified DevOps Engineer – Professional — Question 81

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?

Answer options

Correct answer: B

Explanation

Option B is correct as it uses AWS OpsWorks' auto healing feature to manage instance failures and ensures that application metadata is pulled from Amazon S3, keeping it updated. Options A and C rely on CloudWatch alarms and EC2 Auto Recovery, which do not ensure that the metadata is retrieved upon restart. Option D does not address the automatic recovery aspect effectively.