nerdexam
CompTIA

XK0-005 · Question #725

An administrator made a change to a system's network configuration. Which of the following best represents what the administrator should do to have the new configuration take effect?

The correct answer is A. systemctl restart networkd. systemctl restart networkd stops and then restarts the systemd-networkd service, causing it to re-read and apply the updated configuration files. This is the correct way to activate changes. Option B (enable) configures the service to start at boot but does not restart it now…

System Management

Question

An administrator made a change to a system's network configuration. Which of the following best represents what the administrator should do to have the new configuration take effect?

Options

  • Asystemctl restart networkd
  • Bsystemctl enable networkd
  • Csystemctl status networkd
  • Dsystemctl isolate networkd

How the community answered

(42 responses)
  • A
    76% (32)
  • B
    5% (2)
  • C
    5% (2)
  • D
    14% (6)

Explanation

systemctl restart networkd stops and then restarts the systemd-networkd service, causing it to re-read and apply the updated configuration files. This is the correct way to activate changes. Option B (enable) configures the service to start at boot but does not restart it now. Option C (status) only displays the current state of the service without changing anything. Option D (isolate) switches the entire system to a different systemd target (runlevel), which is a disruptive operation unrelated to simply reloading network settings.

Topics

#systemctl#service management#network configuration#Linux administration

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice