LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1408|回复: 0

RHCE第二章自测题附答案

[复制链接]
发表于 2003-2-14 15:04:01 | 显示全部楼层 |阅读模式
QUESTION 1/20:
What is the maximum amount of partitions that you can create for (E)IDE and SCSI disks?
  A. There is no maximum.
  B. 63 for (E)IDE and 15 for SCSI.
  C. 64 for (E)IDE and 16 for SCSI.
  D. Linux only supports a total of 64 partitions of all disks together.
ANSWER:
B: Of course, you need to use extended and logical partitions to reach these limits. Otherwise, you are limited to using only four partitions each (of primary partitions).

QUESTION 2/20:
You attempt to install Linux on an old 80386 computer. You manage to scavenge an 800MB hard drive to use. However, when you boot the computer, it reports the hard drive to be only 504MB. Why?
  A. The BIOS can access only the first partition, which must be 504MB.
  B. The hard drive must have bad sectors.
  C. The BIOS only supports IDE, not EIDE.
  D. An 80386 CPU can only address 504MB of data.
ANSWER:
C: The IDE (or ATA) standard does not support hard disks larger than 504MB. The 80386 computer was most likely manufactured before support for large drives was added with EIDE (ATA-s, or Fast-ATA).  

QUESTION 3/20
What do you need to do in order to get past the 504MB barrier with an EIDE hard disk controller?
  A. Add a SCSI controller.  
  B. Upgrade to an ATA-2 controller.
  C. Set jumpers on the hard disks to support EIDE.
  D. Set the hard drive translation mode to LBA in the BIOS.
ANSWER:
D: EIDE controllers support hard disks larger than 504MB, but your computer's BIOS may not be able to access the entire drive unless LBA translation is used.  

QUESTION 4/20:
What do you need to do in order to be able to use a third or fourth serial port in Linux? (Choose all that apply.)
  A. Obtain and install a hardware card that has more ports.
  B. Linux kernel 2.2 already handles this for you.
  C. Add a new entry to the file /etc/serial.conf.
  D. Use the setserial utility to assign resources to the new serial port.
ANSWER:
B, D: Use the setserial utility for Linux kernels earlier than 2.2.x. To configure the serial ports at boot time, edit the /etc/rc.d/rc.serial file to run the setserial command for each serial port you use. With kernel version 2.2.x, you don't need to assign unique IRQs for each serial port.  

QUESTION 5/20:
What is the best way to decide how much swap space to use?
  A. Find out the maximum memory requirements of the system, then subtract the amount of physical RAM. The remaining value is how much swap space you should have.
  B. You don't need to. Linux handles the swap space automatically.
  C. 640k is all anyone will ever need!
  D. Match your RAM, MB for MB.
ANSWER:
A: You do not want to have too little swap space, but at the same time, allotting too much is a waste of disk space.  

QUESTION 6/20:
When planning your Red Hat Linux installation, which of the following information is the least important to take note of?
  A. The speed of your CD-ROM.
  B. What type of mouse you will be using.
  C. The frequency specifications of your monitor.
  D. The model of your network card.
ANSWER:
A: The only thing the speed of you CD-ROM will affect is the amount of time the install will take if you are installing from a CD-ROM.

QUESTION 7/20:
You are setting up a Linux Server to be a file server for an office of 30 people. The server has 64MB of memory. How much of that memory should you reserve to be used as buffer cache?
  A. Find out the maximum memory requirements of the system, then subtract the amount of RAM (64MB). The remaining value should be used to buffer cache.
  B. You don't need to. Linux handles the buffer cache automatically.
  C. About 1MB per user should be sufficient; therefore, use 30MB.
  D. Always use double the amount of available RAM.
ANSWER:
B: The Linux kernel will dynamically use all of the available memory in RAM to be used as buffer cache. The update daemon manages disk buffering by calling the sync command and running bdflush periodically.  

QUESTION 8/20:
You install Linux onto a laptop and discover that there are two PCMCIA cards that you will need to install drivers for: an Ethernet card and a modem. What do you need to do in order to get these cards working?
  A. Recompile the Linux kernel to support Ethernet. Setting up the modem should be as easy as configuring the serial port it uses.
  B. Install the Card Services package to get the needed kernel modules and utilities to manage PCMCIA.
  C. Run the ifconfig and route utilities to configure the cards.
  D. Edit the file /proc/devices to reflect the new hardware, then configure the files in /etc/sysconfig to get them up and running.
ANSWER:
B: The Card Services package is needed in order for any PCMCIA device to work. The standard Linux kernel source code does not come with the required modules and drivers needed by PCMCIA devices. Also, the Card Services package includes a daemon to manage the cards for such things as loading, unloading, and inserting and removing cards.

QUESTION 9/20:
After installing an ISA plug-and-play device into a computer running Linux, what needs to be done in order to get the card working?
  A. Install and configure the isapnptools package for Linux.
  B. Nothing. Since it's a plug-and-play card, Linux will be able to install the device drivers and kernel modules automatically.
  C. The card will not work. Plug-and-play ISA cards are not supported in Linux.
  D. Run the pnpprobe utility to set the resources that the card should use.
ANSWER:
A: While support for ISA plug-and-play devices is still somewhat lacking in Linux, the isapnptools package contains utilities that can be used to get the cards working. Try running man isapnp in Linux for more information.

QUESTION 10/20:
You installed a printer onto a Linux workstation. After experiencing a lot of trouble trying to make it print, you're finally successful. However, now the sound card has stopped working. What most likely went wrong?
  A. The sound card was probably a plug-and-play device, and since Linux doesn't handle plug and play well, it couldn't detect the card after the new printer was installed.
  B. There is an IRQ conflict between the printer and the sound card.
  C. The sound card and printer are using the same device file in the /dev directory. You need to create a new device in the /dev directory to use both devices.
  D. None of the above.
ANSWER:
B: The default IRQ for a parallel port (what the printer is using) is 5 or 7. Many sound cards will try to use the one of these IRQs as well. Try running cat /proc/interrupts to see what IRQs are being used, then choose a free one to assign to the sound card.

QUESTION 11/20:
Of the following hardware, which would be the easiest to install Red Hat Linux on?
  A. A Toshiba laptop with an Intel Pentium II 266MHz CPU
  B. An IBM PC XT
  C. A 486DX/100 IBM Clone
  D. A PowerMac G3
ANSWER:
C: The 486 computer is supported by Red Hat. Toshiba has only recently released specifications for its hardware, so support is limited. Linux was originally developed for the 386 architecture. While there are efforts to port it to 80286 and 8086 (the 8088?) computers, and Linux does run on PowerMac G3 CPUs, Red Hat Linux is not aimed at these architectures.

QUESTION 12/20:
What problems could you come across when using systems that mix (E)IDE and SCSI technologies?
  A. You can't mix them together.
  B. There are potential IRQ conflicts between the controllers for each device.
  C. The computer's BIOS may not be able to access SCSI devices.
  D. SCSI disks cannot use LBA translation like (E)IDE devices can.
ANSWER:
C: Depending on the computer's BIOS, SCSI disks may not be accessible to the computer's BIOS, which can cause troubles when trying to boot Linux. This means that you might not be able to boot off of a SCSI disk, or that your BIOS will assign a different order to your hard disks than Linux will, confusing Linux as to which disk is which.  

QUESTION 13/20:
RAID is an acronym for:
  A. Redundant Array of Independent Disks
  B. Redundant Array of Inexpensive Disks
  C. Reliable Array of Independent Disks
  D. Redundant Assortment of Inexpensive Disks
ANSWER:
A, B: Independent or Inexpensive have both been acceptable for the "I" in RAID.

QUESTION 14/20:
You get a phone call from a frustrated user who just bought a new modem. The modem is a Lucent 56k Winmodem, and the user is having trouble making it work in Linux. Which of the following is most likely the source of his trouble?
  A. An IRQ conflict is preventing Linux from using the modem.
  B. Winmodems are specific to Windows operating systems. Linux cannot use them.
  C. The modem is a plug-and-play device, and the user does not have the isapnptools package installed/configured.
  D. Linux does not support 56k modems.
ANSWER:
B: Winmodems are not supported under Linux. They are hardware devices that are incomplete when it come to hardware design. This is made up for through software programming. However, in the case of Winmodems, the software only works for Windows operating systems.  

QUESTION 15/20:
What downside is there to extensive partitioning?
  A. Slower disk access.
  B. Unused disk space is wasted.
  C. Data fragmentation.
  D. The root partition might not be able to be accessed at boot time.
ANSWER:
B: If you allocate too much space on a partition than will ever be used, then that space is wasted.  

QUESTION 16/20:
What does LDP stand for?
  A. Linux Development Project
  B. Linux Development and Planning
  C. Linux Documentation Project
  D. None of the above.
ANSWER:
C: Linux Documentation Project. It can be your best friend. You'll use it often.  

QUESTION 17/20:
A coworker bought a brand new mouse to use on his Linux workstation. He tells you that the person he bought it from said it would work, but he is very frustrated because it doesn't. The old mouse had a rectangular 9-pin connector, and the new mouse has a round 6-pin mini DIN connector. What is most likely the reason why your coworker's new mouse doesn't work?
  A. The person who sold him the mouse sold him the wrong type. Your coworker should take it back and get a refund.
  B. The new mouse needs an adapter to change the round 6-pin mini DIN connector to the rectangular 9-pin connector.
  C. Your coworker's Linux workstation isn't set up to use a PS/2 mouse.
  D. Your coworker's Linux workstation isn't configured to use a busmouse.
ANSWER:
C: The new mouse is a PS/2 mouse. Therefore, the Linux workstation will have to be configured to use a PS/2 mouse with the PS/2 protocol. You may have to add support for PS/2 mice in the Linux kernel. Once there is support in the kernel, the mouse can be configured to use the PS/2 protocol using the XF86Setup or mouseconfig tool.

QUESTION 18/20:
A coworker transports some files via floppy disk from one Linux workstation to another. When she uses the disk in the second machine, the file that she was trying to copy doesn't exist. What probably happened?
  A. Your coworker doesn't have the correct permissions to use the disk on the second machine.
  B. She probably did not properly unmount the disk from the first machine.
  C. The floppy disk was probably full.
  D. This is a security precaution that Linux uses to prevent the spread of computer viruses.
ANSWER:
B: Linux uses disk buffering to make work faster when using a floppy. If your coworker did not properly unmount the floppy, then the disk buffer was probably not written back to the disk. Therefore, the file would not be there.  

QUESTION 19/20:
How would an EIDE drive's geometry be changed, using LBA translation, if the drive had 1136 cylinders, 16 heads, and 63 sectors?
  A. 1024 cylinders, 128 heads, 63 sectors
  B. 1024 cylinders, 16 heads, 175 sectors
  C. 284 cylinders, 64 heads, 63 sectors
  D. 568 cylinders, 32 heads, 63 sectors
ANSWER:
D: By doubling the amount of heads, the value of cylinders is halved, bringing the geometry within acceptable limits for the BIOS to understand.

QUESTION 20/20:
Which of the following RAID levels provides both redundancy and performance increases?
  A. RAID-5
  B. RAID-4
  C. RAID-1
  D. RAID-0
ANSWER:
A: RAID-5 will provide both. There is no redundancy in RAID-0. Performance can actually be decreased in levels 1 and 4.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表