hardMultiple ChoiceObjective-mapped
CV0-004 Practice Question: A cloud administrator is trying to attach an EBS…
Exhibit
Refer to the exhibit. ``` Error: Unable to attach volume 'vol-0abcd1234' to instance 'i-0efgh5678'. Reason: The volume is already attached to instance 'i-0123ijkl'. ```
A cloud administrator is trying to attach an EBS volume to an EC2 instance for a database migration. The attachment fails with the error shown in the exhibit. The volume contains critical data. Which of the following is the MOST appropriate action to take?
⚠ Common exam trap
CompTIA often tests the misconception that force-detach is the quickest fix, but the trap here is that force-detach can corrupt a database volume with critical data, whereas a proper detach is the safest and most appropriate action.
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
✓
Detach the volume from instance 'i-0123ijkl' first, then attach to the new instance.
The error indicates the EBS volume is already attached to another EC2 instance (i-0123ijkl). An EBS volume can only be attached to one instance at a time in a standard attachment. The correct procedure is to first detach the volume from instance i-0123ijkl, then attach it to the target instance. This preserves the critical data without risk of corruption or data loss.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Create a new volume and copy the data from the existing volume.
Why it's wrong here
This is inefficient and time-consuming; the existing volume can be reused.
- ✗
Terminate instance 'i-0123ijkl' to release the volume.
Why it's wrong here
Terminating the instance would stop other workloads and may cause data loss if the volume is not properly unmounted.
- ✗
Force-detach the volume from the other instance.
Why it's wrong here
Force-detaching may cause data corruption or file system damage.
- ✓
Detach the volume from instance 'i-0123ijkl' first, then attach to the new instance.
Why this is correct
Properly detaching ensures data integrity.
Go deeper
Related to this question
About these practice questions
Courseiva writes every CV0-004 question from scratch — 977 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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 CV0-004 practice question is part of Courseiva's free CompTIA 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 CV0-004 exam.