Winter Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: myex65

Home > LPI > LPIC-2 Certified Linux Engineer > 201-450

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

Question # 4

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

Full Access
Question # 5

Which keyword is used in the /etc/inittab file to define the SysV-init default system runlevel?

Full Access
Question # 6

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

Full Access
Question # 7

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

A.

lilo

B.

lilo-config

C.

lilo-install

D.

install-lilo

Full Access
Question # 8

When a makefile is included in a source code package, what are commonly defined targets in the file?

A.

CFLAGS, CPPFLAGS, LIBS, LDFLAGS

B.

clean, install, uninstall

C.

PATHS, DESTDIR, LIBS, LDFLAGS

D.

prefix, exec_prefix, bindir, mandir

Full Access
Question # 9

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

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

Full Access
Question # 10

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

Full Access
Question # 11

Where would fsck put any unreferenced file or file fragments on a ext4 filesystem?

A.

recover

B.

lost+found

C.

back

D.

lost

Full Access
Question # 12

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

A.

OSI9660

B.

ISO9660

C.

SR0FS

D.

ISO8859

E.

ROM-EO

Full Access
Question # 13

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

Full Access
Question # 14

On a server running the 3.4.50-11 Linux kernel, which file in the /boot directory contains the kernel configuration parameters?

A.

config-linux-3.4.50-11

B.

config-3.4.50-11

C.

system-3.4.50-11

D.

vmlinuz-3.4.50-11

E.

rc.config-3.4.50-11

Full Access
Question # 15

Which archive format is used to create an initramfs image?

A.

gzip

B.

tar

C.

RAR

D.

cpio

E.

bzip2

Full Access
Question # 16

When planning a web server which of the following choices will impact system sizing? (Choose THREE correct answers.)

A.

How many concurrent users are expected.

B.

Which hardware vendor has better Linux support.

C.

What type of content will be served.

D.

What scripting languages will the web server support.

E.

Will the OS install be CD, DVD or network based.

Full Access
Question # 17

When is historical data of resource usage important? (Select THREE correct answers.)

A.

Predicting when resources will need to be increased.

B.

Selecting a computer vendor.

C.

Identifying processes killed during out of memory occurrences.

D.

Diagnosing capacity problems.

E.

Troubleshooting a software problem.

Full Access
Question # 18

Which of the following commands will list the IPv4 neighbors of the current system? This includes IP and MAC addresses. (Choose TWO correct answers.)

A.

arp

B.

ifconfig -lv eth0

C.

netstat -al

D.

ip neigh show

Full Access
Question # 19

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

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

Full Access
Question # 20

Which of the following commands can be used to list IPv4 addresses and MAC addresses for IP devices that the system has seen on the local network?

A.

arp

B.

ifconfig

C.

ipadm

D.

iwlist

Full Access
Question # 21

What does a 0 in the last field (fsck order) of /etc/fstab indicate about the filesystem?

A.

The filesystem should be checked before filesystems with higher values.

B.

The filesystem should be checked after filesystems with higher values.

C.

The filesystem check counter is ignored.

D.

The filesystem has been disabled from being checked and mounted on the system.

E.

The filesystem does not require an fsck check when being mounted.

Full Access
Question # 22

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

Full Access
Question # 23

Which of the following are common Linux filesystem types used for root partitions? (Choose THREE correct answers.)

A.

ext4

B.

VFAT

C.

NTFS

D.

XFS

E.

Btrfs

Full Access
Question # 24

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

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

Full Access