
Answer-first summary for fast verification
Answer: Create an Amazon CloudWatch alarm for the StatusCheckFailed System metric and select the EC2 action to recover the instance.
The correct answer is C. By creating an Amazon CloudWatch alarm for the StatusCheckFailed System metric and selecting the EC2 action to recover the instance, you can ensure that the instance will automatically recover if it becomes impaired due to underlying issues such as network connectivity problems, loss of power, or hardware failures. This mechanism helps in minimizing downtime and data loss, aligning with the company's requirements for quick recovery and minimal data loss.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A company is using an Amazon EC2 instance with Amazon EBS storage to host its staging website. To ensure rapid recovery and minimal data loss in the event of network connectivity issues or power failures affecting the EC2 instance, which AWS service or feature should be implemented?
A
Add the instance to an EC2 Auto Scaling group with the minimum, maximum, and desired capacity set to 1.
B
Add the instance to an EC2 Auto Scaling group with a lifecycle hook to detach the EBS volume when the EC2 instance shuts down or terminates.
C
Create an Amazon CloudWatch alarm for the StatusCheckFailed System metric and select the EC2 action to recover the instance.
D
Create an Amazon CloudWatch alarm for the StatusCheckFailed Instance metric and select the EC2 action to reboot the instance.