Free XK0-005 Exam Braindumps (page: 6)

Page 5 of 96

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



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






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

XK0-005 Exam Discussions & Posts