nerdexam
CompTIA

XK0-005 · Question #737

A Linux administrator updated the configuration file for the httpd web service. The administrator needs to apply the updated changes to the service without interrupting any running sessions. Which…

The correct answer is A. systemctl reload httpd. The systemctl reload httpd command reloads the Apache HTTP server configuration without terminating any existing connections. This is ideal for applying configuration changes without disrupting the current web traffic, ensuring seamless operation.

System Management

Question

A Linux administrator updated the configuration file for the httpd web service. The administrator needs to apply the updated changes to the service without interrupting any running sessions. Which of the following commands should the administrator run to accomplish this task?

Options

  • Asystemctl reload httpd
  • Bsystemctl restart httpd
  • Csystemctl status httpd
  • Dsystemctl mask httpd

How the community answered

(65 responses)
  • A
    91% (59)
  • B
    3% (2)
  • C
    2% (1)
  • D
    5% (3)

Explanation

The systemctl reload httpd command reloads the Apache HTTP server configuration without terminating any existing connections. This is ideal for applying configuration changes without disrupting the current web traffic, ensuring seamless operation.

Topics

#systemd#service management#configuration reload#httpd

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice