Question 71
XK0-005 Practice Test
XK0-005 Practice Test practice questions, page 15 of 19, with answer review and explanations.
Question 72
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?
- restorecon -rv .ssh/authorized_key
- mv .ssh/authorized_key .ssh/authorized_keys
- systemctl restart sshd.service
- chmod 600 mv .ssh/authorized_key
Question 73
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?
- The service does not have permissions to read write the startupfile.
- The service startupfile size cannot be 81k.
- The service startupfile cannot be owned by root.
- The service startupfile should not be owned by the root group.
Question 74
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?
- chown -s 755 devops
- chown 1755 devops
- chmod -s 755 devops
- chmod 1755 devops
Question 75
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?
- The administrator did not reboot the server properly.
- The administrator did not set the default target to basic.target.
- The administrator did not set the default target to graphical.target.
- The administrator did not shut down the server properly.