LPI certification · Exam 101-500

101-500 Mock Exam

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

Free 101-500 questions on Topic 2, Linux Installation and Package Management, each with the answer and an explanation.

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

Topic 2, Linux Installation and Package Management questions

1–9 of 9 free
Question 1 Choose 1

Which RPM command will output the name of the package which supplied the file
/etc/exports?

Show answerHide answer

Correct answer: B

rpm -qf /etc/exports

Question 2

Which Debian package management tool asks the configuration questions for a specific
already installed package just as if the package were being installed for the first time?
(Specify ONLY the command without any path or parameters.)

Show answerHide answer

Explanation

Answer: dpkg-reconfigure

Question 3 Choose 1

Which of the following options is used in a GRUB Legacy configuration file to define the
amount of time that the GRUB menu will be shown to the user?

Show answerHide answer

Correct answer: C

timeout

Question 4 Choose 3

When using rpm -verify to check files created during the installation of RPM packages,
which of the following information is taken into consideration? (Choose THREE correct
answers.)

Show answerHide answer

Correct answer: A, B, D

Timestamps

MD5 checksums

File sizes

Question 5

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 6 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 7 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 8 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 9 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

That's the last free question in Topic 2, Linux Installation and Package Management

You've seen the free 30% (9 of 31 questions). Full access unlocks every question and full-length 101-500 mock exams (65 questions, 105 minutes), a different mock on every attempt.

Unlock full mock exam
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