EC2 Instance Recovery with CloudWatch Alarms
Short answer
C Create an Amazon CloudWatch alarm to recover the EC2 instance in case of failure.
Question
Key Takeaways
The core trap is confusing data redundancy (RAID) with system resilience; RAID protects against disk failure but does not recover a failed operating system or application process, whereas CloudWatch can detect and reboot the instance.
This question evaluates designing highly available architectures for legacy EC2 workloads where code modification is restricted. It establishes that Amazon CloudWatch alarms are the correct mechanism to automate instance recovery when multi-AZ deployment is not an option.
Common mistake: Many learners choose Option D (RAID), mistakenly believing that storage-level redundancy constitutes overall system resiliency. However, RAID cannot recover from host failures, OS crashes, or application hangs, which are common causes of system downtime.
Expert Analysis
Why the Answer Is Correct
Option C is the only viable solution given the constraint that the application cannot run on more than one instance. Amazon CloudWatch allows you to monitor specific metrics (such as CPU utilization or status check failures) and trigger actions via SNS or EventBridge. By configuring an alarm to stop/restart or replace the instance upon failure detection, you significantly improve the Mean Time To Recovery (MTTR). This approach provides automated resilience without requiring architectural changes to the legacy application.
Why the Other Options Are Wrong
Option A (Termination Protection) prevents accidental deletion but offers zero protection against hardware failures, OS crashes, or malicious termination by authorized users. Option B (Multi-AZ) is invalid because AWS does not support running a single EC2 instance across multiple Availability Zones simultaneously; Multi-AZ applies to services like RDS or ELB, or requires active-active/passive setup with load balancers, which violates the "cannot run on more than one instance" constraint. Option D (RAID) addresses disk redundancy, not instance availability. As noted in community feedback, "RAID improves data resilience, but won't recover the instance if the system itself fails." Furthermore, AWS explicitly discourages using RAID with EBS volumes due to performance overhead and lack of managed redundancy.
Community Comment Notes
The community consensus strongly favors Option C, with many users highlighting the critical distinction between data protection and instance recovery. One user noted that "Question about 'improve the recovery time'... it's 100% C," emphasizing that RAID does not solve the recovery time objective for a crashed instance. Another commenter pointed out the limitation of Multi-AZ: "Question says 'cannot run on more than one instance,'" confirming that B is architecturally impossible for this scenario. While some initially considered RAID, the prevailing view is that it fails to address the holistic system failure requirement.
Official Reference
- https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html
- https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatReplacesYourEC2Instance.html
These links open the official vendor documentation in a new tab.
Exam Strategy
When faced with constraints preventing horizontal scaling or multi-AZ deployments, always look for automated recovery mechanisms like CloudWatch Alarms combined with EC2 Actions. Remember that 'resiliency' in the context of a single instance often means rapid detection and restart, not just data backup.
Frequently Asked Questions
Why can't I use Multi-AZ for a single EC2 instance?
Does RAID protect against EC2 instance failure?
Community Votes
79% of anonymous learners picked answer C. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 9 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 9
-
[Removed] 👍 15 Answered CA. Enable termination protection for the EC2 instance. No. Termination protection is about avoid accidentally delete the instance B. Configure the EC2 instance for Multi-AZ deployment. No. Question says "cannot run on more than one instance" C. Create an Amazon CloudWatch alarm to recover the EC2 instance in case of failure. Yes. CloudWatch can be used to recover the instance: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/UsingAlarmActions.html#AddingRecoverActions D. Launch the EC2 instance with two Amazon Elastic Block Store (Amazon EBS) volumes that use RAID configurations for storage redundancy. No. Raid could be helpful to increase resilience, but does not help with "improve the recovery time"
-
osmk 👍 6 Answered Dhttps://docs.aws.amazon.com/AWSEC2/latest/UserGuide/raid-config.html
-
mohammadthainat 👍 5 Answered CQuestion about """improve the recovery time for the system""" RAID improves data resilience, but won't recover the instance if the system itself fails. it's 100% C
-
dkw2342 👍 3Pretty sure option D is NOT correct. > RAID 5 and RAID 6 are not recommended for Amazon EBS (...). > RAID 1 is also not recommended for use with Amazon EBS. https://docs.aws.amazon.com/ebs/latest/userguide/raid-config.html#raid-config-options
-
stephensimudemy 👍 2 Answered CCan only run 1 instance. improve recovery time.
Show 4 more comments
-
haci 👍 1For those who choose C, the question asks that "must design a resilient solution".. C may improve recovery time but it has nothing to do with resiliency.
-
buzzinmumbai 👍 1Option should be B .They are not asking about storage anywhere. In muti-AZ you application runs on the primary and the secondary is kept in sync.
-
stephensimudemy 👍 1Option B. Question never ask anything about storage.
-
Andy_09 👍 8Option C
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All SAA-C03 Questions
Access 120 questions with complete answers and detailed explanations.
View Full SAA-C03 Practice Test →