Top Leading RH302 test question Reviews!

Pass4sure offers free demo for RH302 exam. “Red Hat Certified Engineer on Redhat Enterprise Linux 5 (Labs)”, also known as RH302 exam, is a Red Hat Certification. This set of posts, Passing the Red Hat RH302 exam, will help you answer those questions. The RH302 Questions & Answers covers all the knowledge points of the real exam. 100% real Red Hat RH302 exams and revised by experts!


Free VCE & PDF File for Red Hat RH302 Real Exam
(Full Version!)

Pass on Your First TRY 100% Money Back Guarantee Realistic Practice Exam Questions

Free Instant Download NEW RH302 Exam Dumps (PDF & VCE):
Available on:


Make Successfully Resolve to where DNS Server is

Answer and Explanation: 

1. vi /etc/resolv.conf

Write : nameserver


There is a HTTP server and all required packages are dumped in /var/www/html/rhel5 of that server. Install the Redhat Enterprise Linux 5 by creating following partitions:

/ 1000

/boot 200

/home 1000

/var 1000

/usr 4000

swap 2X256 (RAM SIZE)

Answer and Explanation:

Note: Examiner will provide you the Installation startup CD. And here mentioned size may vary see on the exam paper.

1. Insert the CD on CD-ROM and start the system.

2. In Boot: Prompt type linux askmethod

3. It will display the Language, keyboard selection.

4. It will ask you for the installation method.

5. Select the HTTP from the list

6. It will ask the IP Address, Net mask, Gateway and Name Server. Select Use

Dynamic IP Configuration: because DHCP Server will be configured in your exam lab.

7. It will ask for the Web site name and Redhat Enterprise Linux Directory.

Specify the HTTP Server:

Directory: rhel5 à Because Default Directory for http is /var/www/html

8. After Connecting to the HTTP Server Installation start. Go upto the partition screen by selecting the different Options.

9. Create the partition According to the Question because Size and what-what partition should you create at installation time is specified in your question

10. Then select the MBR Options, time zone and go upto package selections.

It is another Most Important Time of installation. Due to the time limit, you should be care about the installation packages. At Exam time you these packages are enough.

X-Window System

GNOME Desktop

(these two packages are generally not required)

Administration Tools.

System Tools

Windows File Server

FTP Servers

Mail Servers

Web Servers

Network Servers


Text Based Internet

Server Configuration Tools

Printing Supports

When installation will complete, your system will reboot. Jump for another Question.


Configure the Apache webserver for station? (associated IP is your host IP address) by downloading the index.html from

Answer and Explanation:

1. vi /etc/httpd/conf/httpd.conf

<VirtualHost 192.168.0.?>

ServerName station?

DocumentRoot /var/www/station?

DirectoryIndex index.html



2. Create the directory and index page on specified path. (Index page can download from at exam time)

Check the SELinux context of index page , should like this:

-rw-r–r– root root system_u:object_r:httpd_sys_content_t /var/www/html/index.html

If SELinux Context is mismatched, use the restorecon -R /var command

3. service httpd start|restart

4. chkconfig httpd on


Create the user named user1, user2, user3

Answer and Explanation:

1. useradd user1

2. useradd user2

3. useradd user3

4. passwd user1

5. passwd user2

6. passwd user3

We create the user using useradd command and we change the password of user using passwd command. If you want to set the blank password use: passwd -d username.


Create the directory /archive and group owner should be the sysuser group.

Answer and Explanation:

1. chgrp sysuser /archive

2. Verify using ls -ld /archive command. You should get like

drwxr-x— 2 root sysadmin 4096 Mar 16 17:59 /archive

chgrp command is used to change the group ownership of particular files or directory.

Another way you can use the chown command.

chown root:sysuser /archive


Create the group named sysadmin.

Answer and Explanation:

1. groupadd sysadmin

groupadd command is used to create the group and all group information is stored in /etc/group file.


Your System is going to use as a Router for two networks. One Network is and Another Network is Both network's IP address has assigned. How will you forward the packets from one network to another network?

Answer and Explanation:

1. echo "1" >/proc/sys/net/ipv4/ip_forward

2. vi /etc/sysctl.conf

net.ipv4.ip_forward = 1

If you want to use the Linux System as a Router to make communication between different networks, you need enable the IP forwarding. To enable on running session just set value 1 to /proc/sys/net/ipv4/ip_forward. As well as automatically turn on the IP forwarding features on next boot set on /etc/sysctl.conf file.


Create a RAID Device /dev/md0 by creating equal two disks from available free space on your harddisk and mount it on /data.

Answer and Explanation:

Redhat Enterprise Linux 5 Supports the RAID LEVEL 0, RAID LEVEL 1, RAID LEVEL 5 and RAID LEVEL 6 at installation time. You can create it at installation time later no need to type lots of commands for RAID.

At Installation Time:Create the partitions using diskdruid.Create the Partitions having File system

Type Software RAID.Click on RAID buttonType the Mount PointSelect File system typeSelect

RAID LevelSelect Partitions/disks as a member of RAID.Click on ok

After Installation: We can create the RAID Device after Installation on command-line.

1. Create the Two partitions having equal size. (Specify the Size using Cylinder, find the remaining cylinder and divide by 2).

2. Change the Partition ID to fd (Linux raid Autodetect) by typing t.

3. Type w à To write on partitions table.

4. Use partprobe command to synchronic the partition table.

5. Use: mdadm –create /dev/md0 –level=1 –raid-devices=2 /dev/hda? /dev/hda?

6. Verify the RAID: mdadm –detail /dev/md0

7. mkfs -t ext3 /dev/md0

8. mount /dev/md0 /data

9. vi /etc/fstab

/dev/md0 /data ext3 defaults 0 0

10. Verify mounting devices using mount command.


One New Kernel is released named kernel-.2.6.9-11. Kernel is available on directory for anonymous. Install the Kernel and make the kernel-2.6.9-5 default.

Answer and Explanation:

1. rpm -ivh

2. vi /etc/grub.conf

default=1 à Change this value to 1




title Red Hat Enterprise Linux ES (2.6.9-11)

root (hd0,0)

kernel /vmlinuz-2.6.9-11.EL ro root=LABEL=/ rhgb quiet

initrd /initrd-2.6.9-11.EL.img

title Red Hat Enterprise Linux ES (2.6.9-5.EL)

root (hd0,0)

kernel /vmlinuz-2.6.9-5.EL ro root=LABEL=/ rhgb quiet

initrd /initrd-2.6.9-5.EL.img

According question that kernel is available to anonymous user. You can directly install from the ftp server using rpm command.

When you install the kernel, it will write on /etc/grub.conf file. You can set the default kernel by changing the default value. See on the output of /etc/grub.conf file that new kernel is on first title so it's index is 0 and previous kernel's index is 1.


Add a new logical partition having size 100MB and create the /data which will be the mount point for the new partition.

Answer and Explanation:

Use fdisk /dev/hda à To create new partition.Type n à For New

partitionsIt will ask for Logical or Primary Partitions. Press l for logical.It will ask for the Starting

Cylinder: Use the Default by pressing Enter Key.Type the Size: +100M à You can Specify either

Last cylinder of Size here.Press P to verify the partitions lists and remember the partitions

name.Press w to write on partitions table.Either Reboot or use partprobe command.Use mkfs -t

ext3 /dev/hda?Ormke2fs -j /dev/hda? à To create ext3 /etc/fstabWrite:/dev/hda? /data

ext3 defaults 0 0Verify by mounting on current Sessions also:mount /dev/hda? /data

Certleader Dumps
Certleader is a company specialized on providing high quality IT exam materials and fully committed to assist our respected clients crack any IT certification tests on their 1st efforts.