LFCS Storage Management Practice Question
A system administrator needs to identify all available block devices on a Linux server. Which two commands can be used to accomplish this? (Choose two.)
⚠ Common exam trap
Watch out — candidates often confuse `blkid` with `lsblk` because of similar names, but `blkid` only shows devices with filesystem metadata, not all block devices, making it incomplete 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
✓
lsblk
The `lsblk` command lists all available block devices (e.g., disks, partitions, LVM volumes) by reading the sysfs filesystem, providing a tree-like view of device hierarchy. The `fdisk -l` command displays the partition table for all block devices, showing detailed information about disk geometry and partitions. Both commands are standard tools for identifying block devices on a Linux system.
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
Shows only block devices with filesystem metadata.
- ✗
mount
Why it's wrong here
Only shows mounted filesystems.
- ✓
lsblk
Why this is correct
Lists all block devices.
- ✗
df -h
Why it's wrong here
Only shows mounted filesystems.
- ✓
fdisk -l
Why this is correct
Lists all partitions on disks.
Go deeper
Related to this question
About these practice questions
One of 507 original LFCS practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.