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: 5 / 5
Total 161 questions

How can the label root be added to the ext4 filesystem on /dev/sda1?

A.

relabel /dev/sda1 root

B.

tune2fs -L root /dev/sda1

C.

echo 'root' > /proc/fs/sda1/label

D.

labelfs --device /dev/sda1 root

What component of a system does smartd monitor?

A.

CPU

B.

RAM

C.

Hard drives

D.

Ethernet traffic

What effect does the –f option to the update-rc.d command have on files in the /etc/rcX.d/ and /etc/init.d/ directories?

A.

It will force the removal of the symlinks in /etc/rcX.d/ even when the links are read only

B.

It will remove both the symlinks in /etc/rcX.d/ and the init script in /etc/init.d/

C.

It will remove the init script in /etc/init.d/ and the symlinks in /etc/rcX.d/ and update the package information of installed files

D.

It will force the removal of symlinks in /etc/rcX.d/ even if the corresponding init script still exists in /etc/init.d/

Which sub command to crypsetup shows information about an encrypted LUKS partition?

A.

luksDump

B.

luksInfo

C.

luksDebug

D.

luksLS

E.

luksShow

What information is found in the following excerpt from the file /proc/mdstat? (Choose two.)

A.

One of the disks in /dev/md0 has failed and a spare disk is used to recreate full redundancy

B.

The spare disk /dev/sda1 is used to restore full redundancy after the current recovery

C.

The information [UU_] means, that the raid is missing one disk and is not fully redundant

D.

The device is using version 1.2 metadata to allow LILO and GRUB Legacy to use /dev/md0 as the boot partition. This would not have been necessary with GRUB2

E.

The information [3/2] means that 3 RAID disks belong to the array and 2 disks are spare. Together they equal the number of available disks

What command ensures that the file systems are written to disk after a lot of write operations? (Specify ONLY the command without any path or parameters.)

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

A.

tar xvzf lpifiles.tar.gz --wildcards ‘*lpi*’

B.

tar xvzwf lpifiles.tar.gz ‘*lpi*’

C.

tar -xvfz lpifiles.tar.gz --deep ‘*lpi*’

D.

tar -xvzf lpifiles.tar.gz --subdirs ‘*lpi*’

E.

tar xvzf lpifiles.tar.gz --globbing ‘*lpi*’

Which of the following configuration files are used by tcpwrapper?

A.

/etc/tcpd.allow and etc/tcpd.deny

B.

/etc/tcpwrapper.allow and /etc/tcpwrapper.deny

C.

/etc/hosts.allow and /etc/hosts.deny

D.

/etc/service.allow and /etc/service.deny