LPI certification · Exam 101-500

101-500 Mock Exam Page 2

LPIC-1 Exam 101, Part 1 of 2, version 5.0

Free 101-500 mock exam questions 11–20, each with the answer and an explanation.

20 questions · 33 minutes · free, no sign-up

Free 101-500 questions

11–20 of 69 free
Question 11

Which option to the yum command will update the entire system? (Specify ONLY the option
name without any additional parameters.)

Show answerHide answer

Explanation

Answer: update, upgrade

Question 12 Choose 1

Which of the following commands can be used to perform a full text search on all available packages on a Debian system?

Show answerHide answer

Correct answer: B

apt-cache

Question 13 Choose 1

Which of the following is correct when talking about mount points?

Show answerHide answer

Correct answer: A

Every existing directory can be used as a mount point.

Question 14 Choose 1

Which of the following commands is used to update the list of available packages when using dpkg based package management?

Show answerHide answer

Correct answer: A

apt-get update

Question 15 Choose 1

You want to preview where the package file, apache-xml.i386.rpm, will install its files before
installing it. What command do you issue?

Show answerHide answer

Correct answer: D

rpm -qpl apache-xml.i386.rpm

Question 16 Choose 1

Which of the following characters can be combined with a separator string in order to read from the current input source until the separator string, which is on a separate line and without any trailing spaces, is reached?

Show answerHide answer

Correct answer: A

<<

Explanation

Explanation:
QUESTIONNO: 16
Which of the following commands will NOT update the modify timestamp on the file
/tmp/myfile.txt?
A. file /tmp/myfile.txt
B. echo "Hello" >/tmp/myfile.txt
C. sed -ie "s/1/2/" /tmp/myfile.txt
D. echo -n "Hello" >>/tmp/myfile.txt
E. touch/tmp/myfile.txt
Answer: A

Question 17 Choose 1

Which of the following commands kills the process with the PID 123 but allows the process to "clean up" before exiting?

Show answerHide answer

Correct answer: D

kill -TERM 123

Question 18 Choose 1

What is the default nice level when a process is started using the nice command?

Show answerHide answer

Correct answer: B

10

Question 19 Choose 1

What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process?

Show answerHide answer

Correct answer: B

19

Question 20 Choose 1

You are trying to make a hard link to an ordinary file but ln returns an error. Which of the following could cause this?

Show answerHide answer

Correct answer: E

The source and the target are on different filesystems.

Full mock exam

Sit the 101-500 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real 101-500 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full 101-500 mock exam
  • 65questions per mock
  • 105 mintime limit
  • 242questions in the bank
  • Newmock on every attempt