Courseiva
Troubleshooting →easyMultiple Choice

CV0-004 Troubleshooting Practice Question

A cloud administrator is troubleshooting a virtual machine (VM) in a public cloud that has become unresponsive. The administrator cannot SSH into the VM, and the cloud provider's console shows the VM is running. The administrator suspects the VM's OS has hung. Which action should the administrator take to regain access to the VM with minimal data loss?

⚠ Common exam trap

The trap here is assuming that because SSH fails, the VM must be terminated or the disk detached, when a simple reboot often resolves a hung OS without data loss.

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 VM from the cloud provider's console.

When a VM's OS is hung but the instance is still running, a reboot from the cloud console is the quickest way to restore access. It preserves the instance and its persistent storage, minimizing data loss and downtime compared to termination or disk detachment.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Delete the VM's network interface and recreate it.

    Why it's wrong here

    Network interface issues would not cause the OS to hang; they would typically result in connectivity loss but the OS would still respond via console. Recreating the NIC would not address an OS hang and could introduce further network misconfiguration. It is not the correct action for this scenario.

  • ✗

    Detach the VM's disk and attach it to another VM for repair.

    Why it's wrong here

    Attaching the disk to another VM allows offline repair, but it requires stopping the original VM and involves more steps. It is appropriate for filesystem corruption or boot issues, but for a hung OS, a reboot is faster and less complex. This method risks data consistency if not done carefully.

  • ✗

    Terminate the VM and create a new one from a snapshot.

    Why it's wrong here

    Terminating the VM would destroy the instance and any data on ephemeral storage. Creating a new VM from a snapshot may restore data but is more disruptive and time-consuming. It is not the first step for an unresponsive OS; a reboot is simpler and preserves the instance.

  • ✓

    Reboot the VM from the cloud provider's console.

    Why this is correct

    A soft reboot (if supported) or hard reboot from the console can restart the OS without losing the VM's persistent disk data. This is the least disruptive action to regain access when the OS is hung but the VM is still running. It avoids data loss on attached volumes.

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 →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official CompTIA exam blueprint

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.