Summer Sale Special 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ex2p65

Exact2Pass Menu

CompTIA Linux+ Exam

Last Update 19 hours ago Total Questions : 487

The CompTIA Linux+ Exam content is now fully updated, with all current exam questions added 19 hours ago. Deciding to include XK0-005 practice exam questions in your study plan goes far beyond basic test preparation.

You'll find that our XK0-005 exam questions frequently feature detailed scenarios and practical problem-solving exercises that directly mirror industry challenges. Engaging with these XK0-005 sample sets allows you to effectively manage your time and pace yourself, giving you the ability to finish any CompTIA Linux+ Exam practice test comfortably within the allotted time.

Question # 4

A newly hired junior administrator is studying the format of the /var/log/messages file. Which of the following commands should the administrator use to preserve the contents of the original file while also creating an identical file in the /home/admin directory?

A.

touch /var/log/messages /home/admin

B.

mv /var/log/messages /home/admin

C.

cat /var/log/messages > /home/admin/messages

D.

ln -s /var/log/messages /home/admin

Question # 5

A Linux administrator needs to restart a server and wants to see if any users are currently connected to it. Which of the following commands should the administrator run to find this information?

A.

man

B.

id

C.

w

D.

host

Question # 6

A DevOps engineer wants to work on a snapshot of the infrastructure as code configuration. Which of the following commands should the engineer use to accomplish this task?

A.

git pull

B.

git push

C.

git branch

D.

git tag

Question # 7

A DevOps engineer wants to implement a new feature on the infrastructure as code configuration. Which of the following commands should the engineer use to accomplish this task?

A.

git pull

B.

git push

C.

git branch

D.

git tag

Question # 8

An administrator set up a new user account called "test". However, the user is unable to change their password. Given the following output:

Which of the following is the most likely cause of this issue?

A.

The SUID bit is missing on the /bin/passwd file.

B.

The password provided by the user "test" does not meet complexity requirements.

C.

The user "test" already changed the password today.

D.

The password has been disabled for user "test".

Question # 9

A Linux administrator recently downloaded a software package that is currently in a compressed file. Which of the following commands will extract the files?

A.

unzip -v

B.

bzip2 -z

C.

gzip

D.

funzip

Question # 10

A User on a Linux workstation needs to remotely start an application on a Linux server and then forward the graphical display of that application back to the Linux workstation. Which of the following would enable the user to perform this action?

A.

ssh -X user@server application

B.

ssh -y user@server application

C.

ssh user@server application

D.

ssh -D user@server application

Go to page: