Free XK0-005 Exam Braindumps (page: 5)

Page 5 of 43

A Linux administrator would like to use systemd to schedule a job to run every two hours. The administrator creates timer and service definitions and restarts the server to load these new configurations. After the restart, the administrator checks the log file and notices that the job is only running daily. Which of the following is MOST likely causing the issue?

  1. The checkdiskspace.service is not running.
  2. The checkdiskspace.service needs to be enabled.
  3. The OnCalendar schedule is incorrect in the timer definition.
  4. The system-daemon services need to be reloaded.

Answer(s): D



An administrator deployed a Linux server that is running a web application on port 6379/tcp.

-SELinux is in enforcing mode based on organization policies.
-The port is open on the firewall.
-Users who are trying to connect to a local instance of the web application receive Error 13, Permission denied.

The administrator ran some commands that resulted in the following output:




Which of the following commands should be used to resolve the issue?

  1. semanage port -d -t http_port_t -p tcp 6379
  2. semanage port -a -t http_port_t -p tcp 6379
  3. semanage port -a http_port_t -p top 6379
  4. semanage port -l -t http_port_tcp 6379

Answer(s): B



A systems administrator created a web server for the company and is required to add a tag for the API so end users can connect. Which of the following would the administrator do to complete this requirement?

  1. hostnamectl status --no-ask-password
  2. hostnamectl set-hostname "$(perl -le "print" "A" x 86)"
  3. hostnamectl set-hostname Comptia-WebNode -H root@192.168.2.14
  4. hostnamectl set-hostname Comptia-WebNode --transient

Answer(s): C



A systems administrator wants to back up the directory /data and all its contents to /backup/data on a remote server named remote. Which of the following commands will achieve the desired effect?

  1. scp -p /data remote:/backup/data
  2. ssh -i /remote:/backup/ /data
  3. rsync -a /data remote:/backup/
  4. cp -r /data /remote/backup/

Answer(s): C



Page 5 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