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. Choose all correct answers for each question. Don't focus exclusively on these questions. There are no longer any multiple choice questions on the Red Hat exams. These questions test your understanding of the chapter. Getting results, not memorizing trivia, is what counts on the Red Hat exams.
While the installation is in progress, which of the following key combinations displays kernel messages?
CTRL-ALT-F1
CTRL-ALT-F2
CTRL-ALT-F3
CTRL-ALT-F4
|
Answers
þ D. The CTRL-ALT-F4 key combination accesses the screen with kernel messages during the Red Hat Linux installation process. ý A, B, and C are all incorrect, as they access the default text installation display, the bash shell, and the installation message log, respectively. |
Which of the following commands displays the messages that scrolled on your screen when you last booted Linux?
cat /var/messages
cat /var/log/dmesg
cat /var/log/messages
/sbin/messages
|
Answers
þ B. The /var/log/dmesg file contains boot messages. ý A, C, and D are all incorrect. The /var/log/messages file is significant as the location for service startup and shutdown messages. |
Answers
þ B. The a command in GRUB accesses the information passed to the kernel. The single command makes the kernel access single-user mode. ý A, C, and D are not correct. There is no boot prompt in GRUB. The linux sum command has no meaning at the LILO boot: prompt. While answer D could work, it is at best inefficient. |
|
þ A. In both LILO and GRUB, the root=/dev/sda7 command indicates that the root directory, /, is located on the third logical partition of the first SCSI hard disk. ý B, C, and D are not correct. In either boot loader, root represents the top-level / directory, not the home directory of the root user (/root). It is not an error in either boot loader. |
You are told to check the Web server drive table after installation. There are eight partitions. Your MIS manager asks how that can be. Her Microsoft Windows computer can include only one primary and one extended partition. How many IDE primary partitions can you configure using Red Hat Enterprise Linux?
4 primary, 1 of which is an extended partition, making for 16 total partitions
3 primary, 2 of which are extended, making for a total of 12 partitions
12 primary, with 1 an extended partition
16 extended partitions
| ||
Once you're in the fdisk utility, which command gives you the current partition table?
m
p
x
w
|
Answers
Answers
þ A. The first spare-disks variable is number 0. Since we have one spare disk, the raidtab entry is set up correctly. ý B, C, and D are incorrect. There is no way to know from this file the status of the RAID disks, nor the current loading, as this is a configuration file, not a log of the running service. |
|
þ A and B. RAID 0 does not include any parity data or any other way to recover data from a failed disk. RAID 1 includes an identical copy of data on two different disks. No parity data is required in this version of RAID. ý C and D are incorrect. Both RAID 4 and RAID 5 use parity bits. If one drive on either of these systems is lost, the data from that drive can be rebuilt from the parity bits. |
Which of the following can be an LVM Physical Volume?
A Volume Group
A Logical Volume
A Logical Extent
A partition
|
Answers
þ D. An LVM Physical Volume is the physical partition or hard disk where you've applied the pvcreate command to set up Physical Extents. ý A, B, and C are incorrect. A Logical Extent is a chunk of disk space that maps to a Physical Extent. A Logical Volume is a group of Logical Extents. A Volume Group is composed of a group of Logical Volumes. |
You're using the Kickstart Configurator to create a ks.cfg file for several computers. Which of the following lines allows for a growable /var partition with no limit on growth save the capacity of the hard disk?
part /var --size 1000 --grow yes --maxsize no
part /var --size 1000 --maxsize 0
part /var --size 1000 --grow --maxsize 100000
|
Answers
þ D. The --grow switch alone is enough to accommodate a growable partition. If there is no --maxsize switch, that implies that you do not want to limit the size of this partition. ý A, B, and C are incorrect. Neither the --grow nor the --maxsize switch is associated with a yes or a no, so A is incorrect. A --maxsize switch alone without --grow is not meaningful, so B is incorrect. Answer C includes a limit on the size of the /var partition. |