Tuesday 20 January 2015

Sample question for preparation



RHCEngineer

14)configure your machine as ftp server with access restricted to the domain cracker.org
15)configure your machine as an ssh server with access only from cracker.org
16)configure your machine as samba server to share the directory /data with rw permission to all members of example.com domain. members of cracker.org should not be allowed to access the share
17)set up your machine as mail server.mails to root should be delivered to user mark
18)set up your machine as httpd server server name tux.example.com (index.html for this wil be provided at ftp site)

Advanced conf
19)enable imap with ssl support
20)configure a virtul host virtual.example.com (index.html will be provided at ftp site)
21)configure squid
22) Configure your machine to have a default runlevel of 3

Sample question for preparation

nstallation and Red Hat Certified Technician (2 hours)

1)Install with the following specification
/boot 100Mb
/home 5Gb
/opt 5Gb
swap 500Mb
/ 1000mb
remaining /data as raid partition with Hostname "exam" and root password "redhat".

Network installation is to be done.
IP of local system 192.168.100.20
ftp server ftp://192.168.100.79/var/ftp/pub/
anonymous login

2) Configure your machine to get dynamic ip
3) Install dialog rpm
4) Create a user "mark" who does not have an interactive shell
5) Create a user "green" who also belongs to group "mark"
6) Create a user who belongs group "mark" only
7) Configure your machine as dns client
DNS server 192.168.100.79
DOMAINNAME example.com


8) Configure an NIS client
NIS server 192.168.100.79
NISDOMAINNAME example.com
 

9) Configure your machine to mount the home directory of user "nisuser" at boot time server 192.168.100.79
home directory of user "nisuser" 192.168.100.79:/home/nisuser
10) Create a directory "share" in / with rwx permission to all users in group "mark" Files created in this directory should have read permission to all but users cannot delete files created by others
11) Configure a cron job to create a file "logout" in /root with the content "Time up" at 06:00 am everyday
12) Configure a local printer with queue name "prqu"
13) install the kernel rpm and boot with the new kernel(ftp server and location of kernel rpm will be given)

Sample question for preparation



Trouble Shooting
Troubleshooting (45 minutes)
1) Login to the system as root with password "redhat"
2) ping to ip 202.88.219.129
3) mount the exported directory /var/ftp/pub of 192.168.100.79 on to the directory /mnt/cdrom/ refer file "/root/network.txt" for network configuration
4) The system should boot in run level 5 with graphical login screen
5) Resize lvm to have 50mb more space
6) mount the the remote share to /mnt/ (iptables)
7) share the directory /data with rw permission to all (portmap)
 

NOTE: Re-Installation of the system is not allowed in section 1 (rescue disk will be provided)

Sample question for redhat exam preparation

RedHat Certified Engineer



http://rhce-exampreparation.blogspot.com/


1. Enable ssh only to user john. or enable ssh only to example.com

2. Configure an ftp server only to example.com

3. Configure a pop3 server only to example.com so that user eric should get his mail.

4. Setup an SMTP server such that you can receive mail from any network.

5. Setup a samba server. The workgroup is example. A share named data is shared and it should be browsable and should not be writable. The valid user is john.

6. Setup a site named stationx.example.com. The html file lies in /var/ftp/pub/html/htmlfile. Use ftp to download the html file.

7. Setup a proxy server on port 8080 only to example.com

8. Configure imaps in such a way that john gets authenticated and allowed to use Imaps. Cracker.org machines should not get authenticated.

9. Setup a site named wwwx.exmaple.com where x is your station number. Document root is /www/date. Html file lies in /var/ftp/pub/www/wwwfie. User john should be able to host site on it.

10. Create a mail alias for example.com as something.com

Sample question for preparation


Red Hat Certified Technician
 
1. Fll the enrollment form.
2. Install a dialog rpm. RPM lies in /var/ftp/pub
3. Installation requirement:
/home - 512 /boot - 128
/var - 512 / - 256
/usr - 2048 swap - 1.5 to 2 times of memory seen in proc filesystem. All the remainig space will be allocated to raid 0 and mount it on /data.
4. Add a group named sysadmin. Add 3 users john, jane, and eric out of which eric should not have
a login window. john and jane are members of secondary group sysadmin.
5. Create a directory sysadmin under /data. The members of sysadmin should be able to create files
in sysadmin. The files created in sysadmin should have group ownership as sysadmin.
6. Enable ip forwarding.
7. Export /data only to example.com domain
8. Upgrade with appropriate kernel. New kernel lies in /var/ftp/pub/updates.
9. Printer configuration through IPP(cups). The print que is stationx. and server is
server1.example.com. You can check it under site http://server1.example.com:631/printers/stationx/
10. In the server nisuserx has his home directory in /rhome/stationx/nisuserx.
In your system nisuserx should get his home directory in /rhome/nisuserx. All other nisusers should be able to login but others can't get their home directory.
11. User jane sets a cronjob to print hello to any output device at 1.30AM

Sample question for preparation



Trouble Shooting

1. login as root. Your root password should be redhat. (COMPULSORY)
2. You should be able to ping server1.cracekr.com
3. You should be able to dig server1.example.com (COMPULSORY)
4. You should get GUI login in the next reboot (Xwindows problem) (COMPULSORY)
5. When you type showmount -e localhost /export is seen as exported. (COMPULSORY)
6. when user neo type dd if=/dev/zero of=somefile bs=1024 count=30 he succeed.
when he type dd if=/dev/zero of=somefile bs=1024 count=70 he fails.
7. Resize your logical volume myvol to 300Mb. A + or - 10Mb variation is allowed.
8. Create a new partion of 100Mb size and mount it permanently under /mnt/new. (COMPULSORY)
9.And 10 kernel panic. Problems in /etc/fstab and /boot/grub/grub.conf