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 server1.example.com (compulsory)
3. ping 172.24.254.254 (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 server1.example.com
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)

RHCT

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: server1.example.com 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 server1.example.com, 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 server1.example.com print queue check by using
http://server1.example.com:631/printers/server1
Configure the system as router.

RHCE

1. Create the secure server host which must be accessed only by example.com domain. The user prasanna can access the SSH server but root unable to access.
2. Create a file transfer protocol to allow the example.com to access and deny the cracker.org 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 example.com 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 example.com 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 craker.org 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 example.com 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 example.com domain to use proxy.
11. Configure the virtual host whose name is
www.example.com 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 wwwx.example.com
User Prasanna should be able to host a site (
www.example.com) on it.

7 Comments:

Anonymous said...

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

Mahaprabhu.
STG Learning Centre, Chennai.

Ramesh said...

good work

pmsivaakumar39@gmail.com said...

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

suji.rose2@gmail.com said...

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

dansamleu@yahoo.co.in said...

Great stuff prasanna. keep it up.

Anonymous said...

good dear.

Thooya
Mysore.

Editor said...

Thank you for sharing such a wonderful Information !!
Here is a list of Top LINUX INTERVIEW QUESTIONS

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