Courseiva

SOA-C02 Monitoring, Logging, and Remediation Practice Question

A SysOps administrator notices that an EC2 instance's status check fails intermittently. The instance is part of an Auto Scaling group. What is the most efficient way to automatically recover the instance?

⚠ Common exam trap

Watch out — candidates often confuse instance recovery with Auto Scaling replacement, thinking termination and relaunch is the default or only option, but EC2 recovery is a separate, more efficient mechanism that preserves instance identity and is directly configurable via CloudWatch alarms.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Create a CloudWatch alarm on StatusCheckFailed and configure an EC2 recovery action.

Creating a CloudWatch alarm on the StatusCheckFailed metric and configuring an EC2 recovery action (using the 'recover' alarm action) automatically restarts the instance on a new underlying host if a system status check fails. This is the most efficient recovery method for an instance in an Auto Scaling group, as it preserves the instance ID, private IP, and Elastic IP, while Auto Scaling handles only instance replacement if the instance is terminated.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Increase the Auto Scaling group's cooldown period.

    Why it's wrong here

    Adjusting the Auto Scaling group's cooldown period only delays subsequent scaling activities after a previous scale action; it does not detect, diagnose, or repair a failed EC2 instance. The cooldown controls how long the ASG waits before another launch/termination, but it has no effect on a StatusCheckFailed alarm or the instance's underlying health. In fact, a longer cooldown could further postpone any necessary replacement, worsening downtime.

  • ✓

    Create a CloudWatch alarm on StatusCheckFailed and configure an EC2 recovery action.

    Why this is correct

    Create a CloudWatch alarm on the StatusCheckFailed metric and attach an EC2 recovery action. When the alarm enters the ALARM state, EC2 automatically stops and starts the instance to migrate it to a fresh physical host, preserving the instance ID, private IP, Elastic IP, and placement group membership. This is a proactive, automated recovery path specifically designed for failing system status checks.

  • ✗

    Terminate the instance and wait for Auto Scaling to launch a new one.

    Why it's wrong here

    Manually terminating the instance and waiting for Auto Scaling to replace it is reactive and can result in extended downtime, especially if the new instance must wait for the ASG's health check interval and instance launch process. Additionally, the replacement instance receives a different instance ID and likely a new private IP address (unless you use a secondary ENI), breaking any dependencies that reference the original instance's IP or instance ID. The EC2 recovery action is purpose-built to avoid these issues.

  • ✗

    Place the instance in a different Availability Zone.

    Why it's wrong here

    Simply placing the instance into a different Availability Zone is not an automated recovery measure; EC2 does not support moving an existing instance to another AZ without creating a custom AMI and launching a fresh instance. This manual process demands new instance bring-up, IP/network configuration, and user data handling, and it does not resolve the immediate status check failure. The task requires an automated solution, which the CloudWatch alarm-based recovery action provides.

About these practice questions

One of 1,169 original SOA-C02 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This SOA-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SOA-C02 exam.