Self Test


The following questions will help you measure your understanding of the material presented in this chapter. As there are no multiple choice questions on the Red Hat exams, there are no multiple choice questions in this book. These questions exclusively test your understanding of the chapter. While the topics in this chapter are "prerequisites," it is okay if you know another way of performing a task. Getting results, not memorizing trivia, is what counts on the Red Hat exams. There may be more than one answer for many of these questions.

Basic Hardware Knowledge

  1. Once Linux is booted, what file can tell you all about the CPU(s) on your system?

    _______________________________________________

Basic Linux Knowledge

2. 

If you're editing the /etc/inittab file in vi, what command would you use to copy the currently highlighted line? _______________________________________________

the yy command in vi yanks a copy of the current line into the buffer.

Answers

2. 

The yy command in vi yanks a copy of the current line into the buffer.

Linux Filesystem Hierarchy and Structure

3. 

What command would you use to find currently mounted drives? _______________

image from book

Answers

3. 

To find currently mounted drives, the simplest method is to use the mount command; other commands that can tell you about mounted drives are cat /etc/mtab and df.

Basic File Operations and Manipulation

4. 

If you want to find the actual number of times user mj is logged into your Linux computer, what command would you use? ________________________________

image from book

Answers

4. 

The most elegant way to find the actual number of times user mj is logged in is to use the who | grep mj | wc -l command. However, for these purposes, it's usually good enough to count from the list associated with the who command. Remember that results are what matter on the Red Hat exams.

Printing

5. 

You're maintaining a large queue of print jobs on your network, and you need some job numbers to make sure the engineers get highest priority on the printer. What command would you use to list print job numbers? __________________________________

image from book

Answers

5. 

The simplest method to check print queues is to use the lpq command. If you want more information, try lpq -l for a long listing format. If you have more than one printer, the lpq -a command checks all configured printers.

Shells

6. 

What command would you use to add the /usr/sbin directory to your PATH?

___________________________________

image from book

Answers

6. 

The simplest way to add /usr/sbin to your $PATH is to use the PATH=$PATH:/usr/sbin command. But to make sure this command takes effect the next time you log in, you should add this command to the hidden .bash_profile file in your home directory.

Basic Security

7. 

When you run the umask command, you see the following result: 0000. The next time you create a file, what will be the permissions? __________________________

image from book

Answers

7. 

The answer is read and write permissions for all users, or _rw_rw_rw. Even if you try to set it to allow execute permissions, Red Hat won't let you do this anymore. You'll need to set execute permissions on each file after creation.

System Administration

8. 

Based on the following line from a user's crontab file, when will the Berkeleylives program be run?

 0 1 2 3 * Berkeleylives 

______________________________________

image from book

Answers

8. 

The convention for the first five entries in a crontab line is minute, hour, day of month, month, and day of week, so this particular job will run at 1 A.M. on March 2.

Basic TCP/IP Networking

9. 

Provide an example of an appropriate IPv4 network address, subnet mask, and broadcast address for a network of less than 300 computers on the 10.0.0.0 private network.

Network address: ________________________

Subnet mask: ________________________

Broadcast address: ________________________

image from book

Answers

9. 

The answer to this question will vary widely. If you can't provide many answers to this question, you may need to learn more about basic IPv4 addressing. One example is a network address of 10.11.12.0, a subnet mask of 255.255.255.0, and a broadcast address of 10.11.12.255.

Familiarity with Standard Network Services

10. 

What is the protocol associated with the service used to connect Linux to a Microsoft Windows-based network? ________________________________________

image from book

Answers

10. 

The basic protocol is Samba (SMB), associated with the Common Internet File System (CIFS). Any of these answers are correct; however, as described in Chapter 10, it's important to know that the CIFS module has superseded the SMBFS module for RHEL 5.

Basic Network Security

11. 

What command would you use to start the basic Red Hat Enterprise Linux firewall configuration utility? ______________________________________________

image from book

Answers

11. 

The basic Red Hat firewall configuration utility can be started with the system-config-securitylevel command.

Other Basic Prerequisite Skills per the Red Hat Exam Prep Guide

12. 

Name one of the major e-mail clients available on Red Hat Enterprise Linux 5.

_______________________________

image from book

Answers

12. 

Several different e-mail clients are available in RHEL 5, including mutt, mail, Kmail, and Evolution.

Downloading the Red Hat Enterprise Linux Installation CDs

13. 

Name one alternative distribution that uses the same source code as RHEL 5.

_______________________

image from book

Answers

13. 

There are several different rebuild distributions available, including CentOS, Lineox, Scientific Linux, and more. One list of available rebuild distributions can be found at http://linuxmafia.com/faq/RedHat/rhel-forks.html. The answer is correct only if the group you've cited has rebuilt the source code for RHEL 5.



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

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