RHCE EXAM SAMPLE QUESTIONS
RHCE Exam OVER VIEW
The RedHat certified exam has two parts , Time duration is 3.5 hours.1. Section I , RHCT
2. Section II , RHCE
In order to earn RHCE ,
1. A score 70 % for RHCT
2. A score 70 % for RHCE
CONFIGURATION
Your machine will be a member of a DNS domain "example.com" . All system in the example.com DNS domain are in the 172.24.0.0/255.255.0.0 subnet and All system in the cracker.org DMS domain are in the 172.25.0.0/255.255.0.0 subnet.Station234.example.com is for testing accessed by ssh . if your hostname is station1.example.com , then you can login to this machine with username guest1
and password is password. If your hostname is station2.example.com then u have hostname is guest2 and password is password . u can’t login to any other user account.
1. yum repository resides in http://server1.example.com/RHEL5.1
2. "x" represent your station number.
RHCT
Q1. SELinux must be in enforcing mode .Q2. Your system has a new 500M partition mounted under /mnt/new
with Ext3 filesystem.
Q3. Export your /archive directory via NFS to the example.com domain only.
or
if any host in your network run
/usr/sbin/showmount -e 192.168.0.x
then have your /archive directory share.
Q4. Wilcard or USER Quotauser john whose password id password can run
dd if=/dev/zero of=test bs=1024 count=40
and cannot run
dd if=/dev/zero of=test bs=1024 count=80
Q5. Resize LVM to 300MB .
consider +-30 MB.
Q6. Create a RAID 0 device mounted on /archive using 700MB space on hard drive .
Q7. Install dialog rpm package.
Q8. Create the following users, groups .
1. create user Jackie ,curtis users whose secondary group will be sysusers and password should be password
2. create david user who should not get interactive shell and password should be password
Q9. (a) Create directory sysusers in /archive . The file created in this
directory will be altered by users of sysusers group but not by other
users including root.
(Remember even if you denied permission to root he access to it.)
(b) Other users can’t read ,write and delete the files in this directory .
3. Also files created in this directory whose group automatically set to sysusers group.
4. Create a dir named /dir & permission 777 on it but user "san" should not read ,write & access on it (although permission for other is read,write & access)
5. Copy /etc/fstab file in /var/tmp directory. /var/tmp/fstab file’s owner should be root and group should be root. Any user Can’t execute the file . user lyne ,whose password is password have write permission on the file and jeff user, whose password is password don’t have permission to read and write. Other user can read the file.
Q10. The user Jackie must configure cron job that runs daily at 05:05 pm
local time and execute
/bin/echo HELLO
Q11. Install the kernel rpm from ftp://server1.example.com/pub/update with following characteristics.
System should boot default from the new kernel . original kernel should
be available
Q12. Enable IP Forwarding permanently in your machine.
Q13. Configure the CUPS printer with server server1.example.com and
queue name as printer and take printer model as generic/text-only
printer/textonly.ppd print queue.
Q14. Configure system as NIS client such that it is bound to the NIS
domain example.com with IP address 172.24.0.254
1. you can login as nisuserX and password is password
2. you will not get a home directory until you don’t do following questions.
Configure autofs to automount the home directories of NIS users . note the following:
·
·
·
·
·
NETWORK SERVICES AND SECURITY
RHCE
Q1. Configure SSH as follows.
1. Curtis has remote SSH access to your machine from within example.com2. Allow your network example.com to access SSH server.
3. Client with in cracker.org domain should not access your SSH server.
Q2. Configure POP3 email on your system according to these criteria.
1. David must be able to retrieve email from your machine using POP3 from with in example.com
2. Clients with in cracker.org domain should not have access to your POP3.
Q3. Configure FTP access on your machine.
1. Only Jackie user can login to your ftp
2. Should anonymous upload
3. Client with in cracker.org domain should not access your FTP service.
Q4. Share the /archive directory via SMB.
1. workgroup name "DRAAK" without quotes.
2. Only user Jackie can login to /archive who has only rights to read the shared /archive directory with password of password
3. It should be browseable.
4. Share name is archive.
5. The /archive share must be available to example.com domain clients only
Q6. Configure your MTA (sendmail) by setting following criteria .
1. User curtis must get all acctmgr mail.
2. Your mail server should accept mail from remote hosts and localhost.
3. curtis must be able to receive mail from remote host.
4. But other domains should not have access your MTA
Q7. Implement a web server , then perform the following steps:
·
·
·
·
Q8. Configure your machine NTP client where your NTP server is 172.24.0.254
ADDITIONAL RHCE REQUIREMENT
Q1.
Configure secure IMAP services with SSL certificates.
1. IMAPS must be available to curtis from example.com
2. IMAPS must NOT be available to other networks or domain.
3. The SSL certificate for the IMAPS must created as follows
· Take default country name , statename ,locality ,organization ,name
· Take organization until name as GLS
· Common name as stationX.example.com
Q2. Implement a web proxy sever bound to port 8080 .
1. Only network example.com should have permission to access your proxy server
Q3. extend your web server to include a virtual host for the site
http://wwwX.example.com , the perform the following steps:
1. set the document root to var/www/virtual
3. Rename the download file to index.html
4. Place the download file to the document root
5. Do not modify the index.html
6. Ensure the curtis is bale to create content in /var/www/virtual
Thanks
No comments:
Post a Comment