Free XK0-005 Exam Braindumps (page: 13)

Page 12 of 96

A cloud engineer is installing packages during VM provisioning. Which of the following should the engineer use to accomplish this task?

  1. Cloud-init
  2. Bash
  3. Docker
  4. Sidecar

Answer(s): A



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






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

XK0-005 Exam Discussions & Posts