Weekend Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmas50

LPI 201-450 - LPIC-2 Exam 201, Part 1 of 2, version 4.5

Page: 4 / 5
Total 161 questions

In case the file containing the Linux kernel is lost, what happens when the system is booting?

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 a system cannot boot and, depending on the bootloader, an error is displayed.

Why is the root file system mounted read-only during boot and remounted with write permission later on?

A.

Because if problems with the root file system are detected during the boot, fsck can be run, without risk of damage.

B.

Because this way crackers cannot collect information about root with boot sniffers.

C.

To avoid writing to the disk, unless the root password is known.

D.

To avoid other operating systems overwriting the Linux root partition.

E.

Because the disk has its own write protection that cannot be changed by the operating system.

A server requires a GRUB2 boot option which will always boot to runlevel 1. Which line of a GRUB2 configuration file starts the beginning of the settings needed to make this new choice available?

A.

initrd

B.

linux

C.

menuentry

D.

runlevel

Please enter the complete path to the main SysV init process configuration file.

During booting, when the Linux kernel loads an initramfs file, which command from the initramfs will be executed first, if present?

A.

/init

B.

/initrd

C.

/linuxrc

D.

/rc.local

E.

/sbin/init

Which command is used to install a new LILO boot loader?

A.

lilo

B.

lilo-config

C.

lilo-install

D.

install-lilo

Which of the following is an example path to a Linux software RAID array?

A.

/dev/raid0

B.

/dev/rd1

C.

/dev/pr0

D.

/dev/md1

Which of the following best describes the format of the /etc/fstab file?

A.

device name; filesystem type; mount point; mount options; dump filesystem; fsck order

B.

device name; mount point; filesystem type; mount options; dump filesystem; fsck order

C.

device name; mount point; mount options; filesystem type; dump filesystem; fsck order

D.

mount point; filesystem type; device name; mount options; dump filesystem; fsck order

E.

mount point; device name; filesystem type; mount options; dump filesystem; fsck order

The correct command sequence to create and mount logical volumes on a Linux system is:

A.

lvcreate, pvcreate, vgcreate, mkfs, mount

B.

pvcreate, vgcreate, lvcreate, mkfs, mount

C.

vgcreate, lvcreate, pvcreate, mount, mkfs

D.

mkfs, pvcreate, vgcreate, lvcreate, mount

E.

pvcreate, lvcreate, vgcreate, mkfs, mount

Which file in /proc contains information on the status of local software RAID devices?

A.

/proc/raidstat

B.

/proc/mdstat

C.

/proc/raidstatus

D.

/proc/mdstatus

E.

/proc/raid/status