nerdexam
CompTIACompTIA

XK0-005 · Question #1712

XK0-005 Question #1712: Real Exam Question with Answer & Explanation

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 multi

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

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#targets#graphical interface

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions