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

Some servers in an organization have been compromised. Users are unable to access to the organization's web page and other services. While reviewing the system log, a systems administrator notices messages from the kernel regarding firewall rules:



Which of the following commands will remediate and help resolve the issue?





Answer(s): B



A junior administrator is trying to set up a passwordless SSH connection to one of the servers. The administrator follows the instructions and puts the key in the authorized_key file at the server, but the administrator is still asked to provide a password during the connection.

Given the following output:



Which of the following commands would resolve the issue and allow an SSH connection to be established without a password?

  1. restorecon -rv .ssh/authorized_key
  2. mv .ssh/authorized_key .ssh/authorized_keys
  3. systemctl restart sshd.service
  4. chmod 600 mv .ssh/authorized_key

Answer(s): B



A Linux administrator needs to resolve a service that has failed to start. The administrator runs the following command:



The following output is returned



Which of the following is MOST likely the issue?

  1. The service does not have permissions to read write the startupfile.
  2. The service startupfile size cannot be 81k.
  3. The service startupfile cannot be owned by root.
  4. The service startupfile should not be owned by the root group.

Answer(s): A



A Linux engineer is setting the sticky bit on a directory called devops with 755 file permission. Which of the following commands will accomplish this task?

  1. chown -s 755 devops
  2. chown 1755 devops
  3. chmod -s 755 devops
  4. chmod 1755 devops

Answer(s): D



A Linux administrator booted up the server and was presented with a non-GUI terminal. The administrator ran the command systemctl isolate graphical.target and rebooted the system by running systemctl reboot, which fixed the issue. However, the next day the administrator was presented again with a non-GUI terminal. Which of the following is the issue?

  1. The administrator did not reboot the server properly.
  2. The administrator did not set the default target to basic.target.
  3. The administrator did not set the default target to graphical.target.
  4. The administrator did not shut down the server properly.

Answer(s): C



Viewing page 16 of 97



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

XK0-005 Exam Discussions & Posts