Question 249 of 510
TroubleshootingmediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is the root filesystem, specifically /dev/sda1 mounted on /. When the root filesystem reaches 100% capacity, services cannot write log files because critical directories like /var/log reside under the root partition unless /var is mounted separately. Log writes fail because there is zero free space for new file creation or appending, and the kernel’s filesystem operations halt when no inodes or blocks remain. On the CompTIA Linux+ XK0-005 exam, this scenario tests your ability to interpret df -h output and identify that a full root partition—not a separate /var or /home—is the culprit. A common trap is assuming a separate /var mount would be the issue, but the exhibit shows /dev/sda1 at 100% usage with no independent /var partition. Memory tip: “Root full? Logs null.” If the root filesystem is maxed out, any service trying to write to /var/log will fail, so always check the mount point for / first.

XK0-005 Troubleshooting Practice Question

This XK0-005 practice question tests your understanding of troubleshooting. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

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?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "most likely"

    Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

Question 1mediummultiple choice
Full question →

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

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 100% usage. Since log files are typically written under /var/log, which resides on the root partition unless /var is a separate mount point, a full root filesystem prevents services from writing log files. The correct answer is D because the root filesystem is full, causing the write failures.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

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.

    Clue confirmation

    The clue word "most likely" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

Common exam traps

Common exam trap: answer the scenario, not the keyword

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.

Trap categories for this question

  • Command / output trap

    Not shown and not directly related to log writes.

Detailed technical explanation

How to think about this question

In Linux, log files are typically written to /var/log, which is part of the root filesystem unless /var is mounted as a separate partition. When the root filesystem reaches 100% capacity, the kernel returns ENOSPC errors to any write operation, including syslog, rsyslog, or systemd-journald. The 'df -h' command shows usage per mount point, and a full root partition (/) is a common cause of service failures due to log write errors.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A practitioner preparing for the XK0-005 exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related XK0-005 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free XK0-005 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this XK0-005 question test?

Troubleshooting — This question tests Troubleshooting — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

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

What should I do if I get this XK0-005 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Are there clue words in this question I should notice?

Yes — watch for: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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