Certbus > Lpi > Lpic Level 2 > 201-450 > 201-450 Online Practice Questions and Answers

201-450 Online Practice Questions and Answers

Questions 4

What is the purpose of the command udevadm monitor?

A. It listens to kernel events produced by a udev rule and print information to the console.

B. It monitors the /dev directory for new devices.

C. It monitors the udev process and prints performance statistics to the console.

D. It communicates with D-Bus to setup new devices.

Browse 161 Q&As
Questions 5

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

Browse 161 Q&As
Questions 6

What is the correct parameter to pass to the kernel at boot time to force it to use only one of the available processors?

A. maxcpus=1

B. usecpus=1

C. smpcpus=1

D. vcpumx=1

Browse 161 Q&As
Questions 7

What is the minimum number of disks required in a fully redundant RAID5 array?

A. 1

B. 2

C. 3

D. 4

E. 5

Browse 161 Q&As
Questions 8

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

A. recover

B. lost+found

C. back

D. lost

Browse 161 Q&As
Questions 9

A correctly formatted entry has been added to /etc/hosts.deny to prevent certain clients from connecting to a service but this is having no effect. What could be the cause of this? (Choose TWO correct answers.)

A. tcpd needs to be sent the HUP signal.

B. The service needs to be restarted.

C. The machine needs to be restarted.

D. There is a conflicting entry in /etc/hosts.allow.

E. The service does not support tcpwrapper.

Browse 161 Q&As
Questions 10

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

Browse 161 Q&As
Questions 11

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

A. rm /dev/sdb3

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

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

D. umount /dev/sdb3

Browse 161 Q&As
Questions 12

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

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

Browse 161 Q&As
Questions 13

Which of the following commands adds a static IPv6 address to the network interface eth0?

A. ip add addr 2001:db8::1337/64 dev eth0

B. ip -6 add addr 2001:db8::1337/64 dev eth0

C. ip addr add 2001:db8::1337/64 dev eth0

D. ip -6 addr add new 2001:db8::1337/64 dev eth0

E. ip addr add -6 2001:db8::1337/64 dev eth0

Browse 161 Q&As
Questions 14

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?

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/

Browse 161 Q&As
Questions 15

A new kernel version needs to be compiled to use a new feature. If the old kernel configuration file is available, which make target creates a configuration file for the new kernel based on the configuration of the old kernel?

Browse 161 Q&As
Questions 16

What keyword is missing in the following line from /etc/fstab in order to make a USB flash device writeable by the user fred when mounted:

/dev/sda1 /mnt/usbflash vfat defaults,users,______=fred,umask=022, 0 0

(Provide the option name only without any settings)

Browse 161 Q&As
Questions 17

Running tcpdump -nli eth1 'tcp' shows the following output:

14:41:53.694538 IP 10.1.52.145.51738 > 24.215.7.162.143: Flags [.], ack 33051, win 1002, options [nop,nop,TS val 36789130 ecr 1746004159], length 0

What is the source IP address of this packet? (Please specify the answer in digits and dots ONLY.)

Browse 161 Q&As
Questions 18

Which is the main configuration file for the SystemV init process? (Specify the full name of the file, including path.)

Browse 161 Q&As
Exam Code: 201-450
Exam Name: LPIC-2 Exam 201 Part 1 of 2 version 4.5
Last Update: Apr 22, 2024
Questions: 161 Q&As

PDF

$45.99

VCE

$49.99

PDF + VCE

$59.99