LFCS Storage Management Practice Question
Which command displays the UUID of all filesystems on the system?
⚠ Common exam trap
It's easy for candidates to confuse `blkid` with `lsblk -f`, but `blkid` may not list all block devices (e.g., it skips devices without a recognized signature), while `lsblk -f` reliably shows all block devices and their filesystem attributes.
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
✓
lsblk -f
The `lsblk -f` command lists all block devices and includes the filesystem type and UUID for each filesystem, making it the correct choice for displaying UUIDs of all filesystems on the system. The `-f` option specifically adds filesystem information, including UUIDs, to the output.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
blkid
Why it's wrong here
blkid also shows UUIDs, but the correct answer here is lsblk -f.
- ✗
df -h
Why it's wrong here
df shows disk usage, not UUID.
- ✗
fdisk -l
Why it's wrong here
fdisk shows partition information, not filesystem UUID.
- ✓
lsblk -f
Why this is correct
lsblk -f displays filesystem type and UUID.
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.