nerdexam
ExamsXK0-004Questions#492
CompTIA

XK0-004 · Question #492

XK0-004 Question #492: Real Exam Question with Answer & Explanation

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

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

Explanation

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

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice