LPIC-1 System Architecture Practice Question
Which TWO commands can display the UUID of block devices?
⚠ Common exam trap
Candidates often confuse commands that display partition table information (like `fdisk` and `parted`) with commands that display filesystem metadata (like `blkid` and `lsblk -f`), leading them to select options that show partition layout but not UUIDs.
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
The `blkid` command directly queries the libblkid library to locate and display block device attributes, including the UUID, from the device's superblock. `lsblk -f` lists block devices and their filesystem information, which includes the UUID, by reading sysfs and udev databases. Both commands reliably output the UUID for block devices.
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 this is correct
blkid displays block device attributes including UUID.
- ✓
lsblk -f
Why this is correct
lsblk -f shows filesystem info including UUID.
- ✗
df -T
Why it's wrong here
df -T shows filesystem type and usage, not UUID.
- ✗
fdisk -l
Why it's wrong here
fdisk -l shows partition table but not UUID.
- ✗
parted /dev/sda print
Why it's wrong here
parted shows partition table, not filesystem UUID.
Go deeper
Related to this question
About these practice questions
This LPIC-1 question is part of Courseiva's 527-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 LPIC-1 practice question is part of Courseiva's free LPI 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 LPIC-1 exam.