nerdexam
CompTIACompTIA

XK0-005 · Question #444

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

The correct answer is D: systemctl daemon-reload. To have your changes take effect, issue the systemctl daemon-reload command for the service whose unit file you modified or extended. After you accomplish that task, issue the systemctl restart command to start or restart the service.

System Management

Question

After installing a new version of a package, a systems administrator notices a new version of the corresponding, service file was Installed. In order to use the new version of the, service file, which of the following commands must be Issued FIRST?

Options

  • Asystemctl status
  • Bsystemctl stop
  • Csystemctl reinstall
  • Dsystemctl daemon-reload

Explanation

To have your changes take effect, issue the systemctl daemon-reload command for the service whose unit file you modified or extended. After you accomplish that task, issue the systemctl restart command to start or restart the service.

Topics

#systemd#Service Management#Configuration Management#Linux Commands

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions