LFCS Storage Management Practice Question
Which TWO commands can display disk space usage of mounted filesystems? (Choose two.)
⚠ Common exam trap
A common mix-up: candidates confuse `du` with `df` or think `lsblk` shows disk usage, but `lsblk` only displays block device attributes and mount points, not space consumption, while `du` can show usage on mounted filesystems when used correctly.
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
✓
du
The `du` command (disk usage) can display disk space usage of mounted filesystems by summarizing the space used by files and directories, typically with the `-h` option for human-readable output. While `du` is primarily used for per-directory usage, it can be used to check usage on mounted filesystems when run from their mount points. The `df` command (disk free) is the standard tool for displaying disk space usage of mounted filesystems, showing total, used, and available space for each mounted partition.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
parted
Why it's wrong here
parted is for partition manipulation.
- ✓
du
Why this is correct
du displays disk usage of files/directories.
- ✗
fdisk
Why it's wrong here
fdisk is for partition table management.
- ✓
df
Why this is correct
df displays filesystem disk space usage.
- ✗
lsblk
Why it's wrong here
lsblk lists block devices but not usage.
Go deeper
Related to this question
About these practice questions
This LFCS question is part of Courseiva's 507-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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 LFCS practice question is part of Courseiva's free Linux Foundation 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 LFCS exam.