CV0-004 Troubleshooting Practice Question
Network Topology
A cloud administrator is troubleshooting why a newly launched VM did not complete its initialization. According to the exhibit, what is the most likely cause?
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 package repository is not configured correctly
The error 'E: Unable to locate package python3-pip' indicates that the package repository is not configured correctly or the package does not exist in the configured sources. This prevents cloud-init from installing the specified package, so the most likely cause is an incorrect repository configuration. Therefore, option B is correct. Option A is incorrect because cloud-init is executing commands, showing it is installed. Option C is incorrect because the error is about a missing package, not a syntax error. Option D is incorrect because the command ran successfully, indicating no network issues; the problem is repository configuration.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Cloud-init is not installed on the VM
Why it's wrong here
Cloud-init ships in most cloud images and its absence would not explain the exhibit's specific failure. It is tempting because a missing cloud-init package does prevent user-data execution entirely, which is the correct diagnosis only when the image genuinely lacks the agent and no initialisation logs exist.
- ✓
The package repository is not configured correctly
Why this is correct
A misconfigured package repository prevents the cloud-init script from installing required packages, so initialisation halts before completion. This directly satisfies the stem's constraint: the VM launched but never finished bootstrapping, indicating a dependency fetch failure rather than a provisioning or networking fault.
- ✗
The cloud-init user data script contains a syntax error
Why it's wrong here
A syntax error would still produce cloud-init log entries showing the script starting and failing, whereas the exhibit indicates initialisation never ran. It is tempting because malformed user data is a common cause of failed bootstrapping, and it would be correct if logs showed execution beginning then erroring.
- ✗
The VM does not have internet access
Why it's wrong here
Internet access is not required for cloud-init to fetch and run user data, since metadata is served from the local link-local endpoint. It is tempting because missing internet access does break package installs and API calls inside scripts, but that would surface as script errors, not absent initialisation.
Go deeper
Related to this question
About these practice questions
One of 834 original CV0-004 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 →
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.