Courseiva
Block Devices, Filesystems and Advanced StoragemediumMultiple ChoiceObjective-mapped

LPIC-2 Practice Question: Block Devices, Filesystems and Advanced Storage

Exhibit

# blkid
/dev/sda1: UUID="abcd-1234" TYPE="ext4"
/dev/sda2: UUID="efgh-5678" TYPE="swap"
/dev/sdb1: UUID="ijkl-9012" TYPE="ext4" PARTUUID="12345678-01"

Refer to the exhibit. The administrator wants to mount /dev/sdb1 at /data using its UUID. Which /etc/fstab entry is correct?

⚠ Common exam trap

Test-takers frequently confuse UUID (filesystem identifier) with PARTUUID (partition identifier) or mistakenly use the wrong UUID value from the exhibit, leading them to select an option with an incorrect or mismatched identifier.

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

UUID=ijkl-9012 /data ext4 defaults 0 0

The administrator wants to mount /dev/sdb1 using its UUID, and the exhibit (not shown) indicates that the UUID of /dev/sdb1 is 'ijkl-9012'. The correct /etc/fstab syntax uses the 'UUID=' prefix followed by the actual UUID value, the mount point, filesystem type, options, dump, and pass fields. This ensures the filesystem is identified by its universally unique identifier, which remains stable even if the device name changes.

Answer analysis

Option-by-option breakdown

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

  • /dev/sdb1 /data ext4 defaults 0 0

    Why it's wrong here

    This uses the device name, not the UUID as requested.

  • PARTUUID=ijkl-9012 /data ext4 defaults 0 0

    Why it's wrong here

    PARTUUID should be used with PARTUUID=, and ijkl-9012 is not a PARTUUID.

  • UUID=12345678-01 /data ext4 defaults 0 0

    Why it's wrong here

    12345678-01 is the PARTUUID, not the filesystem UUID.

  • UUID=ijkl-9012 /data ext4 defaults 0 0

    Why this is correct

    This entry uses the correct filesystem UUID from blkid.

About these practice questions

Courseiva writes every LPIC-2 question from scratch — 507 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-2 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-2 exam.