nerdexam
ExamsXK0-004Questions#265
CompTIA

XK0-004 · Question #265

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

The correct answer is B: systemctl mask sendmail. Mask will link the service to /dev/null making it impossible to start the service unless it is

Question

A Linux administrator needs to disable the Sendmail service on a Linux server and prevent it from being started manually and during boot. Which of the following is the BEST command to do this?

Options

  • Asystemctl reset-failed sendmail
  • Bsystemctl mask sendmail
  • Csystemctl stop sendmail
  • Dsystemctl disable sendmail

Explanation

Mask will link the service to /dev/null making it impossible to start the service unless it is

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice