nerdexam
CompTIA

XK0-004 · Question #492

A systems administrator discovers httpd is running and preventing another application service from listening on the default web port. The administrator stops and disables the httpd service and then th

The correct answer is A. systemctl mask httpd. https://askubuntu.com/questions/816285/what-is-the-difference-between-systemctl-mask-and- systemctl-disable

System Management

Question

A systems administrator discovers httpd is running and preventing another application service from listening on the default web port. The administrator stops and disables the httpd service and then the application works. The administrator, however, discovers httpd is running again after reboot. Given this behavior, which of the following will prevent httpd from starting on boot?

Options

  • Asystemctl mask httpd
  • Bsystemctl blame httpd
  • Csystemctl disable httpd
  • Dsystemctl stop httpd

How the community answered

(33 responses)
  • A
    64% (21)
  • B
    6% (2)
  • C
    12% (4)
  • D
    18% (6)

Explanation

https://askubuntu.com/questions/816285/what-is-the-difference-between-systemctl-mask-and- systemctl-disable

Topics

#systemctl mask#service management#boot persistence#systemd

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice