New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA XK0-005 Exam - Topic 2 Question 62 Discussion

Actual exam question for CompTIA's XK0-005 exam
Question #: 62
Topic #: 2
[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:

0/2000 characters
Tamar
5 days ago
I remember practicing with similar questions, and I think `service apache2 status` could also work to verify the service status.
upvoted 0 times
...
Tyisha
10 days ago
I think we might need to use a command like `systemctl status apache2` to check if the service is running, but I'm not entirely sure.
upvoted 0 times
...
Kenda
15 days ago
No problem, I've got this. The command I'd use is `service apache2 status`. That should tell me if the Apache service is running or not, and help me figure out the next steps.
upvoted 0 times
...
Colby
21 days ago
Ugh, I'm a little unsure about this one. I know I need to check the Apache service, but I can't remember the exact command. I'll have to review my notes to refresh my memory.
upvoted 0 times
...
Hyun
26 days ago
Ah, I've seen this kind of problem before. I'd use the `systemctl status apache2` command to check the status of the Apache service. That should give me the information I need to troubleshoot this.
upvoted 0 times
...
Michael
1 month ago
Okay, let me think about this. I know I need to verify if the Apache service is running, but I'm not sure which command to use. I'll have to think this through.
upvoted 0 times
...
Brandon
1 month ago
Hmm, this seems like a straightforward issue with the Apache web server. I'd probably start by checking the service status to see if it's running.
upvoted 0 times
...

Save Cancel