SAP-C02 Design for New Solutions Practice Question
Network Topology
A developer ran the AWS CLI command shown in the exhibit. The instance has an attached EBS volume with 'DeleteOnTermination' set to false. The instance will be started again soon. What will happen to the EBS volume when the instance is stopped?
⚠ Common exam trap
It's easy for candidates to confuse the 'stop' and 'terminate' actions, incorrectly assuming that 'DeleteOnTermination' applies to both, when in fact it only applies to termination.
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
✓
The EBS volume remains attached to the instance and the data persists.
Stopping an EC2 instance does not affect the attached EBS volumes; they remain attached and their data persists. The 'DeleteOnTermination' attribute only controls behavior when the instance is terminated, not stopped. Since the instance will be started again soon, the volume stays attached with its data intact.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The EBS volume is detached but the data is preserved.
Why it's wrong here
Stopping an EBS-backed instance detaches the volume from the host but retains it, and the data persists; the volume reattaches on start. DeleteOnTermination governs deletion only at instance termination, not at stop. This option is tempting because stop does release the volume from the running instance, but the data is not lost.
- ✗
The EBS volume is deleted.
Why it's wrong here
DeleteOnTermination applies only when the instance is terminated, not when it is stopped. Stopping preserves the volume and its data, so nothing is deleted. This option is tempting because the flag's name suggests deletion, but it has no effect on a stop operation; the volume survives and reattaches on start.
- ✗
The EBS volume is deleted because the instance is stopped.
Why it's wrong here
Stopping an instance never deletes attached EBS volumes; deletion occurs only at termination, and DeleteOnTermination is set to false here, so the volume persists regardless. This option is tempting because stop and terminate are easily confused, but stop merely releases the volume from the host while preserving its data.
- ✓
The EBS volume remains attached to the instance and the data persists.
Why this is correct
Stopping an EBS-backed instance detaches nothing: the volume stays attached and its data persists. DeleteOnTermination only governs deletion when the instance terminates, so setting it false is irrelevant to a stop/start cycle. The volume simply reattaches on next start.
Go deeper
Related to this question
About these practice questions
This SAP-C02 question is part of Courseiva's 984-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 SAP-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 SAP-C02 exam.