QUESTION 21
How can DMA be enabled for the device /dev/hda?
A. echo “1” >/proc/ide/hda/dma
B. sysctl -w dev.ide.dma=1
C. dma add /dev/hda
D. hdparm -d 1 /dev/hda
E. insmod dma dev=/dev/hda
Answer: D
QUESTION 22
To restore the kernel source to the previous, unpatched, version, which of the following commands could be used?
A. patch –restore
B. patch –remove
C. patch -U
D. patch –undo
E. patch -R
Answer: E
QUESTION 23
If the current directory is /root and the kernel source is located in /usr/src/linux, which of the following commands should be used to apply the patch /tmp/foopatch?
A. cat /tmp/foopatch | patch -p0
B. cd/usr/src/linux; cat/tmp/foopatch | patch -p0
C. cd/usr/src/linux; cat/tmp/foopatch | patch
D. cd/usr/src/linux; patch -p1 </tmp/foopatch
E. cd/usr/src/linux; patch -p1 >/tmp/foopatch
Answer: D
QUESTION 24
A 2.6.9-ac1 kernel would be
A. an alpha kernel.
B. someone’s patch to a stable kernel.
C. a stable kernel.
D. an unstable kernel.
E. someone’s patch to an unstable kernel.
Answer: B
QUESTION 25
What command should be used to find out what PCI devices can be seen, without querying the kernel?
A. lspci -v
B. lspci -s
C. lspci -x
D. lspci -b
E. lspci -p
Answer: D
QUESTION 26
Considering that a 2.4 series Linux kernel is being used, which kernel module must be loaded to enable CD burning with an IDE CD writer?
A. ide-cd
B. ide-cdrw
C. ide-cdb
D. ide-scsi
E. None of the above
Answer: D
QUESTION 27
What command must be used to create an ext3 filesystem?
A. mke2fs
B. mkext2fs
C. mke3fs
D. mkext3fs
E. mkjfs
Answer: A
QUESTION 28
The Linux kernel is loaded successfully by the boot loader. However, straight after the kernel mounts the root filesystem, the boot process stops and an error message regarding init is shown. Which of the following actions is the best one to be used in order to identify and fix the problem?
A. The administrator reboots the system with a recovery disk and checks the root file system for errors with fsck.
B. The administrator reboots the system with a recovery disk and restores from a backup.
C. The administrator reboots the system and tells the kernel, through the boot loader prompt, to use /bin/bash as the initial process.
D. The administrator reboots the system with a recovery disk and installs a new kernel.
E. The administrator reboots the system and tells init, through the boot loader prompt, to use a different runlevel.
Answer: C
QUESTION 29
A machine is running in single user mode and, as such, not all file-systems are accessible. What command must be run to make all of the other file-systems listed in /etc/fstab accessible?
A. mount –all
B. mountfs –all
C. mountfs -a
D. mount -a
Answer: D
QUESTION 30
What command is used to force a file-system check, when rebooting?
A. reboot-f
B. shutdown -f now
C. shutdown -c -r now
D. fsck -r
E. shutdown -F -r now
Answer: E
If you want to pass the LPI 117-201 sucessfully, recommend to read latest Exam 117-201 full version.