ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 127 - XK0-005 discussion

Report
Export

Users have reported that the interactive sessions were lost on a Linux server. A Linux administrator verifies the server was switched to rescue.target mode for maintenance. Which of the following commands will restore the server to its usual target?

A.
telinit 0
Answers
A.
telinit 0
B.
systemctl reboot
Answers
B.
systemctl reboot
C.
systemctl get-default
Answers
C.
systemctl get-default
D.
systemctl emergency
Answers
D.
systemctl emergency
Suggested answer: B

Explanation:

The systemctl reboot command will restore the server to its usual target by rebooting it. This will cause the server to load the default target specified in /etc/systemd/system.conf or /etc/systemd/system/default.target files. The telinit 0 command would shut down the server, not restore it to its usual target. The systemctl get-default command would display the default target, not change it. The systemctl emergency command would switch the server to emergency.target mode, which is even more restrictive than rescue.target mode. Reference: [CompTIA Linux+ (XK0-005) Certification Study Guide], Chapter 17: System Maintenance and Operation, page 516.

asked 02/10/2024
Robert Thompson
45 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first