CompTIA Linux+ XK0-005 Sample Questions & Answers

CompTIA Linux+ XK0-005 Sample Questions & Answers

CompTIA Linux+ XK0-005 Sample Questions & Answers are new collected, which are helpful for your preparation. CompTIA Linux+ validates the skills administrators need to secure the enterprise, power the cloud and keep systems running. This exam has the objectives of System Management, Security, Scripting, Containers, and Automation, Troubleshooting. CompTIA Linux+ XK0-005 Sample Questions & Answers are designed to simulate a natural exam environment and are quite beneficial in ensuring memorable success in the CompTIA Linux+ exam.

Take a free XK0-005 practice test to assess your skills!

Page 1 of 3

1. A systems administrator requires that all files that are created by the user named web have read-only permissions by the owner .

Which of the following commands will satisfy this requirement?

2. 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?

3. A systems administrator is tasked with preventing logins from accounts other than root, while the file /etc/nologin exists .

Which of the following PAM modules will accomplish this task?

4. 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?

5. A Linux administrator created the directory /project/access2all. By creating this directory, the administrator is trying to avoid the deletion or modification of files from non-owners .

Which of the following will accomplish this goal?

6. 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:





Which of the following commands will resolve this issue?

7. A Linux system is failing to start due to issues with several critical system processes .

Which of the following options can be used to boot the system into the single user mode? (Choose two.)

8. A Linux system is failing to boot. The following error is displayed in the serial console:

[[1;33mDEPEND[Om] Dependency failed for /data.

[[1;33mDEPEND[Om] Dependency failed for Local File Systems

...

Welcome to emergency mode! After logging in, type "journalctl -xb" to viewsystem logs, "systemctl reboot" to reboot, "systemctl default" to try again to boot into default mode.

Give root password for maintenance

(or type Control-D to continue}

Which of the following files will need to be modified for this server to be able to boot again?

9. A systems administrator frequently connects to a remote host via SSH and a non-standard port. The systems administrator would like to avoid passing the port parameter on the command line every time .

Which of the following files can be used to set a different port value for that host?

10. After installing some RPM packages, a systems administrator discovers the last package that was installed was not needed .

Which of the following commands can be used to

remove the package?


 

Share this post

Leave a Reply

Your email address will not be published. Required fields are marked *