Q38 — AWS DOP-C02 Ch.1

Question 38 of 100 | ← Chapter 1

A company hosts a web application on Amazon EC2 instances backed by Amazon EBS storage. The company wants to recover quickly with minimal data loss when network connectivity or power failures occur on the EC2 instances.

Correct Answer: C. Create an Amazon CloudWatch alarm for the StatusCheckFailed_System metric and select the EC2 Recover instance action.

Explanation

EC2 system status checks monitor the underlying host hardware (network, power, etc.). When these fail, the EC2 Recover action migrates the instance to new, healthy hardware while preserving the EBS volume, instance ID, private IP, and Elastic IP—minimizing downtime and data loss. Option C directly addresses system-level failures described in the scenario. Option D triggers reboot on instance status check failure (OS-level issues), which does not resolve underlying hardware faults. Option A provides redundancy but does not guarantee rapid recovery of the same instance state. Option B’s lifecycle hooks apply only during intentional termination—not unplanned failures—and do not automate recovery.