Free CompTIA XK0-005 Exam Questions (page: 11)

A systems administrator is tasked with creating a cloud-based server with a public IP address.

The code is as follows:



Which of the following technologies did the systems administrator use to complete this task?

  1. Puppet
  2. Git
  3. Ansible
  4. Terraform

Answer(s): C



A Linux systems administrator is setting up a new web server and getting 404 - NOT FOUND errors while trying to access the web server pages from the browser. While working on the diagnosis of this issue, the Linux systems administrator executes the following commands:



Which of the following commands will BEST resolve this issue?

  1. sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config
  2. restorecon -R -v /var/www/html
  3. setenforce 0
  4. setsebool -P httpd_can_network_connect_db on

Answer(s): B



To harden one of the servers, an administrator needs to remove the possibility of remote administrative login via the SSH service. Which of the following should the administrator do?

  1. Add the line DenyUsers root to the /etc/hosts.deny file.
  2. Set PermitRootLogin to no in the /etc/ssh/sshd_config file.
  3. Add the line account required pam_nologin. so to the /etc/pam.d/sshd file.
  4. Set PubKeyAuthentication to no in the /etc/ssh/ssh_config file.

Answer(s): B



Which of the following is a function of a bootloader?

  1. It initializes all the devices that are required to load the OS.
  2. It mounts the root filesystem that is required to load the OS.
  3. It helps to load the different kernels to initiate the OS startup process.
  4. It triggers the start of all the system services.

Answer(s): C



A systems administrator configured firewall rules using firewalld. However, after the system is rebooted, the firewall rules are not present:



The systems administrator makes additional checks:



Which of the following is the reason the firewall rules are not active?

  1. iptables is conflicting with firewalld.
  2. The wrong system target is activated.
  3. FIREWALL_ARGS has no value assigned.
  4. The firewalld service is not enabled.

Answer(s): D



Viewing page 11 of 97



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

XK0-005 Exam Discussions & Posts