nerdexam
CompTIA

XK0-005 · Question #717

A Linux administrator needs to run a web application on a server that requires the use of a desktop web browser to enter the final configuration information. The administrator determines the server…

The correct answer is A. sudo systemctl isolate graphical.target. The systemctl isolate graphical.target command switches the system to graphical mode (runlevel 5). This will start the display manager and allow the administrator to use a graphical environment, including a web browser. The switch is temporary, and the system will revert to…

System Management

Question

A Linux administrator needs to run a web application on a server that requires the use of a desktop web browser to enter the final configuration information. The administrator determines the server is running in multi-user mode. The administrator verifies that a web browser is installed on the server and that it has a display manager installed. Which of the following commands will best allow the administrator to temporarily use the web browser on the server?

Options

  • Asudo systemctl isolate graphical.target
  • Bsudo systemctl set-default runlevel5.target
  • Csudo systemctl restart gdm
  • Dsudo systemctl --no-wall rescue

How the community answered

(43 responses)
  • A
    77% (33)
  • B
    7% (3)
  • C
    12% (5)
  • D
    5% (2)

Explanation

The systemctl isolate graphical.target command switches the system to graphical mode (runlevel 5). This will start the display manager and allow the administrator to use a graphical environment, including a web browser. The switch is temporary, and the system will revert to multi-user mode after reboot unless explicitly changed.

Topics

#systemd#systemctl#system targets#graphical environment

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice