Weekend Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Linux+ Changed XK0-005 Questions

Page: 19 / 37
Total 487 questions

CompTIA Linux+ Exam Questions and Answers

Question 73

An administrator is unable to sync servers to the new NTP server IP address given by the service provider despite several attempts. Looking at the below output

Which of the following commands will help resolve the issue?

Options:

A.

B.

C.

D.

Question 74

A new user is experiencing issues creating files in the folder /home/testuser/testdir/. The directory needs to be accessible for reading by other users in the system. The administrator gathers the following information:

Copy

drwxr-xr-x. 2 root testuser 6 Oct 19 11:22 testdir

Which of the following commands should the administrator use to solve the issue? (Select TWO).

Options:

A.

chmod u+w /home/testuser/testdir/

B.

usermod -G root testuser

C.

chmod g+w /home/testuser/testdir/

D.

usermod -G testuser root

E.

chown newuser /home/testuser

Question 75

NO: 41:

A systems administrator needs to install the file installer_0.17-41.2_amd64.deb. Which of the following commands should the administrator use?

Options:

A.

apt install installer

B.

dpkg -i installer_0.17-41.2_amd64.deb

C.

rpm -i installer_0.17-41.2_amd64.deb

D.

yum localinstall installer_0.17-41.2_amd64.deb

Question 76

A systems administrator needs to disable root login for SSH. Which of the following commands should the administrator use?

Options:

A.

touch /etc/ssh/sshd_config | awk 's/PermitRootLoginX yes/PermitRootLoginX no/'

B.

sed -i 's/PermitRootLogin yes/PermitRootLogin no/' /etc/ssh/sshd_config

C.

touch /etc/ssh/sshd_config | print* 1PermitRootLogin/PermitRootLogin no/'

D.

cat /etc/ssh/sshd_config | grep 's/PermitRootLogin yes/PermitRootLogin no/'

Page: 19 / 37
Total 487 questions