Labour Day Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

LPI 201-450 Dumps

Page: 1 / 6
Total 161 questions

LPIC-2 Exam 201, Part 1 of 2, version 4.5 Questions and Answers

Question 1

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

Options:

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

Question 2

Which command is used to make an exact copy, at a single point in time, of a logical volume while still allowing the original logical volume to be updated?

Options:

A.

lvcclone

B.

lvcreate

C.

lvm2

D.

lvsnap

E.

lvsnapshot

Question 3

On a Linux node with multiple active networks interfaces, each having a default route to the Internet, which default route is preferred?

Options:

A.

The default route with the highest metric value

B.

The default route with the highest MTU value

C.

The default route with the lowest TTL value

D.

The default route with the highest TTL value

E.

The default route with the lowest metric value

Question 4

Where is the LILO boot loader code typically installed on a system with only a single Linux installation and no other operating systems?

Options:

A.

In the master boot record.

B.

In the boot sector.

C.

In the /boot directory.

D.

At the start of the kernel.

Question 5

If all of the following files and/or symlinks exist in a SysV-init runlevel directory, which of the following will be executed first when booting the system directly into the runlevel?

Options:

A.

S99lpi

B.

K99lpi

C.

PRE-S99lpi

D.

S98lpi

E.

S99a-lpi

Question 6

What is the functionality that PXE provides?

Options:

A.

The ability to boot a computer using its network interface.

B.

The ability to launch an remote X11 desktop on a computer.

C.

The ability to verify a system's configuration after completing the boot process.

D.

The ability to verify a system's configuration before completing the boot process.

Question 7

In the below example output, which columns detail the percent of time the CPU spent running non-kernel code and the percent of time the CPU spent running kernel code? (Choose TWO correct answers.)

# vmstat 1 100

procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----

r b swpd free buff cache si so bi bo in cs us sy id wa

0 0 0 282120 134108 5797012 0 0 0 2 0 0 0 0 100 0

0 0 0 282120 134108 5797012 0 0 0 0 1007 359 0 0 100 0

0 0 0 282120 134108 5797012 0 0 0 0 1117 577 0 0 100 0

0 0 0 282120 134108 5797012 0 0 0 0 1007 366 0 0 100 0

Options:

A.

id

B.

us

C.

wa

D.

sy

Question 8

Which of the following commands will provide the PIDs of the processes sorted by which are using the most CPU cycles on the Linux system?

Options:

A.

top

B.

uptime

C.

ps aux

D.

vmstat

E.

freemem

Question 9

In the following output, what is the 5 minute load average for the system?

# uptime

12:10:05 up 18 days, 19:00, 2 users, load average: 0.47, 24.71, 35.31

Options:

A.

0.47

B.

24.71

C.

35.31

D.

There is no 5 minute interval. It is some value between 0.47 and 24.71.

E.

There is no 5 minute interval. It is some value between 24.71 and 35.31.

Question 10

Which directory in /dev/disk/ can be used to determine the UUID of a connected hard disk?

Options:

Question 11

Consider the following /etc/fstab file:

/dev/hda1 swap swap defaults 0 0

/dev/hda2 / ext2 defaults 1 1

/dev/hda3 /home ext2 defaults 1 2

none /proc proc defaults 0 0

/dev/sdb1 /media/usb0 vfat user,noauto 0 0

What is one of the possible commands that an ordinary (non-root) user can use to mount the /dev/sdb1 partition on the /media/usb0 mount point? (Please enter the command with all parameters and/or options but without any file system type options.)

Options:

Question 12

Due to extreme system use, a Linux system requires some additional swap space. To initialize 5GB of additional swap space, which combination of commands should be used?

Options:

A.

dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; mkswap /tmp/swapfile; mount /tmp/swapfile

B.

dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; swapon /tmp/swapfile

C.

dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; mkswap /tmp/swapfile; swapon /tmp/swapfile

D.

touch -5G /tmp/swapfile; swapon /tmp/swapfile

E.

mkswap /tmp/swapfile 512000; swapon /tmp/swapfile

Question 13

According to the Filesystem Hierarchy Standard (FHS), what is the path to the Linux kernel source and may be a symbolic link to the real Linux source code? (Please specify the full path with no version information.)

Options:

Question 14

Which archive format is used to create an initramfs image?

Options:

A.

gzip

B.

tar

C.

RAR

D.

cpio

E.

bzip2

Question 15

Which directory contains the system-specific udev rule files? (Specify the absolute path including the directory name)

Options:

Question 16

Which directory in /dev/disk/ can be used to determine the UUID of a connected hard disk?

Options:

Question 17

What command is used to make an exact copy, at a single point in time, of a logical volume for backup purposes?

Options:

A.

lvsnap

B.

lvsnapshot

C.

lvcreate

D.

lvcopy

E.

lvclone

Question 18

What command will remove a physical volume from a volume group? (Specify ONLY the command without any path or parameters.)

Options:

Question 19

The following command has just been run successfully:

cd /opt; tar xvf /dev/nst0;

What will happen if the command sequence is run again?

Options:

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.

Question 20

Which file contains the message that is displayed above the login prompt of the system console? (Specify the full name of the file, including path.)

Options:

Question 21

Which of the following commands will erase the contents of the /dev/sdb3 partition?

Options:

A.

rm /dev/sdb3

B.

dd if=/dev/zero of=/dev/sdb3

C.

dd of=/dev/zero if=/dev/sdb3

D.

umount /dev/sdb3

Question 22

Which program lists information about files and network connections opened by processes? (Specify ONLY the command without any path or parameters.)

Options:

Question 23

Considering the following kernel IP routing table below, which of the following commands must be used to remove the route to the network 10.10.1.0/24? (Select TWO answers)

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

203.0.113.162 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0

172.16.87.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0

192.168.246.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1

10.10.1.0 192.168.246.11 255.255.255.0 UG 0 0 0 eth1

127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo

0.0.0.0 203.0.113.162 0.0.0.0 UG 0 0 0 ppp0

Options:

A.

ip net delete 10.10.1.0/24

B.

route del 10.10.1.0/24

C.

route del -net 10.10.1.0/24

D.

route del 10.10.1.0/24 gw 192.168.246.11

E.

ip route delete 10.10.1.0/24

Question 24

What should be done after updating the configuration file for syslogd in order to make the changes become effective? (Choose TWO correct answers.)

Options:

A.

No action is required, syslogd will notice the updated configuration file after a few minutes.

B.

Send the HUP signal to the syslogd process.

C.

Restart the syslogd service.

D.

Run the command syslogd -u.

Page: 1 / 6
Total 161 questions