Courseiva
TroubleshootingeasyMultiple ChoiceObjective-mapped

CV0-004 Troubleshooting Practice Question

Exhibit

Refer to the exhibit.

Filesystem      Size  Used Avail Use% Mounted on
/dev/xvda1      20G   19G  1.0G  95% /
tmpfs           1.9G   0   1.9G   0% /dev/shm

Application error: 'No space left on device' when writing to /var/log/app.log.

The exhibit shows the output of the df command and an application error. What is the most likely cause of the error?

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 /var partition is full.

The df output shows the /var partition is at 100% utilization, and the application error indicates it cannot write to disk, likely due to the /var partition being full. Option A is incorrect because /dev/shm is a tmpfs and not relevant to application writing to /var/log. Option C is incorrect because there is no evidence of filesystem corruption. Option D is incorrect because the root filesystem still has space; the error indicates a space issue, not inode exhaustion.

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 /dev/shm partition is full.

    Why it's wrong here

    The /dev/shm partition is shown as 0% used.

  • The /var partition is full.

    Why this is correct

    The root partition is at 95% usage, and since /var is under /, it is likely full.

  • The filesystem is corrupt.

    Why it's wrong here

    Filesystem corruption would typically show different symptoms.

  • The inode usage on the root filesystem is exhausted.

    Why it's wrong here

    While possible, df output shows space usage, and the more likely cause based on the data is space exhaustion.

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.