LPI 101 and 102 Certification Practice Test

David Mertz has setup LPI 101 Certification Practice Test online. The Linux Professional Institute (LPI) runs a certification in Linux skills.

ADVERTISEMENTS

He wrote practice LPI tests for ICE (IBM’s Certification Exam ICE Tool,). You can find the content in a simple HTML format at:

(1) LPI 101 Certification Practice Test
(2) LPI 102 Certification Practice Test

If you are planning to write LPI certificate then try out this online test.

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source & DevOps topics via:
CategoryList of Unix and Linux commands
File Managementcat
FirewallCentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNCentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
8 comments… add one
  • Chris Knadle Jun 4, 2008 @ 22:19

    The LPI 101 Certification Practice test has the following problems that need fixing:

    – 2.4/3/1 is missing the required exhibit.

    – 1.3/2/3 shows the answer is D, which is wrong; the answer is A. Running choice D results in an error — ‘cut -b 0-5’ is impossible because bytes start at 1, not 0.

    – 2.4/1/2 shows the answer is A, which is wrong; the answer is AC. ‘mkfs -t ext2 /dev/hda4’ will format the 4th partition of the first IDE hard disk just fine.

    – 1.8/1/1 shows the answer is C, which seems wrong; the ‘apropos’ and ‘whatis’ programs search the same information, so the answer should be CD.

    – 2.11/2/2 shows the answer is D, which is wrong; the answer is C. The ‘/etc/skel’ directory contains files that will be copied to a newly created user directory.

  • John Lay Jun 26, 2008 @ 14:19

    The command ‘ps -A’ displays an ordered list of all running processes, with the right-justifed process ID in the first space-separated field. Suppose you would like to display to screen a list of the five most recently launched processes (those with the highest process IDs). Which of the following commands will display the desired items?

    *

    A. ps -A | tail -5 | cut -f 1 -d ” ”

    *

    B. ps -A | tail -5 | sed ‘s/[ ]*[0-9]*//’

    *

    C. ps -A | head -5 | nl

    *

    D. ps -A | tac | head -5 | cut -b 0-5

    The answer to this question according to the test is D. But accroding to the command line output “cut: fields and positions are numbered from 1” so the correct answer would be

    ps -A | tac | head -5 | cut -b 1-5 not 0-5

  • Hans Hansen Feb 5, 2009 @ 20:42

    @Chris Knadle

    Your assumptions about

    2.4/1/2 shows the answer is A, which is wrong; the answer is AC. ‘mkfs -t ext2 /dev/hda4′ will format the 4th partition of the first IDE hard disk just fine.

    is wrong. The question assumes logical partitions. Hence hda4 will never exist.

  • XeN-Lo Feb 7, 2009 @ 0:26

    @Chris Knadle
    1.8/1/1 shows the answer is C, which seems wrong; the ‘apropos’ and ‘whatis’ programs search the same information, so the answer should be CD.
    That’s wrong. The question ask which would be the BEST. The difference between apropos and whatis:
    – apropos will search for *floozflam* in the names and in the descriptions of the man pages
    – whatis will only display the description of the man page of floozflam.

  • xoxox Oct 15, 2010 @ 18:07

    wtf are you guys talking about!!!! none of this made any sence to me this is NOT an LPI test!

  • Stephen Jul 15, 2012 @ 2:13

    These are really low quality questions. Do not try these unless you want misformation.

  • Ananth Sep 11, 2012 @ 11:25

    Having just completd and passed the LPI 101 exam yesterday I would strongly recommend you to purchase the book: EXAM CRAM 2 LPIC 1 by Ross Brunson. Don’t focus too much on doing the online test simulations, know the theory (or memorise, whatever works for you!), practise commands on a Linux box and run through the test question in the book.

    All the best

  • confused Apr 15, 2014 @ 21:40

    Are you serious? Look at this question, do I really need to know these straight from my head if all needed tasks can be done by their prerequesite “rpm”? They are not even common. I am going to try lpi 1 exams, but this question just doesn’t make any sence about what’s expected from a system administrator..

    Assume you are maintaining a RPM-based Linux sysem. Which of the following applications can be used (if present on your system) for interactive management of installed packages?

    A. dselect

    B. kpackage

    C. gpackage

    D. xrpm

    E. rpmfind

    F. gnorpm

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.