Home arrow Site Administration arrow Page 12 - Kernel, Cron, and User Administration, Part 2

Self Test - Administration

Today, continue on your path to RHCE certification. Learn about creating a new kernel the easy way, kernel sources, recompiling a kernel, and the cron and at systems. Take notes, because there's a test at the end. This comes from chapter five of Red Hat Certified Engineer Linux Study Guide (Exam RH302), fourth edition, by Michael Jang. (McGraw-Hill/Osborne, 2004, ISBN: 0-07-225365-7).

TABLE OF CONTENTS:
  1. Kernel, Cron, and User Administration, Part 2
  2. Updating Your Boot Loader
  3. The Kernel Source Tree and Documentation
  4. The Kernel RPMs
  5. GUI Kernel Source Management
  6. The Linux Kernel tar File
  7. Understanding Kernel Configuration Options
  8. Compiling and Installing a Custom Kernel
  9. The cron and at Systems
  10. Setting Up cron for Users
  11. Certification Summary
  12. Self Test
  13. Lab Questions
  14. Self Test Answers
  15. Lab
By: McGraw-Hill/Osborne
Rating: starstarstarstarstar / 7
October 06, 2004

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

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. This is just to test your understanding of the material; Red Hat no longer includes multiple choice questions on the RHCE or RHCT exams.Shell Configuration Files

1. The system-wide file associated with the bash shell is:

A. /etc/shells.conf

B. /etc/startup.sh

C. /etc/profile

D. There is no system-wide shell startup file; all such files reside in individual user directories.

Setting Up and Managing Disk Quotas

2. You are running an ISP service and provide space for usersí Web pages. You want them to use no more than 40MB of space, but you will allow up to 50MB until they can clean up their stuff. How could you use quotas to enforce this policy?

A. Enable grace periods; set the hard limit to 40MB and the soft limit to 50MB.

B. Enable grace periods; set the soft limit to 50MB and the hard limit to 40MB.

C. Enable grace periods; set the soft limit to 40MB, and the hard limit to 50MB.

D. None of the above.

3. If you wanted to configure quotas for everyone on the /home directory, what would you add to the options in /etc/fstab?

A. quota

B. usrquota

C. grpquota

D. userquota

The Basics of the Kernel

4. You are troubleshooting someone elseís computer and are not sure what network card is inside it. You have checked the output from the dmesg command, but no network cards are listed, and even though you have a bunch of compiled network modules, none are currently loaded. What could you do to load the unknown network device most quickly?

A. Try loading each module manually.

B. modprobe \*

C. Nothing. The kernel will load the module when you try to connect to the network.

D. modprobe -t net

5. You canít find any modules in the /lib/modules/kernel_version/kernel/drivers (or similar) directories. Which of the following actions would set up these modules?

A. Go into the /lib/modules/kernel_versiondirectory and run the make modules command.

B. Go into the /lib/modules/kernel_versiondirectory and run the make modules and make modules_install commands.

C. Go into the /usr/src/linux-2.4 directory and run the make modules command.

D. Go into the /usr/src/linux-2.4 directory and run the make modules and make modules_ install commands.

New Kernels, the Easy Way

6. When you install an updated kernel from a Red Hat RPM, which of the following steps do you need to take?

A. Add information on the new kernel in a GRUB stanza.

B. Add a new Initial RAM disk to the /boot directory.

C. Reconfigure the /usr/src/linux-2.4/.config file.

D. None of the above.

Kernel Sources

7. Youíre not sure which kernel source tree is active for your Linux computer. Which of the following directories should be linked to that source tree?

A. /usr/src/linux

B. /usr/src/linux-2.4

C. /usr/src/linux-2.4rh

D. /usr/src

Recompiling a Kernel

8. When compiling a kernel, youíve navigated to the /usr/src/linux-2.4 directory. Which of the following would not work with the make command to reconfigure your kernel?

A. config

B. menuconfig

C. windowconfig

D. xconfig

9. You have just compiled a new kernel with the make bzImage command. You need to copy the kernel and Initial RAM disk to the /boot directory. What is the most efficient way to make this happen?

A. Copy the image from the /usr/src/linux/arch/i386/boot directory.

B. Nothing. The make bzImage command automatically installs the kernel to the /boot directory.

C. Install a revised Red Hat kernel RPM.

D. After youíve set up modules, run the make install command.

The cron and at Systems

10. You want to schedule a maintenance job to run from your home directory on the first of every month at 4:00 A.M. Which of the following cron entries runs the specified job at the specified time?

A. 0 4 1 * * ~/maintenance.pl

B. 4 1 * * ~/maintenance.pl

C. 0 4 31 * * ~/maintenance.pl

D. 1 4 0 0 ~/maintenance.pl

This is part one from the fifth chapter of Red Hat Certified Engineer Linux Study Guide (Exam RH302), fourth edition, by Michael Jang. (McGraw-Hill/Osborne, 2004, ISBN: 0-07-225365-7). Check it out at your favorite bookstore today. Buy this book now.



 
 
>>> More Site Administration Articles          >>> More By McGraw-Hill/Osborne
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

SITE ADMINISTRATION ARTICLES

- Coding: Not Just for Developers
- To Support or Not Support IE?
- Administration: Networking OSX and Win 7
- DotNetNuke Gets Social
- Integrating MailChimp with Joomla: Creating ...
- Integrating MailChimp with Joomla: List Mana...
- Integrating MailChimp with Joomla: Building ...
- Integrating MailChimp with Joomla
- More Top WordPress Plugins for Social Media
- Optimizing Security: SSH Public Key Authenti...
- Patches and Rejects in Software Configuratio...
- Configuring a CVS Server
- Managing Code and Teams for Cross-Platform S...
- Software Configuration Management
- Back Up a Joomla Site with Akeeba Backup

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: