hardMultiple ChoiceObjective-mapped
XK0-006 Practice Question: An administrator runs 'mount -a' and receives the…
Exhibit
Refer to the exhibit. # cat /etc/fstab UUID=abc123 / ext4 defaults 0 1 UUID=def456 /boot ext4 defaults 0 2 UUID=ghi789 /home ext4 defaults 0 2 UUID=jkl012 swap swap defaults 0 0 # mount -a mount: /home: special device UUID=ghi789 does not exist.
An administrator runs 'mount -a' and receives the error shown in the exhibit. The /home partition was recently removed and replaced with a new disk. Which of the following steps should the administrator take to resolve the issue?
⚠ Common exam trap
Test-takers frequently assume the filesystem is damaged or needs reformatting (options B or C), when in fact the error stems from a stale UUID reference in /etc/fstab after disk replacement.
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
✓
Run 'blkid /dev/sda3' to find the new UUID and update /etc/fstab.
The error occurs because the /home partition was replaced with a new disk, so its UUID (or device identifier) in /etc/fstab no longer matches the actual disk. Running 'blkid /dev/sda3' retrieves the new UUID, which must then be updated in /etc/fstab so that 'mount -a' can mount the correct device automatically.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Run 'mount /dev/sda3 /home' to mount the partition manually.
Why it's wrong here
This works temporarily but does not fix the fstab entry for persistent mounting.
- ✗
Run 'fsck /dev/sda3' to check the filesystem.
Why it's wrong here
fsck checks filesystem integrity, not UUID mismatches.
- ✗
Run 'mkfs.ext4 /dev/sda3' to create a new filesystem.
Why it's wrong here
This would format the disk, which is destructive and unnecessary.
- ✓
Run 'blkid /dev/sda3' to find the new UUID and update /etc/fstab.
Why this is correct
blkid shows the new UUID, which can be used to replace the old UUID in fstab.
Visual reference
Go deeper
Related to this question
Learn chapter
Networking Fundamentals and Configuration
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 — 979 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 by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.