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

Which of the following files will be looked for and used by GNU make, if one of them exists, unless a different file is specified on the command line when trying to compile software from source code? (Choose TWO correct answers.)

A.

configure

B.

config.h.in

C.

makefile

D.

Makefile

E.

Makefile.in

The following command has just been run successfully:

cd /opt; tar xvf /dev/nst0;

What will happen if the command sequence is run again?

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.

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

A.

nmap

B.

tcpdump

C.

ip

D.

netscan

E.

hostdiscover

What is the command to add another IP address (192.168.1.2) to a network interface (eth0) that already has (at least) one IP address in the 192.168.1.0/24 subnet?

A.

ip add addr 192.168.1.2/32 dev eth0

B.

ifconfig eth0 192.168.1.2 netmask 255.255.255.255

C.

ip addr add 192.168.1.2/32 dev eth0

D.

ipconfig eth0 192.168.1.2

A network client has an ethernet interface (eth0) configured with an IP address in the subnet 192.168.0.0/24. This subnet has a router, with the IP address 192.168.0.1, that connects this subnet to the Internet. What needs to be done on the client to enable it to use the router as its default gateway? (Choose TWO correct answers.)

A.

route add default gw 192.168.0.1 eth0

B.

ifconfig eth0 defaultroute 192.168.0.1

C.

ip route add default via 192.168.0.1 dev eth0

D.

echo defaultroute 192.168.0.1 >> /etc/resolv.conf

E.

route add defaultgw=192.168.0.1 if=eth0

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

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.

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

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?

A.

FTP

B.

HTTP

C.

SSH

D.

DNS

E.

DHCP

Which of the following command sequences can be used to extract files contained in a initramfs file (/boot/initramfs) which is used by the kernel at boot time?

A.

cp /boot/initramfs /tmp/initramfs.gz; gzip -c /tmp/initramfs.gz; mkdir /tmp/initramfs.dir ; cd /tmp/initramfs.dir ; cpio -i < /tmp/initramfs

B.

cp /boot/initramfs /tmp/initramfs.gz; gunzip /tmp/initramfs.gz; mkdir /tmp/initramfs.dir ; cd /tmp/initramfs.dir ; cpio -i < /tmp/initramfs

C.

cp /boot/initramfs /tmp/initramfs.gz; gunzip /tmp/initramfs.gz; mount /tmp/initramfs /mnt/ -o loop -t initramfs

D.

cp /boot/initramfs /tmp/initramfs.gz; gunzip /tmp/initramfs.gz; mkdir /tmp/initramfs.dir ; cd /tmp/initramfs.dir ; cpio -e /tmp/initramfs

E.

cp /boot/initramfs /tmp/initramfs.gz; gunzip /tmp/initramfs.gz; mount /tmp/initramfs /mnt/ -o loop -t initrd

How is the source code for the main Linux kernel modules distributed?

A.

It is included with the Linux kernel source code.

B.

The kernel modules are downloaded on demand as they are used during compilation.

C.

The kernel modules have their own release cycle and can be maintained separately from the Linux kernel source.

D.

It is provided as a separate download alongside the Linux kernel source code of the same version.