Question 200
A Linux administrator faces this situation: A maintenance window requires shutting down a shared Linux host in ten minutes while notifying active users. Which action best resolves the specific issue while preserving correct system behavior?
Explanation
Correct Answer
Schedule shutdown -h +10 with an appropriate explanatory message to logged-in users. This corrects the case-specific failure. First verify: Verify the planned stop time and which interactive sessions will be affected. Then demonstrate success: Users receive a warning and the system powers down at the scheduled time unless the job is canceled.
Incorrect Answers
Use shutdown -r now or the supported systemctl reboot command through normal shutdown handling. That would matter when a Linux host needs to perform a controlled reboot after a kernel upgrade without an immediate power cut. The relevant distinction in this case is: Schedule shutdown -h +10 with an appropriate explanatory message to logged-in users.
Cancel the pending shutdown with shutdown -c and communicate the change. That would matter when a previously scheduled system shutdown must be canceled because a maintenance change was postponed. It does not address this case's requirement: A maintenance window requires shutting down a shared Linux host in ten minutes while notifying active users.
Use systemctl isolate multi-user.target for a temporary switch when the operational impact is approved. That would matter when an administrator needs a temporary non-graphical maintenance session without changing the next boot. That separate mechanism does not verify the needed Linux administration outcome in this case.