Courseiva
Essential CommandsmediumDrag & DropObjective-mapped

LFCS Essential Commands Practice Question

Order the steps to mount an ext4 filesystem from an external USB drive automatically at boot.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

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

Identify the UUID using blkid, create the mount point directory, add an entry to /etc/fstab using the UUID with options defaults and dump/pass values, then run mount -a to test.

Using UUID in fstab ensures persistent mounting; testing with mount -a verifies no errors.

Answer analysis

Option-by-option breakdown

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

  • Identify the UUID using blkid, create the mount point directory, add an entry to /etc/fstab using the UUID with options defaults and dump/pass values, then run mount -a to test.

    Why this is correct

    This is correct because using a UUID ensures the drive is mounted persistently regardless of device name changes, and testing with mount -a verifies the configuration before a reboot.

  • Plug in the USB drive, create the mount point, add an entry to /etc/fstab using the device name (e.g., /dev/sdb1), then reboot without testing.

    Why it's wrong here

    This is incorrect because using a device name like /dev/sdb1 is not persistent; the drive may get a different name on reboot, causing mount failure. Also, rebooting without testing risks a boot hang if the fstab entry is invalid.

  • Run mount -a first, then edit /etc/fstab to add the entry using UUID, and finally create the mount point.

    Why it's wrong here

    This is incorrect because mount -a will fail if no mount point exists or the fstab entry is missing. The correct order requires creating the mount point and editing fstab before testing.

  • Add an entry to /etc/fstab using the device name, manually mount with mount command, then create the mount point after mounting.

    Why it's wrong here

    This is incorrect because the mount point must exist before mounting. Also, using a device name makes the mount non-persistent, and creating the mount point after mounting is logically impossible.

About these practice questions

This LFCS question is part of Courseiva's 507-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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 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.