XK0-005 CompTIA Linux+ Exam

Loading demo links...

Showing 7–9 of 10 questions

Question 7

A Linux user reported the following error after trying to connect to the system remotely:

ssh: connect to host 10.0.1.10 port 22: Resource temporarily unavailable

The Linux systems administrator executed the following commands in the Linux system while trying to diagnose this issue:

C:\Users\Admin\Desktop\Data\Odt data\Untitled.jpg

Which of the following commands will resolve this issue?

Select an option, then click Submit answer.

  • firewall-cmd --zone=public --permanent --add-service=22

  • systemctl enable firewalld; systemctl restart firewalld

  • firewall-cmd --zone=public --permanent --add-service=ssh

  • firewall-cmd --zone=public --permanent --add-port=22/udp

Question 8

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:

C:\Users\Admin\Desktop\Data\Odt data\Untitled.jpg

Which of the following commands will BEST resolve this issue?

Select an option, then click Submit answer.

  • sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config

  • restorecon -R -v /var/www/html

  • setenforce 0

  • setsebool -P httpd_can_network_connect_db on

Question 9

A Linux administrator needs to connect securely to a remote server in order to install application software. Which of the following commands would allow this connection?

Select an option, then click Submit answer.