Question 910
A RHEL 10 administrator prepares a kernel maintenance change on host boot-10. The requirement is to remove that kernel parameter from every boot entry. A review considers `grubby --update-kernel=ALL --args="audit=1"` as an alternative. Its relevant behavior is: grubby --update-kernel=ALL adds the given argument to all managed boot entries. That is a different result from the requested operation. Which listed command satisfies the original requirement without substituting this other behavior?
Explanation
Correct Answer
--remove-args removes the named kernel argument from the selected entries. This matches the stated requirement to remove that kernel parameter from every boot entry. By contrast, the plausible alternative `grubby --default-kernel` has the effect: grubby --default-kernel reports the currently selected default kernel pathname; that operation would not achieve the requested result. A separate comparison is `grubby --update-kernel=ALL --args="audit=1"`: grubby --update-kernel=ALL adds the given argument to all managed boot entries. The stated task is to remove that kernel parameter from every boot entry.
Incorrect Answers
grubby --default-kernel reports the currently selected default kernel pathname. The stated task is to remove that kernel parameter from every boot entry. Instead, `grubby --update-kernel=ALL --remove-args="audit=1"` is the relevant alternative because --remove-args removes the named kernel argument from the selected entries. A separate comparison is `grubby --update-kernel=ALL --args="audit=1"`: grubby --update-kernel=ALL adds the given argument to all managed boot entries. The stated task is to remove that kernel parameter from every boot entry. For the named operational target boot-10., this answer does not perform the requested action; `grubby --update-kernel=ALL --remove-args="audit=1"` is selected to achieve the correct scope instead.
grubby --update-kernel=ALL adds the given argument to all managed boot entries. The stated task is to remove that kernel parameter from every boot entry. Instead, `grubby --update-kernel=ALL --remove-args="audit=1"` is the relevant alternative because --remove-args removes the named kernel argument from the selected entries. A separate comparison is `grubby --default-kernel`: grubby --default-kernel reports the currently selected default kernel pathname. The stated task is to remove that kernel parameter from every boot entry. For the named operational target boot-10., this answer does not perform the requested action; `grubby --update-kernel=ALL --remove-args="audit=1"` is selected to achieve the correct scope instead.
/proc/cmdline shows the arguments actually used when booting the running kernel. The stated task is to remove that kernel parameter from every boot entry. Instead, `grubby --update-kernel=ALL --remove-args="audit=1"` is the relevant alternative because --remove-args removes the named kernel argument from the selected entries. A separate comparison is `grubby --default-kernel`: grubby --default-kernel reports the currently selected default kernel pathname. The stated task is to remove that kernel parameter from every boot entry. For the named operational target boot-10., this answer does not perform the requested action; `grubby --update-kernel=ALL --remove-args="audit=1"` is selected to achieve the correct scope instead.






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