New Year Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

101-500 Reviews Questions

Page: 8 / 18
Total 243 questions

LPIC-1 Exam 101, Part 1 of 2, version 5.0 Questions and Answers

Question 29

Which of the following directories on a 64-bit Linux system typically contain shared libraries? (Choose two.)

Options:

A.

~/.lib64/

B.

/usr/lib64/

C.

/var/lib64/

D.

/lib64/

E.

/opt/lib64/

Question 30

A faulty kernel module is causing issues with a network interface card. Which of the following actions ensures that this module is not loaded automatically when the system boots?

Options:

A.

Using lsmod --remove --autoclean without specifying the name of a specific module

B.

Using modinfo –k followed by the name of the offending module

C.

Using modprobe –r followed by the name of the offending module

D.

Adding a blacklist line including the name of the offending module to the file /etc/modprobe.d/blacklist.conf

E.

Deleting the kernel module’s directory from the file system and recompiling the kernel, including its modules

Question 31

Which command displays a list of all background tasks running in the current shell? (Specify ONLY the command without any path or parameters.)

Options:

Question 32

When running the command

sed -e "s/a/b/" /tmp/file >/tmp/file

While /tmp/file contains data, why is /tmp/file empty afterwards?

Options:

A.

The file order is incorrect. The destination file must be mentioned before the command to ensure redirection.

B.

The command sed did not match anything in that file therefore the output is empty.

C.

When the shell establishes the redirection it overwrites the target file before the redirected command starts and opens it for reading.

D.

Redirection for shell commands do not work using the > character. It only works using the | character instead.

Page: 8 / 18
Total 243 questions