nerdexam
CompTIA

XK0-005 · Question #466

A junior Linux administrator is tasked with installing an application. The installation guide states the application should only be installed in a run level 5 environment. Which of the following…

The correct answer is B. systemctl isolate graphical.target. The command that would ensure the server is set to runlevel 5 is systemct1 isolate graphical.target. This command will change the current target (or runlevel) of systemd to graphical.target, which is equivalent to runlevel 5 in SysV init systems. Graphical.target means that the…

System Management

Question

A junior Linux administrator is tasked with installing an application. The installation guide states the application should only be installed in a run level 5 environment. Which of the following commands would ensure the server is set to runlevel 5?

Options

  • Asystemctl isolate multi-user.target
  • Bsystemctl isolate graphical.target
  • Csystemctl isolate network.target
  • Dsystemctl isolate basic.target

How the community answered

(15 responses)
  • A
    7% (1)
  • B
    80% (12)
  • C
    13% (2)

Explanation

The command that would ensure the server is set to runlevel 5 is systemct1 isolate graphical.target. This command will change the current target (or runlevel) of systemd to graphical.target, which is equivalent to runlevel 5 in SysV init systems. Graphical.target means that the system will start with a graphical user interface (GUI) and all services required for it.

Topics

#Linux administration#systemd#Runlevels#systemctl

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice