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

Disk Partitions and Block Devices

1. 

Which of the following would be the Linux device name for the fourth logical partition on the second IDE drive?

  1. hdb4

  2. hdb8

  3. hdb5

  4. hdb9

 b . by definition, the first logical partition on the second ide drive on a computer is hdb5. since logical partitions are then numbered in sequence, the fourth logical partition on this drive is hdb8. the other answers do not match the defined partition naming criteria for the fourth logical partition.

Answers

1. 

þ B. By definition, the first logical partition on the second IDE drive on a computer is hdb5. Since logical partitions are then numbered in sequence, the fourth logical partition on this drive is hdb8.
ý The other answers do not match the defined partition naming criteria for the fourth logical partition.

Downloading the Red Hat Installation CD-ROMs

2. 

Which of the following commands would you use to write an ISO file to a CD?

  1. cdburn

  2. cdrecord

  3. isorecord

  4. xcdrecord

 b . the only valid command in the list is cdrecord . the other answers are not valid linux commands.

Answers

2. 

þ B. The only valid command in the list is cdrecord.
ý The other answers are not valid Linux commands.

Configuring a Network Installation

3. 

Which of the following servers can you use to serve Red Hat Enterprise Linux installation files?

  1. NFS

  2. Samba

  3. HTTP

  4. FTP

 a, c, and d . you can install rhel over an nfs, ftp, or http server. b . you can t install linux over a samba network connection. (it was possible for older versions of red hat linux.)

4. 

During the installation, you are asked to configure static networking and access the installation source files from an NFS server. Assuming you already have the IP address and netmask for the local computer, what else do you need?

  1. DNS server IP, BOOTP server IP, NFS export name

  2. DNS export name, BOOTP server IP, NFS server IP

  3. DHCP server IP, DHCP name, NFS export name

  4. NFS export name, NFS server IP address

 d . the ip address of the nfs server and the export directory name (as defined in /etc/exports). you must already have an ip address and netmask (as well as an optional gateway ip if the services are on another network). a dhcp or bootp server should share ip addresses to all computers on a given network. an active dns server should share the names of all computers on the given network. you don t need the ip address of either type of server. hence a , b , and c are all incorrect.

Answers

3. 

þ A, C, and D. You can install RHEL over an NFS, FTP, or HTTP server.
ý B. You can't install Linux over a Samba network connection. (It was possible for older versions of Red Hat Linux.)

4. 

þ D. The IP address of the NFS server and the export directory name (as defined in /etc/exports). You must already have an IP address and netmask (as well as an optional gateway IP if the services are on another network).
ý A DHCP or BOOTP server should share IP addresses to all computers on a given network. An active DNS server should share the names of all computers on the given network. You don't need the IP address of either type of server. Hence A, B, and C are all incorrect.

Customizing Your Installation

5. 

A Windows administrator is puzzled by the amount of swap space configured and wants to know what is recommended for Linux.

  1. The same as RAM memory.

  2. 40-90MB.

  3. The same as the server uses.

  4. Twice the amount of RAM.

  5. There is no recommended amount of swap space.

 d . generally, a swap partition equal to twice your ram is standard; however, this is not an absolute rule. technically speaking, all the other answers may be right, but d is the rule of thumb most commonly used.

Answers

5. 

þ D. Generally, a swap partition equal to twice your RAM is standard; however, this is not an absolute rule.
ý Technically speaking, all the other answers may be right, but D is the rule of thumb most commonly used.

Required Disk Space

6. 

You have a computer with a 4GB hard drive. Should you install everything from Red Hat Enterprise Linux on your computer?

  1. Yes, it's good to have everything installed from the CDs.

  2. Yes, you'll still have plenty of room for other software.

  3. No, you won't have room for any other software.

  4. No, most users don't need many of the development packages included on the CDs.

 c and d . there is 4gb of software on rhel 3. if you install everything on a 4gb hard disk, you won t have room for anything else. and besides, most users don t need the development packages on the rhel 3 cds. a and b . since 4gb leaves you no room, and includes software that you probably don t need, these answers are not correct.

Answers

6. 

