Saturday, May 10, 2008

Sample Questions for RHCE exam

Five compulsory questions should be completed with in first 1 hrs of time:

1. Login as root, password is redhat (compulsory)
2. Dig (compulsory)
3. ping (compulsory)
4. When you type showmount –e localhost. Export directory should be shown exported, and mount a folder /var/ftp/pub on /mnt/new in permanent from nfs
5. Login in graphical mode and make it default (compulsory).
6. Create a partition (ext3) of 100M and mount it on /test (compulsory).
7. Set disk quota for user Prasanna so that he can create file size up to 80k with out warning and should not create file size of 100K.
8. Resize your volume upto 300M.
9. Major troubleshooting 1 (grub or fstab)
10. Major troubleshooting 2 (grub or fstab)


1. install the Redhat Linux which meet the following criteria
swap 1.5 or 2 of the size of the RAM
/usr 2048 MB
/var 1024 MB
/ 512MB
/home 1024MB
/tmp 1024MB
2. Configure the remaining available space for RAID 0 whose mount point is /data. Device in dev/md0. Nfs server ip address: directory is /var/ftp/pub
3. Install the dialog RPM present in /pub/RedHat/RPMS on server.
4. Install a new kernel which is present in /var/ftp/pub/updates on server. Kernel architecture is i686. (Kernel name is kernel-smp).
5. Create four users whose names are pnap, Prasanna, Santiago, & Jeyaseelan. The first three users are in sysaddmin group. Jeyaseelan is a login user. Password of the four users is password123. group users must get the group affiliation in /data/sysadmin directory.
6. The members of sysadmin should be able to create files. Others don’t have any permission. The files created in sysadmin directory should have group ownership as sysadmin. Group members should delete their own files in sysadmin directory.
7. schedule a job for user Prasanna by using crontab at 2:45am to display the message hello
8. Set the nis client domain name is RHCE server name is, user home directory is /rhom/stationx/nisuserx. Where x is your station number, username is nisuserx. Password is nisuserx and only you have to use auto mount. Only nisuserx should get his home directory as /rhome/nisuserx.
9. Configure the ipp printer client queue name is stationx. Server queue name is server1. sever ip address is print queue check by using
Configure the system as router.


1. Create the secure server host which must be accessed only by domain. The user prasanna can access the SSH server but root unable to access.
2. Create a file transfer protocol to allow the to access and deny the from accessing FTP server.
3. The user Prasanna can access the FTP server.
Anonymous users can access the FTP server.
4. Configure the POP3 server which can be accessed by domain. Deny all domains to access pop3 server.
5. configure the send mail server
Prasanna should receive mail send to Santiago
No login user Jeyaseelan must send and receive the mail.
6. Configure the imaps server which must be accessed only by domain.
7. Configure the samba server. Share the path /data by using samba which must be accessed only the user Prasanna, whose smb password is “password” samba server can be accessed only domain. The folder should be browse able. Set the netbios name as Linux.
8. Configure the nfs server.
Export /data directory.
Export directory only accessed by domain.
9. Configure the http server whose default.html file present in ftp:/var/ftp/pub/stationx. Where x is your station number.
10. Configure squid which port number is 8080. you have to allow only the domain to use proxy.
11. Configure the virtual host whose name is where x is your station number. The default webpage is available from the server ftp:/var/ftp/pub/stationx/virtual.html and the document root path is /www/virtual. Only user Prasanna must access the
User Prasanna should be able to host a site ( on it.


Anonymous said...

Mr.Prasanna You did a great job. This blog is giving us a great thing for our exams.

STG Learning Centre, Chennai.

Ramesh said...

good work said...

Good stuff sir. Please continue this work for us.
Siva. said...

Ya I downloaded the questions. My aim is to score centum in RHCE exams.
Thankx Prasnna. said...

Great stuff prasanna. keep it up.

Anonymous said...

good dear.


Editor said...

Thank you for sharing such a wonderful Information !!

Veritas Cluster Interview Questions

Redhat Cluster Suite Commands

SAMBA Server Interview Questions

Linux FTP vsftpd Interview Questions

SSH Interview Questions

Apache Interview Questions

Nagios Interview questions

IPTABLES Interview Questions

Ldap Server Interview Questions

LVM Interview questions

Sendmail Server Interview Questions

YUM Interview Questions

NFS Interview Questions

Tcpdump Command Examples & Usages

Example of YUM Commands

Read More at :- Linux Troubleshooting