Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA Exam XK0-005 Topic 8 Question 24 Discussion

Actual exam question for CompTIA's XK0-005 exam
Question #: 24
Topic #: 8
[All XK0-005 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: A

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.


Contribute your Thoughts:

Graciela
4 days ago
Haha, can you imagine if the answer was B? Like, 'Hmm, the website isn't working. I know, let me just mask the httpd service, that'll fix it!'
upvoted 0 times
...
Carman
5 days ago
Absolutely. Masking the service (option B) would actually disable it, which is the opposite of what we want to do here. Good thing they didn't include that as the correct answer.
upvoted 0 times
...
My
6 days ago
Yeah, I agree. That seems like the logical choice. You need to check the status of the service, not reload, restart, or mask it.
upvoted 0 times
...
Kallie
7 days ago
This is a pretty straightforward question, but it's important to know the right command to verify if a service is running. I'm pretty sure the answer is A) systemctl status httpd.
upvoted 0 times
...

Save Cancel