LPI 101 and 102 Certification Practice Test

Posted on in Categories Certification, Linux last updated May 23, 2006

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

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.

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

8 comment

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

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

  3. @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.

  4. @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.

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

  6. 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 Comment