nerdexam
CompTIA

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.

Server administration

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)
  • A
    2% (1)
  • B
    4% (2)
  • D
    94% (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.

AExecute the reboot command remotely

Executing the `reboot` command remotely without specifying the secure connection method like SSH and providing authentication is an incomplete step for remote access.

BExecute the shutdown command remotely with the reboot switch

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.

CSSH into the system, and then run shutdown -h as root

The `shutdown -h` command is used to halt or power off the system, not to reboot it.

DSSH into the system, and then run reboot as rootCorrect

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

#Linux commands#remote access#server reboot

Community Discussion

No community discussion yet for this question.

Full SK0-003 Practice