DOP-C02 Incident and Event Response Practice Question
A company's production EC2 instance running a web application becomes unresponsive. The operations team checks CloudWatch metrics and sees a CPU Utilization spike to 100% for the last 10 minutes. What is the MOST efficient first step to restore service?
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
✓
Reboot the EC2 instance from the AWS Management Console or CLI
Rebooting the EC2 instance is the most efficient first step to restore service when the instance is unresponsive due to a CPU spike. A reboot can quickly resolve transient software issues or resource exhaustion without data loss. Option A (checking CloudWatch Logs) delays recovery—investigation should come after restoration. Option B (creating an AMI and launching a new instance) is time-consuming and unnecessary for initial recovery. Option D (terminating and launching a new instance) risks data loss and is more drastic than rebooting.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Check the instance's system logs in CloudWatch Logs to identify the root cause
Why it's wrong here
While system logs can reveal underlying causes such as kernel panics or out-of-memory events, retrieving and analyzing them from CloudWatch Logs is a post-incident diagnostic step that extends downtime. The immediate priority is to restore service availability; root-cause analysis should follow after the instance is operational again, not before initiating recovery.
- ✗
Create an AMI of the instance and launch a new instance from that AMI
Why it's wrong here
Creating an AMI captures the current instance's configuration and data, but the process involves snapshotting EBS volumes and registering the image, which can take minutes and does nothing to fix the underlying issue on the existing instance. Launching a replacement from that AMI also incurs boot and initialization delays, so this approach is better suited for disaster recovery or scaling rather than rapid response to an unresponsive web application.
- ✓
Reboot the EC2 instance from the AWS Management Console or CLI
Why this is correct
A graceful reboot via the AWS Management Console or CLI sends an ACPI reboot signal to the guest OS, which restarts the operating system and all application processes while preserving the instance ID, private IP, EBS volumes, and attached Elastic IP. This is the fastest and least disruptive recovery action for transient conditions like memory leaks or a stuck process, and it typically resolves the issue within minutes without requiring reconfiguration.
- ✗
Terminate the instance and launch a new one from the latest AMI
Why it's wrong here
Terminating the instance issues a shutdown and then deletes the underlying compute resources; any instance-store data vanishes immediately, and EBS volumes are usually deleted because the DeleteOnTermination attribute defaults to true for root volumes. Launching a fresh instance from an AMI also changes the instance ID and private IP, which can break DNS records, application configs, and security group references, while the rebuild and warm-up time extends the outage. This is an irreversible, last-resort action after confirming the instance is irrecoverable, not the first step for a transient web server issue.
Visual reference
Go deeper
Related to this question
About these practice questions
This DOP-C02 question is part of Courseiva's 1,298-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This DOP-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 DOP-C02 exam.