Question 650
During a RHEL 10 storage maintenance task involving /dev/vdb3, the operator must disable an activated swap device. Which command or fstab line is appropriate?
Explanation
Correct Answer
swapoff deactivates swap so it is no longer available for paging This is the required step. This matches the stated requirement to disable an activated swap device. By contrast, the plausible alternative `swapon --show` has the effect: swapon --show lists the currently activated swap devices or files It affects another stage of the swap lifecycle; that operation would not achieve the requested result.
Incorrect Answers
swapon --show lists the currently activated swap devices or files It affects another stage of the swap lifecycle. The stated task is to disable an activated swap device. Instead, `swapoff /dev/vdb3` is the relevant alternative because swapoff deactivates swap so it is no longer available for paging This is the required step.
An fstab line with type swap configures activation of the area during boot It affects another stage of the swap lifecycle. The stated task is to disable an activated swap device. Instead, `swapoff /dev/vdb3` is the relevant alternative because swapoff deactivates swap so it is no longer available for paging This is the required step.
mkswap writes swap-space metadata on an intended swap device It affects another stage of the swap lifecycle. The stated task is to disable an activated swap device. Instead, `swapoff /dev/vdb3` is the relevant alternative because swapoff deactivates swap so it is no longer available for paging This is the required step.






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