nerdexam
LPI

117-201 · Question #146

On a Debian based system, which command can be used to stop the apache2 init script from running at boot time once the real script has been removed from /etc/init.d/?

The correct answer is D. update-rc.d apache2 remove. See the full explanation below for the reasoning.

Question

On a Debian based system, which command can be used to stop the apache2 init script from running at boot time once the real script has been removed from /etc/init.d/?

Options

  • Aupdate-rc.d -d apache2
  • Bupdate-rc.d apache2 delete
  • Cupdate-rc.d remove apache2
  • Dupdate-rc.d apache2 remove
  • Eupdate-rc.d delete apache2

How the community answered

(61 responses)
  • A
    5% (3)
  • B
    2% (1)
  • C
    10% (6)
  • D
    80% (49)
  • E
    3% (2)

Community Discussion

No community discussion yet for this question.

Full 117-201 Practice