Free 201-450 Sample Questions — LPIC-2 Exam 201

Free 201-450 sample questions for the LPIC-2 Exam 201 exam. No account required: study at your own pace.

Want an interactive quiz? Take the full 201-450 practice test

Looking for more? Click here to get the full PDF with 57+ practice questions for $5 for offline study and deeper preparation.

Question 1

Which of the following is a CD-ROM filesystem standard?

  • A. OSI 9660
  • B. ISO 9660
  • C. SR0FS
  • D. ISO 8859
  • E. ROM-EO
Show Answer
Correct Answer:
B. ISO 9660
Question 2

If the file containing the Linux kernel is deleted, what happens when the system boots?

  • A. The system starts normally since the bootloader copies the kernel to the master boot record of the hard disk
  • B. Instead of the kernel, the initramfs is loaded and instructed to mount the root filesystem and reinstall the kernel from the original package or from source
  • C. The bootloader mounts the root filesystem read-only and launches /bin/sh directly in order to allow the administrator to reinstall the kernel
  • D. Without a kernel system cannot boot and, depending on the bootloader, an error is displayed
Show Answer
Correct Answer:
D. Without a kernel system cannot boot and, depending on the bootloader, an error is displayed
Question 3

The following command has just been run successfully: Cd /opt; tar xvf /dev/nst0; What will happen if the command sequence is run again?

  • A. An error saying that there is no tape present is generated because the tape has been ejected after being used
  • B. The contents of /opt will be restored again
  • C. The entire contents of /opt will be replaced with the contents of the next file on the tape
  • D. The contents of /opt will have additional content added from the next file on the tape
Show Answer
Correct Answer:
D. The contents of /opt will have additional content added from the next file on the tape
Question 4

Which single command simulates a failed device within a RAID 5 array?

  • A. mdadm --remove /dev/md0 /dev/sdd1
  • B. mdadm --zero-superblock /dev/sdf3
  • C. mdadm --force-fault /dev/md2 /dev/sde2
  • D. mdadm --fail /dev/md0 /dev/sdc1
  • E. mdadm /dev/md0 --offline /dev/sdc1
Show Answer
Correct Answer:
D. mdadm --fail /dev/md0 /dev/sdc1
Question 5

In which directory tree are files modified when changing kernel parameters using the command sysctl?

  • A. /sys/kernel/
  • B. /proc/kernel/
  • C. /proc/sys/
  • D. /lib/sys/
  • E. /sys/proc/
Show Answer
Correct Answer:
C. /proc/sys/
Question 6

What is the purpose of the command udevadm monitor?

  • A. It listens to kernel events produced by a udev rule and prints information to the console
  • B. It monitors the /dev/ directory for new devices
  • C. It monitors the udev process and prints performance statistics to the console
  • D. It communicates with D-Bus to setup new devices
Show Answer
Correct Answer:
A. It listens to kernel events produced by a udev rule and prints information to the console
Question 7

Which of the following init systems comes along with an own UEFI boot loader?

  • A. systemd
  • B. SysVinit
  • C. Upstart
  • D. OpenRC
  • E. launchd
Show Answer
Correct Answer:
A. systemd
Question 8

Which of the following commands creates a Btrfs subvolume named volume in/mnt?

  • A. btrfs subvolume add ""n volume /mnt
  • B. btrfs create subvolume /mnt volume
  • C. btrfs-subvolume create /mnt/volume
  • D. btrfs subvolume new volume /mnt
  • E. btrfs subvolume create /mnt/volume
Show Answer
Correct Answer:
E. btrfs subvolume create /mnt/volume
Question 9

After the downloading patch-4.6.4.xz from http://kernel.org, what are the next steps to prepare the build of a version 4.6.4 Linux kernel? (Choose two.)

  • A. Uncompress the file and move the resulting directory to /usr/src/linux
  • B. Apply the patch file to the kernel source directory containing kernel version 4.6.0
  • C. Apply the patch file to the kernel source directory containing kernel version 4.6.3
  • D. Uncompress the file using xz to get the uncompressed patch file
  • E. Use patch to apply the uncompressed patch file to the source directory of any previous kernel version
Show Answer
Correct Answer:
  • B. Apply the patch file to the kernel source directory containing kernel version 4.6.0
  • D. Uncompress the file using xz to get the uncompressed patch file
Question 10

What action should be performed after increasing the size of a logical volume?

  • A. Run vgresize
  • B. Increase the size of the filesystem used for the logical volume
  • C. Run 1vresize
  • D. Remount the logical volume
Show Answer
Correct Answer:
B. Increase the size of the filesystem used for the logical volume

Aced these? Get the Full Exam

Download the complete 201-450 study bundle with 57+ questions in a single printable PDF.