LPI · LPIC-2

LPI LPIC-2 201-450 Exam Practice Questions

120 questionsInstant PDF downloadUpdated September 2026

US$39

Try 10 questions free

Card, Apple Pay or Google Pay. Your PDF is sent by email as soon as you check out.

Pass or your money backFail the exam after using this pack and we refund it. How the guarantee works
Category:
TRY BEFORE YOU BUY

Three of the 120 questions in this pack

Question 1

Which of the following commands erases the contents of the /dev/sdb3 partition?

  1. rm /dev/sdb3
  2. dd if=/dev/zero of=/dev/sdb3
  3. dd of=/dev/zero if=/dev/sdb3
  4. umount /dev/sdb3
Show answer and explanation

Correct answer: B. dd if=/dev/zero of=/dev/sdb3

The command 'dd if=/dev/zero of=/dev/sdb3' writes zeros from /dev/zero to the partition /dev/sdb3, effectively erasing its contents. The 'if' (input file) and 'of' (output file) parameters are in the correct order to overwrite the partition with zeros.

Why the other options are wrong

  • A. rm cannot directly erase block device partitions; it only removes file references.
  • C. This swaps the parameters, reading from /dev/sdb3 and writing into /dev/zero, which discards the data and erases nothing.
  • D. umount only unmounts a filesystem but does not erase its contents.

Question 2

Which of the following files will be looked for and used by GNU make, if one of them exists, unless a different file is specified on the command line when trying to compile software from source code? (Choose two.)

  1. configure
  2. config.h.in
  3. makefile
  4. Makefile
  5. Makefile.in
Show answer and explanation

Correct answer: C, D

C. makefile D. Makefile Without -f, GNU make searches the current directory for GNUmakefile, then makefile, then Makefile, using the first one found. Of the options, makefile and Makefile are default build files make will use.

Why the other options are wrong

  • A. configure is a shell script for configuration, not a make file.
  • B. config.h.in is a template configure uses to generate config.h, not a make build file.
  • E. Makefile.in is a template configure processes into Makefile; make does not use it directly.

Question 3

Which of the following commands restores only those files containing lpi in their name from the archive lpifiles.tar.gz?

  1. tar xvzf lpifiles.tar.gz --wildcards "˜*lpi*'
  2. tar xvzwf lpifiles.tar.gz "˜*lpi*'
  3. tar -xvfz lpifiles.tar.gz --deep "˜*lpi*'
  4. tar -xvzf lpifiles.tar.gz --subdirs "˜*lpi*'
  5. tar xvzf lpifiles.tar.gz --globbing "˜*lpi*'
Show answer and explanation

Correct answer: A. tar xvzf lpifiles.tar.gz --wildcards "˜*lpi*'

The command 'tar xvzf lpifiles.tar.gz --wildcards "*lpi*"' extracts from a gzipped tar archive only the members matching the pattern '*lpi*'. The --wildcards option enables pattern matching, and the flags x (extract), v (verbose), z (gzip), and f (file) are correctly ordered.

Why the other options are wrong

  • B. The w flag means --interactive, prompting for confirmation, not pattern matching.
  • C. There is no --deep option in tar.
  • D. --subdirs is not a valid tar option.
  • E. --globbing does not exist; --wildcards is the correct option.

See all 10 free questions Get the full pack, US$39

120 practice questions for LPI LPIC-2 (201-450), with full explanations.

Every question comes with the correct answer, the reasoning behind it, and a note on why each wrong option is wrong, including the fill-in-the-blank items. Work through it once with the answers, then again with the questions-only copy under exam conditions.

  • 120 questions mapped to the 201-450 exam objectives
  • Answers and explanations for every question, including the wrong options
  • A questions-only PDF for timed practice runs
  • Instant delivery by email the moment you check out
  • Free monthly updates for as long as the exam is live
  • Pass or your money back

Fail the 201-450 and it costs another US$200. This pack is US$39, paid once, and refunded if you fail.

Try 10 questions free before you buy.

Last updated September 2026 · 120 questions

What makes the 201-450 hard

The 201-450 is not just multiple choice. LPI exams include fill-in-the-blank questions where the exact command, file path or argument has to be typed, with no options to choose from and no guessing possible.

It is also the first of two exams required to earn the full LPIC-2 certification, with 202-450 coming next, so failing here delays both. An active LPIC-1 is required to get this far, which makes this the wrong exam to cut corners on.

The weighting is unusually flat: networking configuration is the largest topic at weight 11 of 60, with the kernel, system startup and filesystems at 9 each. System maintenance is the lightest at 6. This pack has 120 practice questions for the 201-450, including every fill-in-the-blank style question.

About the exam

LPIC-2 is the Linux Professional Institute’s second professional certification level, validating advanced Linux system administration skills across any distribution. The 201-450 is the first of two required exams. The current version is 4.5, and an active LPIC-1 is required before certifying at LPIC-2. Valid for 5 years. LPI exams include fill-in-the-blank questions requiring exact command syntax, so hands-on terminal practice matters.

Exam domains

LPI publishes topic weights rather than percentages. The weights add up to 60 and map one to one onto the 60 exam questions, so a weight of 11 means roughly 11 questions.

  • Capacity planning: weight 8
  • Linux kernel: weight 9
  • System startup: weight 9
  • Filesystem and devices: weight 9
  • Advanced storage device administration: weight 8
  • Networking configuration: weight 11
  • System maintenance: weight 6

60 questions, 90 minutes, US$200 per attempt, Pearson VUE testing centres and online proctored, valid 5 years.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Questions before you buy

What do I get when I buy the LPI LPIC-2 201-450 pack?

120 practice questions as a PDF, each with the correct answer, a full explanation and a note on why the other options are wrong, plus a separate questions-only PDF for timed practice.

How quickly do I receive it?

Straight away. The full PDF and a questions-only copy are emailed to you the moment your payment goes through, and the same links are on your order page.

Is there a free sample?

Yes. Ten questions from this pack, with answers and explanations, are free on this page and as a PDF, so you can judge the quality before you pay.

Are updates included?

Yes. The pack is updated every month for as long as the exam is live, and updates are free for everyone who has bought it.

What if I fail the exam?

We refund the pack. Sit the exam 7 to 30 days after buying, then send your official score report within 7 days of the exam date, as set out in the refund policy.

Can I share it with colleagues?

Each purchase is licensed to one person. For a team, school or training organisation, email support@certstash.com for a licence that fits.