Red Hat RH202 - Redhat Certified Technician on Redhat Enterprise Exam

Question #11 (Topic: Topic 0)
You are new System Administrator and from now you are going to handle the system and
your main task is Network monitoring, Backup and Restore. But you don't know the root
password. Change the root password to redhat and login in default Runlevel.
Answer: When System Successfully boot, it will ask for username and password. But you don't know the root's password. To change the root password you need to boot the system into single user mode. You can pass the kernel arguments from the boot loader. 1. Restart the System. 2. You will get the boot loader GRUB screen. 3. Press a and type 1 or s for single mode ro root=LABEL=/ rhgb queit s 4. System will boot on Single User mode. 5. Use passwd command to change. 6. Press ctrl+d
Question #12 (Topic: Topic 0)
There are more then 400 Computers in your Office. You are appointed as a System
Administrator. But you don't have Router. So, you are going to use your One Linux Server
as a Router. How will you enable IP packets forward?
Answer: 1. /proc is the virtual filesystem, we use /proc to modify the kernel parameters at running time. # echo "1" >/proc/sys/net/ipv4/ip_forward 2. /etc/sysctl.conf when System Reboot on next time, /etc/rc.d/rc.sysinit scripts reads the file /etc/sysctl.conf. To enable the IP forwarding on next reboot also you need to set the parameter. net.ipv4.ip_forward=1 Here 0 means disable, 1 means enable.
Question #13 (Topic: Topic 0)
You Completely Install the Redhat Enterprise Linux 5 on your System. While start the
system, it's giving error to load X window System. How will you fix that problem and make
boot successfully run X Window System.
Answer: Think while Problems occurred on booting System on Runlevel 5 (X Window). 1. /tmp is full or not 2. Quota is already reached 3. Video card or resolution or monitor is misconfigured. 4. xfs service is running or not. 1. df -h /tmp /tmp-> is full remove the unnecessary file 2. quota username-> if quota is already reached remove unnecessary file from home directory. 3. Boot the System in runlevel 3. ->you can pass the Kernel Argument from boot loader. system-config-display->It will display a dialog to configure the monitor, Video card, resolution etc. 5. Set the Default Runlevel 5 in /etc/inittab 6. Reboot the System you will get the GUI login Screen.
Question #14 (Topic: Topic 0)
There are two different networks, 192.168.0.0/24 and 192.168.1.0/24. Your System is in
192.168.0.0/24 Network. One RHEL 5 Installed System is going to use as a Router. All
required configuration is already done on Linux Server. Where 192.168.0.254 and
192.168.1.254 IP Address are assigned on that Server. How will make successfully ping to
192.168.1.0/24 Network's Host?
Answer: 1. vi /etc/sysconfig/network GATEWAY=192.168.0.254 OR vi /etc/sysconf/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=static ONBOOT=yes IPADDR=192.168.0.? NETMASK=255.255.255.0 GATEWAY=192.168.0.254 2. service network restart
Question #15 (Topic: Topic 0)
Make a swap partition having 100MB. Make Automatically Usable at System Boot Time.
Answer: 1. Use fdisk /dev/hda ->To create new partition. 2. Type n ->For New partition 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. Default System ID is 83 that means Linux Native. 7. Type t to change the System ID of partition. 8. Type Partition Number 9. Type 82 that means Linux Swap. 10. Press w to write on partitions table. 11. Either Reboot or use partprobe command. 12. mkswap /dev/hda?-> To create Swap File system on partition. 13. swapon /dev/hda? ->To enable the Swap space from partition. 14. free -m-> Verify Either Swap is enabled or not. 15. vi /etc/fstab /dev/hda? swap swap defaults 0 0 16. Reboot the System and verify that swap is automatically enabled or not.
Download Exam
Page: 3 / 35
Total 172 questions