ExamGecko
Home Home / LPI / 201-450

LPI 201-450 Practice Test - Questions Answers, Page 3

Question list
Search
Search

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

A.
/usr/src/linux/.config,.config
A.
/usr/src/linux/.config,.config
Answers
Suggested answer: A

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.
A.
Edit /etc/shmmax and set the parameter to 2147483648.
Answers
B.
sysctl shmmax=2147483648
B.
sysctl shmmax=2147483648
Answers
C.
sysctl kernel.shmmax=2147483648
C.
sysctl kernel.shmmax=2147483648
Answers
D.
echo 2147483648 > /proc/sys/kernel/shmmax
D.
echo 2147483648 > /proc/sys/kernel/shmmax
Answers
E.
export kernel.shmmax=2147483648
E.
export kernel.shmmax=2147483648
Answers
Suggested answer: C, D

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
A.
maxcpus=1
Answers
B.
usecpus=1
B.
usecpus=1
Answers
C.
smpcpus=1
C.
smpcpus=1
Answers
D.
vcpumx=1
D.
vcpumx=1
Answers
Suggested answer: A

Which commands are used to load modules into the Linux kernel? (Choose TWO correct answers.)

A.
insmod
A.
insmod
Answers
B.
loadmod
B.
loadmod
Answers
C.
kernload
C.
kernload
Answers
D.
modprobe
D.
modprobe
Answers
E.
probemod
E.
probemod
Answers
Suggested answer: A, D

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

A.
/etc/udev/rules.d,/etc/udev/rules.d/
A.
/etc/udev/rules.d,/etc/udev/rules.d/
Answers
Suggested answer: A

What is a key difference between a zImage and bzImage kernel image?

A.
zImage is compressed using gzip, bzImage is compressed using bzip2.
A.
zImage is compressed using gzip, bzImage is compressed using bzip2.
Answers
B.
zImage is for 2.6 series kernels, bzImage is for 3.x series kernels.
B.
zImage is for 2.6 series kernels, bzImage is for 3.x series kernels.
Answers
C.
zImage is limited to 64k, bzImage has no such restriction.
C.
zImage is limited to 64k, bzImage has no such restriction.
Answers
D.
zImage gets loaded completely into low memory. bzImage will load into high memory once low memory is full.
D.
zImage gets loaded completely into low memory. bzImage will load into high memory once low memory is full.
Answers
Suggested answer: D

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
A.
cp /boot/initramfs /tmp/initramfs.gz; gzip -c /tmp/initramfs.gz; mkdir /tmp/initramfs.dir ; cd/tmp/initramfs.dir ; cpio -i < /tmp/initramfs
Answers
B.
cp /boot/initramfs /tmp/initramfs.gz; gunzip /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
Answers
C.
cp /boot/initramfs /tmp/initramfs.gz; gunzip /tmp/initramfs.gz; mount /tmp/initramfs /mnt/ -o loop -t initramfs
C.
cp /boot/initramfs /tmp/initramfs.gz; gunzip /tmp/initramfs.gz; mount /tmp/initramfs /mnt/ -o loop -t initramfs
Answers
D.
cp /boot/initramfs /tmp/initramfs.gz; gunzip /tmp/initramfs.gz; mkdir /tmp/initramfs.dir ; cd/tmp/initramfs.dir ; cpio -e /tmp/initramfs
D.
cp /boot/initramfs /tmp/initramfs.gz; gunzip /tmp/initramfs.gz; mkdir /tmp/initramfs.dir ; cd/tmp/initramfs.dir ; cpio -e /tmp/initramfs
Answers
E.
cp /boot/initramfs /tmp/initramfs.gz; gunzip /tmp/initramfs.gz; mount /tmp/initramfs /mnt/ -o loop -t initrd
E.
cp /boot/initramfs /tmp/initramfs.gz; gunzip /tmp/initramfs.gz; mount /tmp/initramfs /mnt/ -o loop -t initrd
Answers
Suggested answer: B

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
A.
config-linux-3.4.50-11
Answers
B.
config-3.4.50-11
B.
config-3.4.50-11
Answers
C.
system-3.4.50-11
C.
system-3.4.50-11
Answers
D.
vmlinuz-3.4.50-11
D.
vmlinuz-3.4.50-11
Answers
E.
rc.config-3.4.50-11
E.
rc.config-3.4.50-11
Answers
Suggested answer: B

Which archive format is used to create an initramfs image?

A.
gzip
A.
gzip
Answers
B.
tar
B.
tar
Answers
C.
RAR
C.
RAR
Answers
D.
cpio
D.
cpio
Answers
E.
bzip2
E.
bzip2
Answers
Suggested answer: D

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

A.
/etc/sysctl.conf
A.
/etc/sysctl.conf
Answers
Suggested answer: A
Total 161 questions
Go to page: of 17