Self Test


The following questions will help you measure your understanding of the material presented in this chapter. As no multiple choice questions appear on the Red Hat exams, no multiple choice questions appear in this book. 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.

Network Configuration

1. 

What three directives are typically found in the /etc/sysconfig/network file?

________________________________________

________________________________________

________________________________________

image from book

2. 

What command would you use to assign an IP address of 192.168.99.44 to your eth1 network card?

________________________________________

image from book

3. 

What command returns the current routing table?

________________________________________

image from book

4. 

What command deactivates the eth0 network device?

________________________________________

image from book

The CUPS Printing System

5. 

You want to look at your current printer configuration in a GUI desktop interface. What starts the Red Hat GUI Printer Configuration tool?

________________________________________

image from book

6. 

You want to configure a group of printers as a printer class. Which GUI tool can you use for this purpose?

________________________________________

image from book

7. 

What is the main CUPS printer configuration file?

________________________________________

the main cups printer configuration file is /etc/cups/cupsd.conf.

8. 

What command can you use to remove print job number 12 from the print queue?

________________________________________

the command that removes print job number 12 from the default print queue is # lprm 12

Answers

5. 

The command that starts the Red Hat GUI Printer Configuration tool from a GUI command line is system-config-printer.

6. 

To configure a group of printers as a printer class, you can use the CUPS Web-based configuration tool.

7. 

The main CUPS printer configuration file is /etc/cups/cupsd.conf.

8. 

The command that removes print job number 12 from the default print queue is

 # lprm 12 

Automating System Administration: cron and At

9. 

You want to schedule a maintenance job, maintenance.pl, to run from your home directory on the first of every month at 4:00 A.M. You've run the crontab -e command to open your personal job file. Assume you've added appropriate PATH and SHELL directives. What directive would you add to run the specified job at the specified time?

____________________________________________________________

image from book

10. 

If you see the following entry in your /etc/crontab:

 42 4 1 * * root run-parts /etc/cron.monthly 

when is the next time Linux will run the jobs in the /etc/cron.monthly directory?

____________________________________________________________

image from book

Answers

9. 

The directive that runs the maintenance.pl script from a home directory at the noted time is

 00 4 1 * * ~/maintenance.pl 

10. 

Based on the noted entry in /etc/crontab, the next time Linux will run the jobs in the /etc/cron .monthly directory is on the first of the upcoming month, at 4:42 A.M.

Understanding, Maintaining, and Monitoring System Logs

11. 

Assume you normally work from a user account called sysadm. What entry might you add to /etc/syslog.conf to notify you whenever there is a serious problem with the kernel?

___________________________________________________________

image from book

12. 

What three log files in /var/log are most relevant to the installation process?

___________________________________________________________

___________________________________________________________

___________________________________________________________

image from book

Answers

11. 

The entry that you might activate in /etc/syslog.conf to notify you whenever a serious problem with the kernel occurs is

 kern.* /dev/console 

12. 

The log files in /var/log that are most relevant to the installation process are anaconda.log, anaconda.syslog, and anaconda.xlog. If you install in text mode, anaconda.xlog won't be created.



RHCE Red Hat Certified Engineer Linux Study Guide (Exam RH302)
Linux Patch Management: Keeping Linux Systems Up To Date
ISBN: 0132366754
EAN: 2147483647
Year: 2004
Pages: 227
Authors: Michael Jang

Similar book on Amazon
Linux Quick Fix Notebook
Linux Quick Fix Notebook
Self-Service Linux: Mastering the Art of Problem Determination
Self-Service Linux: Mastering the Art of Problem Determination
RHCSA/RHCE Red Hat Linux Certification Study Guide (Exams EX200 & EX300), 6th Edition (Certification Press)
RHCSA/RHCE Red Hat Linux Certification Study Guide (Exams EX200 & EX300), 6th Edition (Certification Press)
Security Strategies in Linux Platforms and Applications (Information Systems Security & Assurance)
Security Strategies in Linux Platforms and Applications (Information Systems Security & Assurance)

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