ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 232 - XK0-005 discussion

Report
Export

A junior administrator updated the PostgreSQL service unit file per the data-base administrator's recommendation. The service has been restarted, but changes have not been applied. Which of the following should the administrator run for the changes to take effect?

A.
Systemct1 get---default
Answers
A.
Systemct1 get---default
B.
systemct1 daemon---reload
Answers
B.
systemct1 daemon---reload
C.
systemct1 enable postgresq1
Answers
C.
systemct1 enable postgresq1
D.
systemct1 mask postgresq1
Answers
D.
systemct1 mask postgresq1
Suggested answer: B

Explanation:

To apply changes to a systemd service unit file, the administrator needs to reload the systemd daemon using the commandsystemct1 daemon-reload(B). This will make systemd aware of the new or changed unit files. The other commands will not reload the systemd daemon or apply the changes.Reference:

[CompTIA Linux+ Study Guide], Chapter 7: Managing System Services, Section: Modifying Systemd Services

[How to Reload Systemd Services]

asked 02/10/2024
Trevore Agee
25 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first