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

Online XK0-006 Questions Video

Page: 9 / 11
Total 149 questions

CompTIA Linux+ V8 Exam Questions and Answers

Question 33

A systems administrator is writing a script to analyze the number of files in the directory /opt/application/home/. Which of the following commands should the administrator use in conjunction with ls -l | to count the files?

Options:

A.

less

B.

tail -f

C.

tr -c

D.

wc -l

Question 34

An administrator must secure an account for a user who is going on extended leave. Which of the following steps should the administrator take? (Choose two)

Options:

A.

Set the user’s files to immutable.

B.

Instruct the user to log in once per week.

C.

Delete the user’s /home folder.

D.

Run the command passwd -l user.

E.

Change the date on the /home folder to that of the expected return date.

F.

Change the user’s shell to /sbin/nologin.

Question 35

An administrator updates the network configuration on a server but wants to ensure the change will not cause an outage if something goes wrong. Which of the following commands allows the administrator to accomplish this goal?

Options:

A.

netplan try

B.

netplan rebind

C.

netplan ip

D.

netplan apply

Question 36

Which of the following commands can be used to display current CPU utilization in real time on a Linux system?

Options:

A.

uptime

B.

top

C.

df

D.

lsblk

Page: 9 / 11
Total 149 questions