The correct answer is that the filesystem is full and has become corrupted. The combination of an Input/output error when accessing /data and the kernel message “Structure needs cleaning” from dmesg is the definitive signature of identifying filesystem corruption on /dev/sdb1, not a permission or mount problem. On the CompTIA Linux+ XK0-005 exam, this scenario tests your ability to distinguish between a full filesystem that has degraded into corruption versus a simple out-of-space condition—a common trap where candidates assume a full disk just needs cleanup, ignoring the structural damage. The key clue is that the mount appears normal but reads and writes fail with I/O errors, which points to underlying filesystem metadata corruption rather than a full inode table. Memory tip: “Full and foul” — a full filesystem can become foul (corrupted) when writes fail mid-operation, so always check dmesg for “Structure needs cleaning” alongside I/O errors.
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.
# mount | grep /data
/dev/sdb1 on /data type ext4 (rw,relatime,errors=remount-ro)
# df -h /data
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 9.8G 9.5G 0 100% /data
# ls -la /data | head
ls: reading directory /data: Input/output error
A user reports that the /data directory is inaccessible. The Linux administrator runs the commands shown in the exhibit. Which of the following is the most likely cause of the issue?
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.
Refer to the exhibit.
# mount | grep /data
/dev/sdb1 on /data type ext4 (rw,relatime,errors=remount-ro)
# df -h /data
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 9.8G 9.5G 0 100% /data
# ls -la /data | head
ls: reading directory /data: Input/output error
A
The user does not have read permissions on /data.
Why wrong: The error is 'Input/output error', not permission denied.
B
The filesystem is full and has become corrupted.
100% usage can lead to corruption; the I/O error indicates filesystem issues.
C
The device /dev/sdb1 is not present.
Why wrong: The mount output shows /dev/sdb1 is mounted on /data.
D
The filesystem is mounted as read-only.
Why wrong: The mount output shows 'rw', so it is not read-only.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The filesystem is full and has become corrupted.
The 'Input/output error' when accessing /data, combined with the 'Structure needs cleaning' message from dmesg, indicates filesystem corruption on /dev/sdb1. This is a classic symptom of a full filesystem that has become corrupted, not a simple permission or mount issue. The administrator's inability to read or write to the directory, despite the mount appearing normal, points to underlying filesystem damage.
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.
✗
The user does not have read permissions on /data.
Why it's wrong here
The error is 'Input/output error', not permission denied.
✓
The filesystem is full and has become corrupted.
Why this is correct
100% usage can lead to corruption; the I/O error indicates filesystem issues.
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.
✗
The device /dev/sdb1 is not present.
Why it's wrong here
The mount output shows /dev/sdb1 is mounted on /data.
✗
The filesystem is mounted as read-only.
Why it's wrong here
The mount output shows 'rw', so it is not read-only.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates see 'Input/output error' and assume a hardware failure or missing device, but the combination of the mount showing the device as present and the dmesg message pointing to filesystem corruption is the key diagnostic clue.
Trap categories for this question
Command / output trap
The error is 'Input/output error', not permission denied.
Detailed technical explanation
How to think about this question
Filesystem corruption often occurs when a filesystem runs out of space and the journal or metadata becomes inconsistent. The 'Structure needs cleaning' message is generated by the kernel's filesystem driver (e.g., ext4) when it detects inconsistencies during a read/write operation. Running 'fsck' (filesystem check) on the unmounted device is the standard recovery procedure, as it repairs the filesystem structure by replaying the journal or fixing inode and block allocation 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.
Related glossary terms
Concepts from this question explained
These glossary pages explain the core terms tested in this XK0-005 question in full detail.
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: The filesystem is full and has become corrupted. — The 'Input/output error' when accessing /data, combined with the 'Structure needs cleaning' message from dmesg, indicates filesystem corruption on /dev/sdb1. This is a classic symptom of a full filesystem that has become corrupted, not a simple permission or mount issue. The administrator's inability to read or write to the directory, despite the mount appearing normal, points to underlying filesystem damage.
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 →
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.
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.
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.
Sign in to join the discussion.