Red Hat RH302 - Red Hat Certified Engineer on Redhat Exam
Page: 1  / 67
							Total 335 questions
						
								Question #1 (Topic: Topic 0)
								
							
							
																Change the root Password to redtophat
								
								
								
																										
							
						
									Answer: 1. Boot the system in Single user mode
 2. Use the passwd command
								
								
								Question #2 (Topic: Topic 0)
								
							
							
																Dig Server1.example.com, Resolve to successfully through DNS Where DNS server is
172.24.254.254
								
								
								
																										
							
						172.24.254.254
									Answer: #vi /etc/resolv.conf
 nameserver 172.24.254.254
 # dig server1.example.com
 #host server1.example.com
 DNS is the Domain Name System, which maintains a database that can help your
 computer translate domain names such as www.redhat.com to IP addresses such as
 216.148.218.197. As no individual DNS server is large enough to keep a database for the
 entire Internet, they can refer requests to other DNS servers.
 DNS is based on the named daemon, which is built on the BIND (Berkeley Internet Name
 Domain) package developed through the Internet Software Consortium Users wants to
 access by name so DNS will interpret the name into ip address. You need to specify the
 Address if DNS server in each and every client machine. In Redhat Enterprise Linux, you
 need to specify the DNS server into /etc/resolv.conf file.
 After Specifying the DNS server address, you can verify using host, dig and nslookup
 commands.
								
								
								Question #3 (Topic: Topic 0)
								
							
							
																Create the partition having 100MB size and mount it on /mnt/neo
								
								
								
																										
							
						
									Answer: 1. Use fdisk /dev/hda-> To create new partition.
 2. Type n-> For New partitions
 3. It will ask for Logical or Primary Partitions. Press l for logical.
  Use the Default by pressing Enter Key.
  +100M-> You can Specify either Last cylinder of Size here.
 6. Press P to verify the partitions lists and remember the partitions name.
 7. Press w to write on partitions table.
 8. Either Reboot or use partprobe command.
 9. Use mkfs -t ext3 /dev/hda? Where ? is your partition number
 10. Or
 11. mke2fs -j /dev/hda? To create ext3 filesystem.
 12. mkdir /mnt/neo
 13. vi /etc/fstab
 
 15. /dev/hda? /mnt/neo ext3 defaults 1 2
 
 17. mount /dev/hda? /mnt/neo
								
								
								Question #4 (Topic: Topic 0)
								
							
							
																Your System is going use as a router for 172.24.0.0/16 and 172.25.0.0/16. Enable the IP
Forwarding.
								
								
								
																										
							
						Forwarding.
									Answer: 1. echo "1" >/proc/sys/net/ipv4/ip_forward
 2. vi /etc/sysctl.conf
 net.ipv4.ip_forward=1
 /proc is the virtual filesystem, containing the information about the running kernel. To
 change the parameter of running kernel you should modify on /proc. From Next reboot the
 system, kernel will take the value from /etc/sysctl.conf.
								
								
								Question #5 (Topic: Topic 0)
								
							
							
																Some users home directory is shared from your system. Using showmount -e localhost
command, the shared directory is not shown. Make access the shared users home
directory.
								
								
								
																	
							
						command, the shared directory is not shown. Make access the shared users home
directory.
									Answer: cat /etc/exports
  service nfs start
  service portmap start
  chkconfig nfs on
  chkconfig portmap on
  showmount -e localhost
 7. Check that default firewall is running on system ? if running flush the iptables using
 iptables -F and stop the iptables service.
								
								 
							 
									