XK0-006 System Management Practice Question
A Linux administrator is troubleshooting a system that fails to mount the root filesystem during boot, dropping to an emergency shell. The administrator suspects that a recently added entry in /etc/fstab is incorrect. Which of the following commands should be used to verify the syntax and mountability of all entries in /etc/fstab without actually mounting them?
⚠ Common exam trap
Watch out — candidates often confuse mount -a with a verification tool; mount -a actually mounts filesystems and can cause the same failure, while findmnt --verify safely checks without mounting.
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
✓
findmnt --verify
The findmnt --verify command is designed to validate the syntax and mountability of entries in /etc/fstab and related files without mounting them. It checks for common errors such as invalid device names, duplicate mount points, and unsupported options. This allows the administrator to identify problematic entries before attempting a reboot, avoiding a boot failure. Other commands either mount the filesystems or perform unrelated checks.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
fsck -A
Why it's wrong here
fsck -A checks all filesystems in /etc/fstab sequentially, but it is used for filesystem consistency checking, not for verifying fstab syntax or mountability. It can be destructive if run on mounted filesystems and does not test whether the entries can be mounted. This command is inappropriate for validating fstab entries.
- ✓
findmnt --verify
Why this is correct
The findmnt --verify command checks the syntax of /etc/fstab and other mount configuration files, and verifies that the entries are valid and can be mounted, without actually mounting them. It reports errors and warnings, making it ideal for troubleshooting a suspected incorrect fstab entry that prevents boot.
- ✗
mount -a
Why it's wrong here
The mount -a command attempts to mount all filesystems listed in /etc/fstab that are not already mounted. It will actually try to mount the filesystems, which could cause errors or hang if an entry is invalid. It does not just verify syntax; it performs the mount, which is not what the administrator wants in this troubleshooting scenario.
- ✗
blkid
Why it's wrong here
blkid lists block device attributes such as UUID and LABEL, which can help identify devices for fstab entries. However, it does not verify the syntax or mountability of fstab entries. It only provides information about available block devices, so it cannot confirm whether the fstab entries are correct.
Go deeper
Related to this question
Learn chapter
Advanced Shell Scripting and Automation
Key term
Mount
Mounting is the process of making a file system or storage device accessible to a computer's operating system by attaching it to a specific directory in the existing directory tree.
Key term
fstab
fstab is a system configuration file in Linux that defines how and where storage devices and partitions are mounted at boot time.
About these practice questions
Courseiva writes every XK0-006 question from scratch — 781 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official CompTIA exam blueprint
This XK0-006 practice question is part of Courseiva's free CompTIA 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 XK0-006 exam.