LFCS Storage Management Practice Question
An administrator needs to check the UUID of a filesystem on /dev/sdb1. Which command should be used?
⚠ Common exam trap
A common mix-up: candidates confuse `blkid` with `fdisk -l` or `df -h`, assuming those commands also display filesystem UUIDs, but only `blkid` (or `lsblk -f`) directly queries the superblock for this attribute.
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 display block device attributes, including the UUID and filesystem type. Running `blkid /dev/sdb1` queries the device's superblock and outputs its UUID, making it the correct tool for this task.
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 /dev/sdb1
Why it's wrong here
df shows space usage for mounted filesystems.
- ✗
mount | grep sdb1
Why it's wrong here
mount shows mount points and options, not UUID.
- ✓
blkid /dev/sdb1
Why this is correct
blkid displays UUID, type, and LABEL of filesystems.
- ✗
fdisk -l /dev/sdb1
Why it's wrong here
fdisk -l shows partition table, not filesystem 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.