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

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

Page: 1 / 16
Total 161 questions

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

Testing Engine

  • Product Type: Testing Engine
$42  $119.99

PDF Study Guide

  • Product Type: PDF Study Guide
$36.75  $104.99
Question 1

How can the kernel parameter for the maximum size of the shared memory segment (shmmax) be changed to 2GB (2147483648 Bytes) on a running system? (Choose TWO correct answers.)

Options:

A.

Edit /etc/shmmax and set the parameter to 2147483648.

B.

sysctl shmmax=2147483648

C.

sysctl kernel.shmmax=2147483648

D.

echo 2147483648 > /proc/sys/kernel/shmmax

E.

export kernel.shmmax=2147483648

Question 2

A database application requires a maximum shared memory segment (shmmax) of 2GB (2147483648 Bytes). Which configuration file should be modified to set this kernel parameter permanently? (Specify the full name of the file, including path.)

Options:

Question 3

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

Options:

Question 4

In the following output from top, which processes contribute to the percentage of time that the CPU spends in the state of wa?

Tasks: 193 total, 1 running, 190 sleeping, 2 stopped, 0 zombie

Cpu(s): 0.5%us, 0.3%sy, 0.0%ni, 98.2%id, 1.0%wa, 0.0%hi, 0.0%si, 0.0%st

Options:

A.

Processes waiting for user interaction.

B.

Processes that were already closed and are waiting to be launched again.

C.

Processes that have not been scheduled yet because they haven't been fully loaded into RAM or are in swap.

D.

Processes waiting for IO operations to complete.

Question 5

In the following output, what percentage of time was the CPU waiting for pending I/O?

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

0

B.

100

C.

35.9

D.

57.7

E.

36.6

Question 6

What option in the collectd configuration file is required in order to define what to start monitoring?

Options:

A.

LoadModule

B.

Module

C.

Plugin

D.

LoadPlugin

Question 7

What are the main network services used by the PXE protocol? (Choose TWO correct answers.)

Options:

A.

DNS

B.

DHCP

C.

HTTP

D.

TFTP

E.

NFS

Question 8

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?

Options:

A.

initrd

B.

linux

C.

menuentry

D.

runlevel

Question 9

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 10

Which of the following commands displays the physical path of the kernel module named dummy?

Options:

A.

modprobe –i dummy

B.

modinfo –n dummy

C.

modpath –v dummy

D.

depmod –n dummy

E.

modshow –p dummy

Question 11

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?

Options:

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/

Question 12

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 13

Which command can be used to scan a specified network looking for IP addresses that appear to be in use?

Options:

A.

nmap

B.

tcpdump

C.

ip

D.

netscan

E.

hostdiscover

Question 14

The users of the local network complain that name resolution is not fast enough. Enter the command, without the path or any options, that shows the time taken to resolve a DNS query.

Options:

Question 15

The following is an excerpt from the output of tcpdump -nli eth1 'udp':

13:03:17.277327 IP 192.168.123.5.1065 > 192.168.5.112.53: 43653+ A? lpi.org. (25)

13:03:17.598624 IP 192.168.5.112.53 > 192.168.123.5.1065: 43653 1/0/0 A 198.51.100.42 (41)

Which network service or protocol was used?

Options:

A.

FTP

B.

HTTP

C.

SSH

D.

DNS

E.

DHCP

Question 16

A regular user, joe, has just run:

./configure && make && make install

to build and install a program. However, the installation fails. What could be done to install the program? (Choose TWO correct answers.)

Options:

A.

Install the binaries manually with suinstall.

B.

Run make install with root privileges.

C.

Do not run ./configure in order to maintain the default configuration for correct installation.

D.

Rerun ./configure with a --prefix option where the user has permissions to write.

E.

Run make install_local to install into /usr/local/.

Question 17

What does the -p3 option to the patch command do?

Options:

A.

It will strip off path information from each file mentioned in the patch file up to and including the third / character.

B.

patch continues execution as long as there are three or fewer errors.

C.

It instructs patch to look up to three lines of context before or after the declared line in the original file for a match.

D.

patch will keep three previous versions of each file in the output to prevent loss of change history.

E.

It instructs patch to conform more strictly to the POSIX standard.

Question 18

Which one of these directories should not be backed up?

Options:

A.

/backup

B.

/etc

C.

/opt

D.

/proc

E.

/var/log

Question 19

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

Options:

A.

OSI9660

B.

ISO9660

C.

SR0FS

D.

ISO8859

E.

ROM-EO

Question 20

Which RAID level value must be used with Linux software RAID in order to create an array of mirrored devices?

Options:

A.

1

B.

5

C.

6

D.

container

E.

mirrorstripe

Question 21

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

Options:

Question 22

Which command is used to create a ISO9660 filesystem? (Specify ONLY the command without any path or parameters.)

Options:

Question 23

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

Options:

Question 24

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

Options:

A.

OSI9660

B.

ISO9660

C.

SR0FS

D.

ISO8859

E.

ROM-EO

Page: 1 / 16
Total 161 questions