Q61 — AWS DOP-C02 Ch.2

Question 61 of 100 | ← Chapter 2

A company uses Amazon EC2 instances backed by Amazon EBS storage to host a temporary web application. The company wants to recover quickly with minimal data loss when the EC2 instance experiences network connectivity issues or power failures.

Correct Answer: C. Create an Amazon CloudWatch alarm for the StatusCheckFailed system metric and select the EC2 action to recover the instance.

Explanation

The StatusCheckFailed system metric checks the health of the underlying host system for an EC2 instance. If this check fails, it indicates an issue with the host's hardware, network, or power—potentially causing instance interruption. When an alarm triggers on the StatusCheckFailed system metric, the EC2 'recover' action (which stops and then starts the instance) can be automatically executed. This enables rapid recovery with minimal data loss when network or power failures occur.