Question 620
A new RHEL 10 disk /dev/vdb is being provisioned. The immediate requirement is to inspect the current disk partition table; assume any necessary prerequisite table already exists. Which command fits?
Explanation
Correct Answer
parted print displays the existing partition layout and table details without modifying it. It matches this partitioning step. This matches the stated requirement to inspect the current disk partition table; assume any necessary prerequisite table already exists. By contrast, the plausible alternative `partprobe /dev/vdb` has the effect: partprobe informs the kernel of partition table changes after on-disk partition edits. It performs a different inspection or modification of disk metadata; that operation would not achieve the requested result.
Incorrect Answers
mklabel gpt initializes the device partition table; it does not build a file system. It performs a different inspection or modification of disk metadata. The stated task is to inspect the current disk partition table; assume any necessary prerequisite table already exists. Instead, `parted -s /dev/vdb print` is the relevant alternative because parted print displays the existing partition layout and table details without modifying it. It matches this partitioning step.
mkpart defines partition boundaries in the existing GPT without formatting the partition. It performs a different inspection or modification of disk metadata. The stated task is to inspect the current disk partition table; assume any necessary prerequisite table already exists. Instead, `parted -s /dev/vdb print` is the relevant alternative because parted print displays the existing partition layout and table details without modifying it. It matches this partitioning step.
partprobe informs the kernel of partition table changes after on-disk partition edits. It performs a different inspection or modification of disk metadata. The stated task is to inspect the current disk partition table; assume any necessary prerequisite table already exists. Instead, `parted -s /dev/vdb print` is the relevant alternative because parted print displays the existing partition layout and table details without modifying it. It matches this partitioning step.






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