LFCS Storage Management Practice Question
Which command can be used to display the UUID of a filesystem on /dev/sdb1?
⚠ Common exam trap
Many exam-takers assume tune2fs -l is the universal UUID display tool, but it only works on ext2/3/4 filesystems, whereas blkid works across all Linux filesystem types and is the standard command for this task.
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
✓
blkid /dev/sdb1
The blkid command is specifically designed to locate and print block device attributes, including the UUID and filesystem type. When run against a device like /dev/sdb1, it queries the kernel's device mapper and reads the filesystem superblock to extract the universally unique identifier (UUID). This is the most direct and reliable method for displaying a filesystem's UUID.
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 /dev/sdb1
Why this is correct
blkid displays UUID and filesystem type.
- ✗
tune2fs -l /dev/sdb1
Why it's wrong here
tune2fs works only on ext filesystems and requires root.
- ✗
df -h /dev/sdb1
Why it's wrong here
df shows disk usage, not UUID.
- ✗
lsblk /dev/sdb1
Why it's wrong here
lsblk shows block device info but not UUID by default.
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.