ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 93 - XK0-005 discussion

Report
Export

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?

A.
systemctl isolate multi-user.target
Answers
A.
systemctl isolate multi-user.target
B.
systemctl isolate graphical.target
Answers
B.
systemctl isolate graphical.target
C.
systemctl isolate network.target
Answers
C.
systemctl isolate network.target
D.
systemctl isolate basic.target
Answers
D.
systemctl isolate basic.target
Suggested answer: B

Explanation:

The command that would ensure the server is set to runlevel 5 is systemctl 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.

The other options are not correct commands for setting the server to runlevel 5. The systemctl isolate multi-user.target command will change the current target to multi-user.target, which is equivalent to runlevel 3 in SysV init systems. Multi-user.target means that the system will start with multiple user logins and networking, but without a GUI. The systemctl isolate network.target command will change the current target to network.target, which is not a real runlevel but a synchronization point for network-related services. Network.target means that network functionality should be available, but does not specify whether it should be started before or after it. The systemctl isolate basic.target command will change the current target to basic.target, which is also not a real runlevel but a synchronization point for basic system services. Basic.target means that all essential services should be started, but does not specify whether it should be started before or after it. Reference: systemd System and Service Manager; systemd.special(7) - Linux manual page

asked 02/10/2024
JEAN-MARIE HERMANT
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first