Courseiva

EX200 Create and configure file systems Practice Question

Exhibit

Refer to the exhibit.

Contents of /etc/fstab:

# /etc/fstab
# Created by anaconda on Tue Feb 13 10:30:06 2024
#
UUID=12345678-1234-1234-1234-123456789abc /                       ext4    defaults        1 1
UUID=deadbeef-cafe-babe-0000-000000000000 none                    swap    defaults        0 0
UUID=abcdef01-2345-6789-abcd-ef0123456789 /boot                   ext4    defaults        1 2
/dev/mapper/vg00-home /home                   ext4    defaults        1 2

Based on the exhibit, which device is used for swap?

⚠ Common exam trap

Red Hat often tests the distinction between device names (like /dev/sda2) and UUIDs, and candidates may mistakenly choose a device name or a UUID from a non-swap filesystem because they overlook the 'swap' keyword in the fstab options column.

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

✓

The UUID deadbeef-cafe-babe-0000-000000000000

The exhibit shows a swap partition with the UUID deadbeef-cafe-babe-0000-000000000000. In Red Hat Enterprise Linux, swap devices are identified by their UUID in /etc/fstab, and the 'sw' or 'swap' keyword in the mount options column confirms this. The other UUIDs correspond to non-swap filesystems or are not present in the exhibit.

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/mapper/vg00-home

    Why it's wrong here

    /dev/mapper/vg00-home is a logical volume that is mounted as the /home filesystem, not as swap. In /etc/fstab, this device path would have a mount point of /home and a filesystem type such as ext4 or xfs, whereas the swap entry in the exhibit uses a UUID and has no mount point. The exhibit's swap line specifies a UUID (deadbeef-cafe-babe-0000-000000000000), not this LVM logical volume, so /dev/mapper/vg00-home cannot be the swap device.

  • ✗

    /dev/sda2

    Why it's wrong here

    /dev/sda2 is a raw disk partition, but the exhibit's fstab excerpt does not list it as a swap device. Even if /dev/sda2 physically exists, fstab identifies swap by a UUID in the device field, and the exhibit shows that the swap entry uses a UUID rather than a device path. Without an fstab entry containing 'swap' in the options column or an active swapon reference, /dev/sda2 is not the device used for swap.

  • ✓

    The UUID deadbeef-cafe-babe-0000-000000000000

    Why this is correct

    The UUID deadbeef-cafe-babe-0000-000000000000 is the correct answer because the exhibit's fstab excerpt shows this exact UUID in the line that contains the 'swap' keyword in the options field. This UUID is the device identifier that the system uses to find and activate swap space at boot time, either via swapon or through systemd's fstab generator. In modern Linux, swap devices are reliably referenced by UUID to avoid ambiguity if disk device names change.

  • ✗

    The UUID abcdef01-2345-6789-abcd-ef0123456789

    Why it's wrong here

    The UUID abcdef01-2345-6789-abcd-ef0123456789 corresponds to the /boot partition, not swap. In the exhibit, this UUID appears in an fstab entry whose mount point is /boot, which holds bootloader files and kernel images. Swap space has no mount point, and the exhibit clearly shows a different UUID (deadbeef-cafe-babe-0000-000000000000) associated with the swap entry, making this UUID an incorrect choice for the swap device.

  • ✗

    The UUID 12345678-1234-1234-1234-123456789abc

    Why it's wrong here

    The UUID 12345678-1234-1234-1234-123456789abc is the identifier for the root filesystem mounted at /. While root is essential for the system, it is a mounted filesystem containing the operating system, not the swap area. The exhibit's fstab shows this UUID paired with the '/' mount point, and the swap entry is a separate line with a distinct UUID (deadbeef-cafe-babe-0000-000000000000). Therefore, this UUID cannot be the swap device.

About these practice questions

Courseiva writes every EX200 question from scratch — 427 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 EX200 practice question is part of Courseiva's free Red Hat 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 EX200 exam.