Courseiva
hardMultiple ChoiceObjective-mapped

CV0-004 Practice Question: A cloud administrator receives an alert that a…

A cloud administrator receives an alert that a virtual machine has unexpectedly shut down. The administrator checks the hypervisor logs and finds an entry "Out of memory: killed process" in the VM's OS logs. Which of the following is the most likely cause?

⚠ Common exam trap

CompTIA Cloud+ often tests the distinction between guest OS-level memory exhaustion (e.g., memory leak) and hypervisor-level memory management (e.g., overcommitment or ballooning), leading candidates to incorrectly attribute the OOM killer message to hypervisor issues rather than the application inside the VM.

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 VM has a memory leak in its application.

The log entry 'Out of memory: killed process' indicates that the Linux kernel's Out-Of-Memory (OOM) killer terminated a process to free memory. This is typically triggered when the system runs out of available memory, often due to a memory leak in an application consuming memory over time without releasing it. While hypervisor-level issues can cause VM instability, the specific OOM killer message points to a guest OS-level memory exhaustion problem, making a memory leak the most likely cause.

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 hypervisor memory overcommitment is too high.

    Why it's wrong here

    Hypervisor overcommitment would cause the hypervisor to kill VMs, not a process inside a VM.

  • The VM has a memory leak in its application.

    Why this is correct

    A memory leak causes the VM's memory to be exhausted, triggering the OOM killer.

  • The VM's memory balloon driver is not installed.

    Why it's wrong here

    Missing balloon driver causes host OOM, not VM internal OOM.

  • The VM's swap space is insufficient.

    Why it's wrong here

    Insufficient swap can contribute but is not the primary cause; a memory leak is more specific.

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 →

How Courseiva writes practice questions · Editorial policy

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.