Question 400
A Linux operator claims the following problem is resolved: A Linux host needs to perform a controlled reboot after a kernel upgrade without an immediate power cut. Which result best demonstrates an effective repair?
Explanation
Correct Answer
The host cleanly stops services, reboots, and runs the intended updated kernel. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Use shutdown -r now or the supported systemctl reboot command through normal shutdown handling.
Incorrect Answers
After reboot, the default target is multi-user.target and the server reaches its text-mode services. That would matter when a headless server boots into a graphical target despite the organization's text-console requirement. The relevant distinction in this case is: The host cleanly stops services, reboots, and runs the intended updated kernel.
The current boot switches to multi-user.target while systemctl get-default retains the original configured default. That would matter when an administrator needs a temporary non-graphical maintenance session without changing the next boot. It does not address this case's requirement: A Linux host needs to perform a controlled reboot after a kernel upgrade without an immediate power cut.
The countdown stops, no unexpected shutdown occurs, and the cancellation is visible to affected operators. That would matter when a previously scheduled system shutdown must be canceled because a maintenance change was postponed. That separate mechanism does not verify the needed Linux administration outcome in this case.