hardMultiple ChoiceObjective-mapped
XK0-006 Practice Question: A user on a shared system cannot create files…
A user on a shared system cannot create files larger than 1MB, even though the filesystem has ample free space. Which command should the administrator use to investigate?
⚠ Common exam trap
The trap here is that candidates see 'filesystem has ample free space' and immediately think of disk space commands like `df -h`, overlooking that user-level quotas can independently restrict file creation regardless of available free space.
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
✓
quota -u username
The `quota -u username` command displays the current disk quota limits and usage for a specific user. Since the user cannot create files larger than 1MB despite ample free space on the filesystem, the most likely cause is a per-user quota limit (soft or hard limit) restricting file size or total disk usage. This command directly checks whether quotas are enforced and what the limits are.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
df -h
Why it's wrong here
df shows filesystem free space, unrelated to per-user quotas.
- ✗
fdisk -l
Why it's wrong here
fdisk displays partition tables; not related to quotas.
- ✗
lsblk
Why it's wrong here
lsblk lists block devices; does not show quota information.
- ✓
quota -u username
Why this is correct
quota -u shows the user's disk quota limits and current usage.
Go deeper
Related to this question
About these practice questions
Courseiva writes every XK0-006 question from scratch — 979 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 →
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.