Guide to Linux+ (2nd Edition) ISBN 0-619-21621-2 End of Chapter 13 Solutions

Download Solution: Click to Download Solution
Solution File Name: Ch13.doc
Unzip Password: prestobear.com

Chapter 13 Solutions
Review Questions
1. On which part of the maintenance cycle do Linux administrators spend the most time?
a. monitoring
b. proactive maintenance
c. reactive maintenance
d. documentation

2. Which of the following files is likely to be found in the /var/log/sa directory over time?
a. 15
b. sa39
c. sa19
d. 00

3. Which of the following commands can be used to display memory statistics? (Choose all that apply.)
a. free
b. sar
c. vmstat
d. iostat

4. Which command indicates the shared libraries required by a certain executable program?
a. ldconfig
b. ldd
c. rpm –V
d. slconfig

5. Which directory must you be in to compile the Linux kernel?
a. /lib/modules
b. /usr/src/linux
c. /lib/modules/
d. /usr/src/linux/

6. Which command can be used to create a ramdisk that will be used at boot time to load SCSI support?
a. mkramdisk
b. load ramdisk
c. image=ramdisk
d. mkinitrd

7. Which command can be used to apply a patch to kernel source code?
a. patch
b. P0patch
c. make patch
d. make patch_install

8. When an application stops functioning, what should you try first?
a. Restart the application.
b. Research the solution using the Internet.
c. Switch to Single User Mode.
d. Kill all other applications running in memory.

9. Which of the following steps is not a common troubleshooting procedure?
a. Test the solution.
b. Isolate the problem.
c. Delegate responsibility.
d. Collect information.

10. You can recompile the kernel to ________________. (Choose all that apply.)
a. add support for a certain hardware device
b. remove support for a certain hardware device
c. change kernel features
d. improve system performance

11. Which command can be used to insert a module into the Linux kernel? (Choose all that apply.)
a. insmod
b. rmmod
c. lsmod
d. modprobe

12. Which files can be used to load modules upon system startup? (Choose all that apply.)
a. /etc/modprobe.conf
b. /etc/fstab
c. /etc/modtab
d. /etc/rc.d/rc.local

13. Which of the following programs detects and installs new hardware detected at boot time?
a. insmod
b. kudzu
c. lba32
d. LILO

14. Which command can increase the number of filehandles that programs can open in a shell?
a. ldd
b. ulimit
c. lba32
d. top

15. Which command can be used to create a system boot disk?
a. makeboot
b. bootdisk
c. mkboot
d. mkbootdisk

16. What will the command sar –W 3 50 do?
a. Take 3 swap statistics every 50 seconds.
b. Take 50 swap statistics every 3 seconds.
c. Take 3 CPU statistics every 50 seconds.
d. Take 50 CPU statistics every 3 seconds.

17. Which directory stores most modules on a Linux system?
a. /lib/modules/
b. /usr/src/linux-
c. /usr/lib/modules/
d. /usr/src/linux

18. When the fsck command cannot repair a nonroot filesystem, you should immediately restore all data from tape backup. True or False?

19. When performing a sar –u command, you notice that %idle is consistently 10%; is this good or bad?
a. good, because the processor should be idle more than 5% of the time
b. good, because the processor is idle 90% of the time
c. bad, because the processor is idle 10% of the time and perhaps a faster CPU is required
d. bad, because the processor is idle 10% of the time and perhaps a new hard disk is required

20. Which command can be used to modify the IRQ and I/O address settings of a serial device?
a. setserial
b. modserial
c. serial2K
d. lsmod

Project 13-1
Project 13-2
Project 13-3
Project 13-4
Project 13-5

Discovery Exercises
Discovery Exercise 1
Discovery Exercise 2
Discovery Exercise 3
Discovery Exercise 4

Add Comment