SK0-003 · Question #881
An administrator does not have console access to a Linux Server. Which of the following steps could the administrator perform to reboot the system remotely?
The correct answer is D. SSH into the system, and then run reboot as root. To remotely reboot a Linux server without console access, an administrator needs to establish a secure shell connection and then execute the appropriate reboot command.
Question
An administrator does not have console access to a Linux Server. Which of the following steps could the administrator perform to reboot the system remotely?
Options
- AExecute the reboot command remotely
- BExecute the shutdown command remotely with the reboot switch
- CSSH into the system, and then run shutdown -h as root
- DSSH into the system, and then run reboot as root
How the community answered
(47 responses)- A2% (1)
- B4% (2)
- D94% (44)
Why each option
To remotely reboot a Linux server without console access, an administrator needs to establish a secure shell connection and then execute the appropriate reboot command.
Executing the `reboot` command remotely without specifying the secure connection method like SSH and providing authentication is an incomplete step for remote access.
While `shutdown` can be used for rebooting (e.g., `shutdown -r now`), the command itself requires a secure shell connection first, making this an incomplete action.
The `shutdown -h` command is used to halt or power off the system, not to reboot it.
To remotely reboot a Linux server, an administrator must first establish a secure connection, typically using SSH (Secure Shell). Once connected and authenticated, executing the `reboot` command, often with root privileges (e.g., via `sudo` or by switching to the root user), will initiate a graceful shutdown and restart of the system.
Concept tested: Linux remote system reboot and SSH
Source: https://learn.microsoft.com/en-us/azure/virtual-machines/linux/restart-vm
Topics
Community Discussion
No community discussion yet for this question.