ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 75 - XK0-005 discussion

Report
Export

A Linux administrator booted up the server and was presented with a non-GUI terminal. The administrator ran the command systemctl isolate graphical.target and rebooted the system by running systemctl reboot, which fixed the issue. However, the next day the administrator was presented again with a non-GUI terminal. Which of the following is the issue?

A.
The administrator did not reboot the server properly.
Answers
A.
The administrator did not reboot the server properly.
B.
The administrator did not set the default target to basic.target.
Answers
B.
The administrator did not set the default target to basic.target.
C.
The administrator did not set the default target to graphical.target.
Answers
C.
The administrator did not set the default target to graphical.target.
D.
The administrator did not shut down the server properly.
Answers
D.
The administrator did not shut down the server properly.
Suggested answer: C

Explanation:

The issue is that the administrator did not set the default target to graphical.target. A target is a unit of systemd that groups together other units by a common purpose or state. The graphical.target is a target that starts the graphical user interface (GUI) along with other services. The administrator used the command systemctl isolate graphical.target to switch to this target temporarily, but this does not change the default target that is activated at boot time. To make this change permanent, the administrator should have used the command systemctl set-default graphical.target, which creates a symbolic link from /etc/systemd/system/default.target to /usr/lib/systemd/system/graphical.target.

The other options are not correct explanations for the issue. The administrator did reboot the server properly by using systemctl reboot, which shuts down and restarts the system cleanly. The administrator did not need to set the default target to basic.target, which is a minimal target that only starts essential services. The administrator did not shut down the server improperly, which could have caused file system corruption or data loss, but not affect the default target. Reference: systemctl(1) - Linux manual page; How to Change Runlevels (targets) in SystemD

asked 02/10/2024
Nogueira Elder
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first