New Year Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70percent

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

Demo: 24 questions
Total 161 questions

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

Question 1

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 2

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 3

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 4

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 5

A system with SysV-init has a service installed called apache2. Which file controls the start and stop of this service and is referenced by the various runlevel directories?

Options:

A.

/etc/init.d/apache2

B.

/etc/rc2.d/70apache2

C.

/etc/rc2.d/apache2

D.

/etc/rc2.d/apache2.start

Question 6

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

Options:

A.

lilo

B.

lilo-config

C.

lilo-install

D.

install-lilo

Question 7

After configuring a new kernel, what file under /usr/src/linux/ contains the configuration?

Options:

Question 8

Which archive format is used to create an initramfs image?

Options:

A.

gzip

B.

tar

C.

RAR

D.

cpio

E.

bzip2

Question 9

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

Options:

Question 10

Which of the following properties should be recorded in order to monitor the quality of a network link? (Choose two.)

Options:

A.

Bandwidth in both directions

B.

Number of nodes using the link

C.

Effective Latency

D.

Number of IPv4 and IPv6 packets

E.

Number of used TCP ports

Question 11

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

Options:

Question 12

A Linux server running systemd booted to rescue.target for maintenance. Which commands are used to restore the server to its usual target? (Choose two.)

Options:

A.

telinit 0

B.

systemctl default

C.

sync

D.

systemctl emergency

E.

systemctl reboot

Question 13

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

Options:

A.

OSI9660

B.

ISO9660

C.

SR0FS

D.

ISO8859

E.

ROM-EO

Question 14

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

Options:

A.

ext4

B.

VFAT

C.

NTFS

D.

XFS

E.

Btrfs

Question 15

After a lot of write operations, the administrator want to ensure that the kernel flushes the file system buffers to disk. Which command will accomplish this? (Specify ONLY the command without any path or parameters.)

Options:

Question 16

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

Options:

A.

recover

B.

lost+found

C.

back

D.

lost

Question 17

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 18

What component of a system does smartd monitor?

Options:

A.

CPU

B.

RAM

C.

Hard drives

D.

Ethernet traffic

Question 19

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

Options:

Question 20

What should be done to ensure a client machine uses the recursive nameserver running on the IP address 192.168.0.1? (Choose TWO correct answers.)

Options:

A.

Add nameserver 192.168.0.1 to /etc/resolv.conf.

B.

Run route add nameserver 192.168.0.1.

C.

Run ifconfig eth0 nameserver 192.168.0.1.

D.

Ensure that the dns service is listed in the hosts entry in the /etc/nsswitch.conf file.

E.

Run bind add nameserver 192.168.0.1.

Question 21

Which of the following files are used to resolve hostnames to IP addresses? (Choose TWO correct answers.)

Options:

A.

/etc/systems

B.

/etc/hosts

C.

/etc/network

D.

/etc/dns.conf

E.

/etc/resolv.conf

Question 22

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 23

What is the device name for the first SCSI tape drive on a system when used without automatic rewinding after each write operation? (Please specify the full path to the device.)

Options:

Question 24

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

Options:

A.

configure

B.

config.h.in

C.

makefile

D.

Makefile

E.

Makefile.in

Demo: 24 questions
Total 161 questions