| < Day Day Up > |
|
The following questions will help you measure your understanding of the material presented in this chapter. Read all the choices carefully, as there may be more than one correct answer. Don't focus exclusively on these questions. There are no longer any multiple choice questions on the Red Hat exams. These questions exclusively test your understanding of the chapter. While the topics in this chapter are 'prerequisites,' it is okay if you have another way of performing a task. Getting results, not memorizing trivia, is what counts on the Red Hat exams.
Choose all correct answers for each question.
1. | If you're editing the /etc/inittab file, which of the following vi commands would you use to copy the currently highlighted line?
| |
Answers
1. | þ C. The yy command copies the entire line associated with the current location of the cursor. You can then use the p command to insert that line into the file. |
2. | Which of the following commands would you use to mount an MS-DOS floppy disk?
| |
Answers
2. | þ D. Current MS-DOS floppy disks are usually formatted to VFAT, which supports long filenames. |
3. | Which of the following commands returns the actual number of times user mj is logged into your Linux computer?
| |
Answers
3. | þ D. While this level of piping isn't covered in this chapter, this should be a straightforward question if you're sufficiently familiar with basic command line tools. The who command returns every active login of every user. Piping the result returns just the lines associated with the logins of user mj. Piping that result to wc -l returns the actual number of lines. |
4. | You're maintaining a large queue of print jobs on your network, and you need some job numbers to make sure the engineers get highest priority on the printer. Which of the following commands lists print job numbers?
| |
Answers
4. | þ B. The lpq -l command checks print queues. If you get an error message from this command, you may need to install a printer first. |
5. | Which of the following commands would you use to add the /usr/sbin directory to your PATH?
| |
Answers
5. | þ D. The variable is PATH. When you input $PATH, the value of that variable, in this case, the directories in your path, are substituted in this equation. |
6. | When you run the umask command, you see the following result: 0000. The next time you create a file, what will be the permissions?
| |
Answers
6. | þ D. The effect of umask has changed. Even if you try to set it to allow execute permissions, Red Hat won't let you do this anymore. You'll need to set execute permissions on each file after creation. |
7. | Based on the following line from a user's crontab file, when will the Berkeleylives program be run? 0 1 2 3 * Berkeleylives
| |
Answers
7. | þ B. This is based on the convention for the first five entries in a crontab line: minute, hour, day of month, month, and day of week. |
8. | Which of the following sets of numbers, in order, correspond to an appropriate network address, subnet mask, and broadcast address?
| |
Answers
8. | þ B. By convention, a network with a 192.168.14.0 address with a 255.255.255.0 subnet mask uses a 192.168.14.255 broadcast address. |
9. | Which of the following services works to connect Linux to a Microsoft Windows-based network?
| |
Answers
9. | þ B. The Server Message Block (SMB) file system, also known as Samba, is the standard way to connect Linux as a member of a Microsoft Windows- or IBM OS/2-based network. |
10. | Which of the following commands are associated with a Red Hat Enterprise Linux firewall configuration utility?
| |
Answers
10. | þ B and C are both current Red Hat Enterprise Linux firewall configuration utilities. |
11. | You've checked your /proc/interrupts file and find that you don't have any leftover IRQ ports. Nevertheless, you want to install another printer and network card. Which of the following actions would let you keep your current devices?
| |
Answers
11. | þ B. The PCI system really does make sure that installed PCI devices share IRQ ports, as needed. This works as well for any USB or IEEE 1394 devices on your system. |
12. | When you look through the Red Hat Hardware Compatibility List, you find that a number of devices in your computer are listed as 'community knowledge.' What should you do about these devices before installing Linux?
| |
Answers
12. | þ B and C. Red Hat Enterprise Linux community knowledge hardware lists devices that have not been tested by Red Hat. But others in the Linux community have tested such hardware, and the results are often documented in the LDP's Hardware HOWTO. Many device manufacturers now include any special installation instructions that you may need to install their devices on Linux. |
13. | How would you know if your serial mouse is properly attached to a serial port?
| |
Answers
13. | þ A. As with modems, the /dev/mouse file is linked to the port used by your mouse. |
14. | What kind of information should you collect about your PC's video system if you want to install Linux with a graphical user interface?
| |
Answers
14. | þ A, B, C, D. Most Linux installation programs allow you to specify the model and manufacturer of the graphics card. This information is correlated as part of the Linux installation database to provide information on other needed settings, including chipset and video memory. You do want to make sure Linux does not exceed the horizontal or vertical refresh capabilities of the monitor, to minimize the risk of damage. The video memory allows you to verify what the Red Hat Enterprise Linux installation program reads from your system. If you exceed the resolution capabilities of the monitor, the graphics may degrade. |
| < Day Day Up > |
|