Question 480
Before changing a Linux system, an engineer observes: A maintenance window requires shutting down a shared Linux host in ten minutes while notifying active users. Which check most directly isolates the relevant cause or prerequisite?
Explanation
Correct Answer
Verify the planned stop time and which interactive sessions will be affected. This isolates the relevant condition before applying a change. The appropriate corrective response is: Schedule shutdown -h +10 with an appropriate explanatory message to logged-in users.
Incorrect Answers
Inspect active workloads and the approved restart window before initiating a reboot. 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: Verify the planned stop time and which interactive sessions will be affected.
Confirm active local sessions and decide what message should be distributed. That would matter when a team needs to broadcast an urgent warning to users already logged into terminal sessions. 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.
Check currently active targets and verify that isolating the target will not terminate required remote access. 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.