nerdexam
CompTIACompTIA

XK0-005 · Question #466

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

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 s

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

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 PracticeBrowse All XK0-005 Questions