Courseiva
mediumMultiple ChoiceObjective-mapped

XK0-006 Practice Question: An administrator adds a new disk /dev/sdc1 and…

Exhibit

Refer to the exhibit.
```
$ cat /etc/fstab
UUID=abc123 / ext4 defaults 1 1
UUID=def456 /boot ext4 defaults 1 2
UUID=ghi789 none swap sw 0 0
/dev/sdb1 /data ext4 defaults 0 0
```

An administrator adds a new disk /dev/sdc1 and wants it mounted at /mnt/backup at every boot. Based on the exhibit, which line should be added to /etc/fstab?

⚠ Common exam trap

CompTIA Linux+ often tests the requirement to use UUIDs in /etc/fstab for persistent mounts, and the trap here is that candidates may incorrectly choose a device path option (like /dev/sdc1) or a wrong mount point, overlooking the need for exact directory matching and proper fsck values.

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=xyz789 /mnt/backup ext4 defaults 0 0

/etc/fstab entries should use UUIDs for persistent device identification, and the mount point must exactly match the intended directory /mnt/backup. The 'defaults' option and '0 0' (no dump, no fsck) are appropriate for a non-root filesystem that does not require boot-time checking.

Answer analysis

Option-by-option breakdown

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

  • UUID=xyz789 /backup ext4 defaults 0 0

    Why it's wrong here

    Wrong mount point.

  • UUID=xyz789 /mnt/backup ext4 nofail 0 0

    Why it's wrong here

    nofail is not necessary; defaults is fine.

  • /dev/sdc1 /mnt/backup ext4 defaults 0 2

    Why it's wrong here

    Uses device name and wrong pass value (should be 0 for non-root).

  • /dev/sdc1 /mnt/backup ext4 defaults 0 0

    Why it's wrong here

    Uses device name, not UUID, which is not consistent with the existing entries.

  • UUID=xyz789 /mnt/backup ext4 defaults 0 0

    Why this is correct

    Correct format with UUID.

About these practice questions

One of 979 original XK0-006 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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 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.