Self Test

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

Installation Troubleshooting

1. 

While the installation is in progress, which of the following key combinations displays kernel messages?

  1. CTRL-ALT-F1

  2. CTRL-ALT-F2

  3. CTRL-ALT-F3

  4. CTRL-ALT-F4

 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.

Answers

1. 

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

Postinstallation Validation

2. 

Which of the following commands displays the messages that scrolled on your screen when you last booted Linux?

  1. cat /var/messages

  2. cat /var/log/dmesg

  3. cat /var/log/messages

  4. /sbin/messages

 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

2. 

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

Boot Loaders: GRUB and LILO

3. 

In the GRand Unified Bootloader, what should you do if you wanted to start Linux in single-user mode for a quick repair?

  1. Enter linux single at the boot prompt.

  2. Run the a command and then add single at the end of the line that appears.

  3. Get a LILO boot disk and then run linux sum at the boot prompt.

  4. Boot Linux and edit the /etc/grub.conf file to automatically start Linux in single-user mode, then reboot.

 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.

4. 

When you see the root=/dev/sda7 command in either GRUB or LILO, what does it mean?

  1. The root directory, /, is located on the third logical partition of the first SCSI hard disk.

  2. The /root directory is located on the third logical partition of the first SCSI hard disk.

  3. If it's GRUB, this represents the root directory, /. If it's LILO, this represents the /root directory. In either case, it is located on the third logical partition of the first SCSI hard disk.

  4. It is an error in either boot loader.

 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.

Answers

3. 

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

4. 

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

Partitioning Utilities

5. 

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?

  1. 4 primary, 1 of which is an extended partition, making for 16 total partitions

  2. 3 primary, 2 of which are extended, making for a total of 12 partitions

  3. 12 primary, with 1 an extended partition

  4. 16 extended partitions

 a . 4 total, 3 that are called primary and 1 that is a primary partition that is configured as an extended partition. extended partitions can contain up to 12 logical partitions. 12 + 4 = 16. b , c , and d are all incorrect configurations. the limitation described in the question applies to the microsoft version of the fdisk.exe utility.

6. 

Once you're in the fdisk utility, which command gives you the current partition table?

  1. m

  2. p

  3. x

  4. w

 b . the p command prints the current partition table to the screen. a , c , and d are all incorrect. the m command lists other available commands within fdisk. the x command exits from fdisk. the w command writes your changes to the partition table.

Answers

5. 

þ A. 4 total, 3 that are called primary and 1 that is a primary partition that is configured as an extended partition. Extended partitions can contain up to 12 logical partitions. 12 + 4 = 16.
ý B, C, and D are all incorrect configurations. The limitation described in the question applies to the Microsoft version of the FDISK.EXE utility.

6. 

þ B. The p command 'prints' the current partition table to the screen.
ý A, C, and D are all incorrect. The m command lists other available commands within fdisk. The x command exits from fdisk. The w command writes your changes to the partition table.

RAID Configuration and Data Recovery

7. 

You have a mirrored RAID system with three drives. The first two are mirrored and the third is supposed to be a spare. When you look at the /etc/raidtab file, you see that it says spare-disks 0. What does this entry tell you?

  1. The raidtab entry is set up correctly.

  2. Spare-disks support is turned off. To turn it on, change spare-disks to 1.

  3. Currently no spare disks are loaded.

  4. The mirror failed and had to use the spare disk.

 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.

8. 

Which of the following versions of RAID does not provide data redundancy?

  1. RAID 0

  2. RAID 1

  3. RAID 4

  4. RAID 5

 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.

Answers

7. 

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

8. 

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

Logical Volume Management: Configuration and Administration

9. 

Which of the following can be an LVM Physical Volume?

  1. A Volume Group

  2. A Logical Volume

  3. A Logical Extent

  4. A partition

 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.

Answers

9. 

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

Automated Installation with Kickstart

10. 

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?

  1. part /var --size 1000 --grow yes --maxsize no

  2. part /var --size 1000 --maxsize 0

  3. part /var --size 1000 --grow --maxsize 100000

  4. part /var --size 1000 --grow

 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.

Answers

10. 

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



 < Day Day Up > 



RCHE Red Hat Certified Engineer Linux Study Guide[c] Exam (Rh302)
RCHE Red Hat Certified Engineer Linux Study Guide[c] Exam (Rh302)
ISBN: 71765654
EAN: N/A
Year: 2003
Pages: 194

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net