Courseiva
Devices, Filesystems and FHSmediumMultiple ChoiceObjective-mapped

LPIC-1 Devices, Filesystems and FHS Practice Question

Exhibit

Refer to the exhibit.

$ cat /etc/fstab
# /etc/fstab: static file system information.
UUID=abc123 / ext4 defaults 0 1
UUID=def456 /boot ext4 defaults 0 2
UUID=ghi789 none swap sw 0 0
/dev/sdb1 /mnt/data ext4 defaults 0 0
//192.168.1.100/share /mnt/nfs nfs defaults 0 0

Based on the /etc/fstab entry, which filesystem will be checked by fsck at boot time?

⚠ Common exam trap

Candidates often confuse the dump field (5th column) with the pass field (6th column). fsck at boot only uses the pass field; filesystems with pass=0 (like swap and /mnt/data) are not checked, regardless of the dump field. The order of checking is determined by the pass number (root typically 1, then others with higher numbers).

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

/ and /boot only

The /etc/fstab entry shows that only the root filesystem (/) and /boot have a non-zero value in the pass field (the sixth field). The fsck command at boot time checks filesystems with a pass number greater than 0, and the order is determined by the pass number (root typically 1, /boot 2). Since /mnt/data and swap have a pass value of 0, they are skipped.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • All filesystems except NFS

    Why it's wrong here

    Pass 0 means not checked.

  • /, /boot, and /mnt/data

    Why it's wrong here

    /mnt/data has pass 0.

  • /, /boot, and swap

    Why it's wrong here

    Swap is not checked.

  • / and /boot only

    Why this is correct

    Correct: pass numbers 1 and 2.

About these practice questions

Courseiva writes every LPIC-1 question from scratch — 527 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 →

How Courseiva writes practice questions · Editorial policy

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.