nerdexam
CompTIACompTIA

XK0-005 · Question #679

XK0-005 Question #679: Real Exam Question with Answer & Explanation

The correct answer is A: systemctl status httpd. systemctl status httpd is the correct option to check if the Apache web server (httpd) is running. The systemctl status command provides detailed information about the service, including whether it is active and running.

Troubleshooting

Question

An administrator is provisioning an Apache web server. When the administrator visits the server website, the browser displays a message indicating the website cannot be reached. Which of the following commands should the administrator use to verify whether the service Is running?

Options

  • Asystemctl status httpd
  • Bsystemctl mask httpd
  • Csystemctl reload httpd
  • Dsystemctl restart httpd

Explanation

systemctl status httpd is the correct option to check if the Apache web server (httpd) is running. The systemctl status command provides detailed information about the service, including whether it is active and running.

Topics

#systemctl#Service Management#Apache#Troubleshooting

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions