nerdexam
CompTIA

XK0-004 · Question #106

An administrator has modified the configuration file for a service. The service is still running but is not using the new configured values. Which of the following will BEST remediate this issue?

The correct answer is A. kill -HUP. The kill command sends a signal to specified processes or process groups, causing them to act according to the signal. When the signal is not specified, it defaults to -15 (-TERM). The most commonly used signals are: 1 (HUP) - Reload a process.

System Management

Question

An administrator has modified the configuration file for a service. The service is still running but is not using the new configured values. Which of the following will BEST remediate this issue?

Options

  • Akill -HUP
  • Binit 0
  • Cservice start
  • Drenice -10

How the community answered

(65 responses)
  • A
    91% (59)
  • B
    6% (4)
  • C
    2% (1)
  • D
    2% (1)

Explanation

The kill command sends a signal to specified processes or process groups, causing them to act according to the signal. When the signal is not specified, it defaults to -15 (-TERM). The most commonly used signals are: 1 (HUP) - Reload a process.

Topics

#signal handling#SIGHUP#service reload#process management

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice