Summer Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

Linux+ XK0-005 Passing Score

Page: 21 / 37
Total 487 questions

CompTIA Linux+ Exam Questions and Answers

Question 81

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?

Options:

A.

man

B.

id

C.

w

D.

host

Question 82

A Linux administrator is troubleshooting an SSHD issue on a server. Users are receiving error messages stating the connection is refused. Which of the following commands should be used to verify whether the service is listening?

Options:

A.

nslookup

B.

route

C.

netstat

D.

ifconfig

Question 83

A Linux administrator is changing the default system umask. The newly created files should have the -rw-r----- permission, and the newly created directories should have the drwxr----- permission. Which of the following commands should the administrator use?

Options:

A.

umask 0035

B.

umask 0036

C.

umask 0037

D.

umask 0038

Question 84

A Linux administrator is working with a CPU-intensive program called data-analysis1. The administrator needs to prevent the program from monopolizing CPU resources and ensure that other critical processes are not impacted when the program starts. Which of the following commands would start the program with a reduced level of impact to the system?

Options:

A.

data-analysis1 --nice 15

B.

nice data-analysis1

C.

nice -15 data-analysis1

D.

data-analysis1 & nice +5

Page: 21 / 37
Total 487 questions