Courseiva
mediumMultiple ChoiceObjective-mapped

XK0-006 Practice Question: Refer to the exhibit

Exhibit

Refer to the exhibit.

Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       20G   19G  1.0G  95% /
/dev/sda2       50G   30G   20G  60% /var
/dev/sda3       30G   10G   20G  33% /home

Refer to the exhibit. An administrator is troubleshooting an issue where services cannot write log files. Based on the output, which filesystem is most likely the cause?

⚠ Common exam trap

CompTIA often tests the misconception that log files always reside on a separate /var partition, but in many default configurations, /var is part of the root filesystem, so a full root partition directly impacts log writes.

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

/dev/sda1 (/)

The output shows that the root filesystem /dev/sda1 mounted on / is at 95% usage. Since log files are typically written under /var/log, which resides on the root partition unless /var is a separate mount point, a nearly full root filesystem prevents services from writing log files. The correct answer is D because the root filesystem is nearly full, causing the write failures.

Answer analysis

Option-by-option breakdown

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

  • /dev/sda3 (/home)

    Why it's wrong here

    Has plenty of space.

  • Swap partition

    Why it's wrong here

    Not shown and not directly related to log writes.

  • /dev/sda2 (/var)

    Why it's wrong here

    Still has free space.

  • /dev/sda1 (/)

    Why this is correct

    Root at 95% is nearly full.

About these practice questions

One of 979 original XK0-006 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 by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This XK0-006 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 XK0-006 exam.