þ C and D. There is 4GB of software on RHEL 3. If you install everything on a 4GB hard disk, you won't have room for anything else. And besides, most users don't need the development packages on the RHEL 3 CDs.
ý A and B. Since 4GB leaves you no room, and includes software that you probably don't need, these answers are not correct.

Filesystems

7. 

Why would you organize different filesystems on different partitions?

  1. Because you barely have enough space to install Linux on your current hard drive

  2. To make it easier to back up and restore your data

  3. To limit the space taken by a specific directory

  4. For a dedicated single-use computer such as a DNS server or a gateway router

 b and c . filesystems on different partitions allow you to back up and restore data, one partition at a time. the amount of space taken by a specific directory is limited by the size of the partition. a and d are incorrect. extra partitions waste space. if you barely have enough space on the current hard drive, you may not be able to install linux. if you have a dedicated single-use computer, the amount of data is small, so there is no reason for different partitions.

8. 

What other situations might be a good candidate for a separate filesystem?

  1. A Web server

  2. The /bin directory

  3. A group of shared files

  4. Users' home directories

 a , c , and d . web servers take up lots of space, and the associated log files can grow quickly. shared files on a separate partition reduce the security risk. a separate filesystem ensures that it won t crowd out other partitions. b is incorrect. if the /bin directory is mounted on a separate filesystem, you may not be able to get to the associated commands if you have to use a rescue disk.

Answers

7. 

þ B and C. Filesystems on different partitions allow you to back up and restore data, one partition at a time. The amount of space taken by a specific directory is limited by the size of the partition.
ý A and D are incorrect. Extra partitions waste space. If you barely have enough space on the current hard drive, you may not be able to install Linux. If you have a dedicated single-use computer, the amount of data is small, so there is no reason for different partitions.

8. 

þ A, C, and D. Web servers take up lots of space, and the associated log files can grow quickly. Shared files on a separate partition reduce the security risk. A separate filesystem ensures that it won't crowd out other partitions.
ý B is incorrect. If the /bin directory is mounted on a separate filesystem, you may not be able to get to the associated commands if you have to use a rescue disk.

The Installation Process

9. 

Which of the following steps can you take to test the integrity of your Installation CDs?

  1. Start the installation process with the linux mediacheck command.

  2. Start the installation process with the linux md5 command.

  3. Nothing. You just have to run the installation CDs and hope there is no problem.

  4. Get an official boxed set of Red Hat Enterprise Linux Installation CDs.

 a . the linux mediacheck command adds a step where you can check the integrity of each of the rhel installation cds. b , c , and d are all wrong. there is no linux md5 command. there is something you can do to check before you find a problem. and while official boxed sets are probably more reliable, getting such cds does not by itself check their integrity.

10. 

You did not create a boot disk during the installation process. After installation, you want a boot disk customized for your installation. What can you do?

  1. Use the dd command to create a boot disk from the bootdisk.img disk image file on the first Red Hat installation CD.

  2. Use the rawrite command to create a boot disk from the bootdisk.img disk image file on the first Red Hat installation CD.

  3. Use the mkboot --device /dev/fd0 `uname -r` command.

  4. Use the mkbootdisk --device /dev/fd0 `uname -r` command.

 d . among the available choices, only the mkbootdisk command can create a boot disk customized to your installation. a , b , and c are not correct. the dd and rawrite commands, when applied to the standard bootdisk.img file, create a standard installation boot disk. the mkboot command is a little trickier, since that works in debian (but not red hat) linux.

Answers

9. 

þ A. The linux mediacheck command adds a step where you can check the integrity of each of the RHEL installation CDs.
ý B, C, and D are all wrong. There is no linux md5 command. There is something you can do to check before you find a problem. And while official boxed sets are probably more reliable, getting such CDs does not by itself check their integrity.

10. 

þ D. Among the available choices, only the mkbootdisk command can create a boot disk customized to your installation.
ý A, B, and C are not correct. The dd and rawrite commands, when applied to the standard bootdisk.img file, create a standard installation boot disk. The mkboot command is a little trickier, since that works in Debian (but not Red Hat) Linux.



 < 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