Free XK0-005 Exam Braindumps (page: 15)

Page 15 of 43

SIMULATION
Junior system administrator had trouble installing and running an Apache web server on a Linux server. You have been tasked with installing the Apache web server on the Linux server and resolving the issue that prevented the junior administrator from running Apache.

INSTRUCTIONS::
Install Apache and start the service. Verify that the Apache service is running with the defaults.

Typing “help” in the terminal will show a list of relevant event commands.

If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.

  1. See the explanation below.

Answer(s): A

Explanation:

yum install httpd
systemctl --now enable httpd
systemctl status httpd
netstat -tunlp | grep 80
pkill <processname>
systemctl restart httpd
systemctl status httpd



A Linux administrator needs to remove software from the server. Which of the following RPM options should be used?

  1. rpm -s
  2. rрm -d
  3. rpm -q
  4. rpm -e

Answer(s): D



A Linux system fails to start and delivers the following error message:



Which of the following commands can be used to address this issue?

  1. fsck.ext4 /dev/sda1
  2. partprobe /dev/sda1
  3. fdisk /dev/sda1
  4. mkfs.ext4 /dev/sda1

Answer(s): A



Based on an organization’s new cybersecurity policies, an administrator has been instructed to ensure that, by default, all new users and groups that are created fall within the specified values below.



To which of the following configuration files will the required changes need to be made?

  1. /etc/login.defs
  2. /etc/security/limits.conf
  3. /etc/default/useradd
  4. /etc/profile

Answer(s): C



Page 15 of 43



Post your Comments and Discuss CompTIA XK0-005 exam with other Community members:

RF commented on September 06, 2024
Awesome resource
UNITED STATES
upvote

M commented on August 09, 2024
Great questions
Anonymous
upvote

Bob Igor commented on March 14, 2024
Question 11 is B not A because the ports are reversed on A
UNITED STATES
upvote

soheib commented on July 24, 2023
question: 78 the right answer i think is d not a
Anonymous
upvote

Lola commented on August 28, 2023
Good so far
Anonymous
upvote

soheib commented on July 24, 2023
Question: 78 the right answer i think is d not a
Anonymous
upvote

Gurunath commented on June 18, 2023
I just wanted to let you know I passed my exam today. The updated version you provided is on spot. Thank you.
INDIA
upvote

Nito commented on April 21, 2023
These questions are valid.
CANADA
upvote

Ortiz commented on November 07, 2022
I am certified now. You study packages helped me a lot. Your site is the best!
MEXICO
upvote