Free XK0-005 Exam Braindumps (page: 16)

Page 15 of 96

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 Explanation section for answer.

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): A






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

XK0-005 Exam Discussions & Posts