Question 640
An administrator configures /data/vol020 on RHEL 10 (UUID 000000a9-5fc0-4a6a-9500-00000000033b; label VOL020). The goal is to read a file-system uuid from a known partition. Which entry or command is appropriate?
Explanation
Correct Answer
blkid -s UUID -o value queries an existing block device for its filesystem UUID without creating a partition. This matches the stated requirement to read a file-system uuid from a known partition. By contrast, the plausible alternative `UUID=000000a9-5fc0-4a6a-9500-00000000033b /data/vol020 xfs defaults 0 0` has the effect: The UUID entry identifies one specific file system at /data/vol020 independent of its changing /dev name. It does not provide the requested identification or mounting action; that operation would not achieve the requested result.
Incorrect Answers
The UUID entry identifies one specific file system at /data/vol020 independent of its changing /dev name. It does not provide the requested identification or mounting action.
A LABEL= entry resolves an ext4 file system by its recorded label and mounts it at /data/vol020 during boot. It does not provide the requested identification or mounting action.
mount -a attempts entries in /etc/fstab that are not already mounted, exposing configuration errors before reboot. It does not provide the requested identification or mounting action. The stated task is to read a file-system uuid from a known partition. Instead, `blkid -s UUID -o value /dev/vdc4` is the relevant alternative because blkid -s UUID -o value queries an existing block device for its filesystem UUID without creating a partition. A separate comparison is `UUID=000000a9-5fc0-4a6a-9500-00000000033b /data/vol020 xfs defaults 0 0`: The UUID entry identifies one specific file system at /data/vol020 independent of its changing /dev name. It does not provide the requested identification or mounting action.






Red Hat Certified System Administrator (RHCSA) (EX200) Practice Tests