You can save more time in case you utilize each of our Red Hat RH302 study guide. To put that another approach, you dont have to spend significantly time on reading people lengthy books. The Red Hat Red Hat RH302 dumps also contain several wonderful simulated questions. The simulated questions tend to be merged into the RH302 questions along with answers of each of our Red Hat RH302 study guides. Its really convenient for you personally to get ready the exam together with our amazing RH302 materials. All of us make sure that you may definitely attain success as long as you put pace together with our Red Hat certification review materials. Of course, you should possess a vast knowledge regarding the course firstly. The more you review the RH302 review materials, your nearer to your destination. The actual Red Hat RH302 books or the eBooks tend to be portable, so you can take them wherever and anytime you would like. You have the access for the Red Hat study guide for further assistance. We assure the consumers absolute achievement due to the ultimate, authentic along with excellent supplies.
Q41. CORRECT TEXT
Add a job on Cron schedule to display Hello World on every two Seconds in terminal 8.
Answer and Explanation:
1. cat >schedule
*/2 * * * * /bin/echo "Hello World" >/dev/tty8
3. crontab schedule
4. Verify using: crontab -l
5. service crond restart
Cron helps to schedule on recurring events. Pattern of Cron is:
Minute Hour Day of Month Month Day of Week Commands
0-59 0-23 1-31 1-12 0-7 where 0 and 7 means Sunday.
Note * means every. To execute the command on every two minutes */2.
To add the scheduled file on cron job: crontab filename
To List the Cron Shedule: crontab -l
To Edit the Schedule: crontab -e
To Remove the Schedule: crontab -r
Q42. CORRECT TEXT
Configure the DNS for example.com domain, where 192.100.0.20 is associated IP for www and NS is 192.100.0.X where X is your IP.
Answer and Explanation:
1. rename the file named.caching-nameserver.conf into named.conf file located into
/var/named/chroot/etc
#mv /var/named/chroot/etc/named.caching-nameserver.conf /var/named/chroot/etc/named.conf
2. Check the permission and ownership as well as SELinux Context should be like as:
-rw-r----- root named system_u:object_r:named_conf_t /var/named/chroot/etc/named.conf
If selinux context is mismatch use the restorecon -R /var command
3. vi /var/named/chroot/etc/named.conf
zone "example.com" IN {
type master;
file "example.com.zone";
};
/var/named/chroot/etc/named.conf file is used to register the zone as well as specify the global option for DNS server. There are two types of zone, i. Master, which contains the original data. ii.
Slave, backup of master. Here is the example of master zone configuration.
4. vi /var/named/chroot/var/named/example.com.zone
$TTL 345345
@ IN SOA @ webmaster.example.com.(
101; Serial Number
1H; Refresh Time
1M; Retry Time
1W; Expire Time
1D; Minimum Time to Live
)
@ IN NS 192.100.0.X
www IN A 192.100.0.20
5. Check the permission as well as SELinux Context should like this:
-rw-r--r-- root named root:object_r:named_zone_t
/var/named/chroot/var/named/example.com.zone
If selinux context is mismatch use the restorecon -R /var command
6. service named start
7. rndc reload
8. chkconfig named on
Zone file should create on /var/named/chroot/var/named. Default Directory Path is specified on
/var/named/chroot/etc/named.conf file.
$TTLàTime To Live, How much seconds cache server stores the information about DNS. And Five Parameters specified Serial Number used by slave to synchronize with master server. Refresh and Retry Time used by slave server. NS is the Name (DNS) server where lookup the domain. A (Associated IP) for particular host.
Q43. CORRECT TEXT
Who ever creates the files/directories on /storage group owner should be automatically should be the same group owner of /storage.
Answer and Explanation:
1. chmod g+s /storage
2. Verify using: ls -ld /storage
Permission should be like:
drwxrws--- 2 root sysusers 4096 Mar 16 18:08 /storage
If SGID bit is set on directory then who every users creates the files on directory group owner
automatically the owner of parent directory.
To set the SGID bit: chmod g+s directory
To Remove the SGID bit: chmod g-s directory
Q44. CORRECT TEXT
Add a user named user4 and make primarily belongs to training group. As well account should expire on 30 days from today.
Answer and Explanation:
1. useradd username
2. passwd username
3. usermod -e "date"
example: usermod -e "12 Feb 2006" user4
Verify: chage -l user4
Q45. CORRECT TEXT
Boot your System Successfully on runlevel 3.
Answer and Explanation:
This is boot related problem. There will be same questions repeated two times but problem is different.
First When you restart the system you will get the Error:
File Not Found
mount: error 15 mounting ext3
mount: error 2 mounting none
switchroot: mount failed: 22
umount /initrd/dev/: 2
Kernel Panic: no syncing: Attempted to kill init !
This error occurred in your system before showing welcome redhat linux. That means problem in grub boot loader.
Restart the System
Check the grub boot loader configuration by pressing e shortcut key.
You will see like:
root (hd0,0)
kernel /vmlinuz-2.6.9-5.EL ro root= / rhgb quiet
initrd /initrd-2.6.9-5.EL.img
OR
root (hd0,0)
kernel /vmlinuz-2.6.9-5.EL ro root=LABEL=/root rhgb quiet
initrd /initrd-2.6.9-5.EL.img
Then Edit Boot loader to make like
root (hd0,0)
kernel /vmlinuz-2.6.9-5.EL ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-5.EL.img
Check all lines and edit as same as above. Press b to boot the system
After booting the system you should correct the /etc/grub.conf file.
If still you are getting Error like File not found, it seems that either kernel file or initrd file is missing.
To troubleshoot with these problem, boot the system on rescue mode.
v. linux rescue
vi. chroot /mnt/sysimage
vii. Check the files on /boot, if not available install the kernel package from ftp or nfs server
viii. Create the initrd image file on boot using: mkinitrd initrd-2.6.9-5.EL.img `uname -r`
Q46. CORRECT TEXT
Configure the telnet connection only from your local LAN (192.168.0.0/24) between 9-17pm.
Answer and Explanation:
1. vi /etc/xinetd.d/telnet
service telnet {
only_from = 192.168.0.0/24
access_times = 09:00-17:00
}
2. chkconf telnet on
3. service xinetd restart
xinetd based services can manage by specifying host and time parameters. Only_from means connection allowed network, remaining hosts explicitly deny. access_times specify when service is available.
Q47. CORRECT TEXT
24. There is a server having 172.24.254.254 and 172.25.254.254. Your System lies on
172.24.0.0/16. Make successfully ping to 172.25.254.254 by Assigning following IP:
172.24.0.x Where x is your station number.
Answer and Explanation:
1. Use netconfig command
2. Enter the IP Address as given station number by your examiner: example: 172.24.0.1
3. Enter Subnet Mask
4. Enter Default Gateway and primary name server
5. press on ok
6. ifdown eth0
7. ifup eth0
8. verify using ifconfig
In the lab server is playing the role of router, IP forwarding is enabled. Just set the Correct IP and gateway, you can ping to 172.25.254.254.
Q48. CORRECT TEXT
There is a HTTP server 192.168.0.254 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: 192.168.0.254
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
Editors
Text Based Internet
Server Configuration Tools
Printing Supports
When installation will complete, your system will reboot. Jump for another Question.
Q49. CORRECT TEXT
There is a HTTP server 192.168.0.254 and all required packages are dumped in /var/www/html/rhel4 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: 192.168.0.254
Directory: rhel4 à 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
Editors
Text Based Internet
Server Configuration Tools
Printing Supports
When installation will complete, your system will reboot. Jump for another Question.
Q50. CORRECT TEXT
Install the Redhat Linux RHEL 4 through NFS. Where your Server is server1.example.com having IP 172.24.254.254 and shared /var/ftp/pub. The size of the partitions are listed below:
/ à 1048
/home à 1028
/boot à 512
/var à 1028
/usr à 2048
Swap -> 1.5 of RAM Size
/document à configure the RAID Level 0 of remaining all free space.
After completing the installation through NFS solve the following questions. There are two networks 172.24.0.0/16 and 172.25.0.0/16. As well as there are two domains example.com on 172.24.0.0/16 network and cracker.org on 172.25.0.0/16 network. Your system is based on example.com domain.
Answer and Explanation:
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 NFS Image 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 NFS Server Name and Redhat Enterprise Linux Directory.
Specify the NFS Server: 172.24.254.254
Directory: /var/ftp/pub
8. After Connecting to the NFS Server Installation start in GUI. Go up to 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. Create the two RAID partitions having equal size of remaining all free space.
11. Click on RAID button
12. Type mount point /document
13. Select RAID Level 0
14. Click on ok
15. 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 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
Editors
Text Based Internet
Server Configuration Tools
Printing Supports
When installation will complete, your system will reboot. Jump for another Question.