Skip to content

LPIC-2 Exam 201

Here you have the best LPI 201-450 practice exam questions

  • Preview the first 5 of 120 questions for free
  • These questions were last updated on May 16, 2026
  • This site is not affiliated with or endorsed by LPI.
Question 1 of 120

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

Suggested Answer

The suggested answer is B.

The correct command to erase the contents of the /dev/sdb3 partition is 'dd if=/dev/zero of=/dev/sdb3'. This command uses 'dd' to copy data; 'if=/dev/zero' specifies the input file as /dev/zero, a special file in Unix-like systems that provides as many null bytes (zeroes) as are read from it. 'of=/dev/sdb3' specifies the output file as the /dev/sdb3 partition. Thus, this command effectively overwrites the partition with zeroes, erasing its contents.

Community Votes8 votes
BSuggested
100%
Question 2 of 120

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.)

Answer

Suggested Answer

The suggested answer is C, D.

When using GNU make to compile software from source code, it will by default look for a file named 'makefile' or 'Makefile'. These are the two standard file names recognized by GNU make for the build instructions unless a different file is specified on the command line.

Community Votes3 votes
CDSuggested
100%
Question 3 of 120

FILL BLANK -

What command is used to send messages to all users currently logged in? (Specify ONLY the command without any path or parameters.)

Answer

Suggested Answer

The command used to send messages to all users currently logged in is 'wall'. The 'wall' command allows the system administrator to broadcast a message or the contents of a file to all logged-in users' terminals. The command sends the specified message to all users who are logged in to the system and have writable terminals.

Question 4 of 120

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

Answer

Suggested Answer

The suggested answer is A.

The correct command to extract only those files containing 'lpi' in their names from the archive lpifiles.tar.gz is 'tar xvzf lpifiles.tar.gz --wildcards "*lpi*"'. By using the '--wildcards' option, tar will interpret the pattern '*lpi*' and extract the matching files from the archive.

Community Votes2 votes
ASuggested
100%
Question 5 of 120

A regular user has just run -

./configure && make && make install

to build and install a program. However, the installation fails. What could be done to install the program? (Choose two.)

Answer

Suggested Answer

The suggested answer is B, D.

To install the program successfully, there are a few common methods when the installation process fails due to a regular user not having sufficient permissions. First, running 'make install' with root privileges (option B) ensures that the user has the necessary permissions to write to system directories. Second, rerunning './configure' with a '--prefix' option to a directory where the user has write permissions (option D) allows installation to proceed in a user-owned directory, avoiding permission issues.

115 more questions await

Unlock the full LPI 201-450 question bank

5 of 120 completed4%

Choose your plan

One-time payment · No subscription · No hidden fees

Standard

Quick preparation

$25

30 days access

30 day access to all questions
Instant free updates
Highest passing rate in industry
Printable PDF download
No money-back guarantee
Best Value

Premium

Guaranteed success

$60$35

90 days access

PDF

Printable PDF download

New

Save every question as a PDF for offline study or printing.

90 day access to all questions
Instant free updates
Highest passing rate in industry
Pass guaranteed or money back

100% Money-Back Guarantee

Don't pass? Full refund.

4.9/5

Based on 5,108+ reviews

Trusted by thousands of professionals

Join certified professionals who passed their exams with Examice

Examice helped me pass my AWS certification on the first try! The questions were incredibly similar to the real exam. Comments helped me understand answers I was struggling with.
S
Sarah C.
Cloud Engineer
Great results in a short prep time. Passed on my first attempt.
D
David K.
Network Engineer
I needed to pass an exam for work, and this website delivered. The quality for the price is outstanding, and the support is really good. I passed without issues.
M
Michael R.
Security Analyst
Skeptical at first, but impressed. Every question included clear, detailed explanations.
L
Lisa M.
Solutions Architect
The guarantee gave me confidence to invest in the premium package. Turns out I didn't need it. Passed comfortably. The explanations for each answer were incredibly detailed and helped me grasp security concepts that I'd been struggling with for months.
R
Robert H.
Cybersecurity Consultant
Used Examice for my PMP certification. The questions were well structured and covered all exam domains thoroughly.
J
James T.
IT Manager
After failing my first attempt with other study materials, I switched to Examice and passed confidently on my second attempt.
A
Anna W.
Data Engineer
The premium package was worth it. 90 days of access gave me the flexibility to study when it worked for me, without feeling rushed.
E
Emily J.
DevOps Engineer
Straightforward questions that matched the real exam perfectly. Studied for two weeks and passed with a great score.
K
Karen P.
Systems Administrator

Frequently Asked Questions

Everything you need to know. Contact us for more.

Our LPI 201-450 questions are based on real exam experiences and are continuously updated to match the current exam format. We maintain a +99% pass rate because our questions closely mirror what you'll see on the actual exam.

With our Premium package, you get a 100% money-back guarantee. If you don't pass your exam after studying with our materials, simply contact us with your exam results and we'll refund your purchase. Terms and conditions apply, read our full refund policy to learn more.

Our question bank is updated regularly based on feedback from recent exam takers. We typically review and update our content every week with reports about new questions or changes to the exam format.

Standard package access cannot be extended. However, Premium package gives you 90 days which is typically more than enough time to prepare thoroughly. If you need additional time, you can purchase a new package at any time.

This is a one-time payment with no recurring charges. Once you purchase, you get full access to all exam questions for the duration of your package (30 days for Standard, 90 days for Premium). No hidden fees or automatic renewals.

Pass on your first try

All 120questions · Detailed explanations · Printable PDF · 90 days access

Money-back guaranteeSecure checkout
$35

one-time payment