Summer Certification Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code = getmirror
Pass the RedHat RHCT RH202 Questions and answers with ExamsMirror
Exam RH202 Premium Access
View all detail and faqs for the RH202 exam
847 Students Passed
95% Average Score
94% Same Questions
You are giving RHCT Exam and in your Exam paper there is a question written, make successfully ping to 192.168.0.254.
Answer and Explanation:
In Network problem think to check:
IP Configuration: use ifconfig command either IP is assigned to interface or not?
Default Gateway is set or not?
Hostname is set or not?
Routing problem is there?
Device Driver Module is loaded or not?
Device is activated or not?
Check In this way:
use ifconfig command and identify which IP is assigned or not.
cat /etc/sysconfig/networkWhat, What is written here. Actually here are these parameters.
NETWORKING=yes or no
GATEWAY=x.x.x.x
HOSTNAME=?
NISDOMAIN=?
Correct the file
Use netconfig command
Either Select Automatically from DHCP or assign the static IP
Use service network restart or start command
Now try to ping it will work.
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 and Explanation:
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.
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:
Use netconfig command
Enter the IP Address as given station number by your examiner: example: 172.24.0.1
Enter Subnet Mask
Enter Default Gateway and primary name server
press on ok
ifdown eth0
ifup eth0
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.
Your System is configured in 192.168.0.0/24 Network and your nameserver is 192.168.0.254. Make successfully resolve to server1.example.com.
Answer and Explanation:
Very Easy question, nameserver is specified in question,
1.vi /etc/resolv.conf
nameserver 192.168.0.254
2.host server1.example.com
There is one partition /dev/hda14 mounted on /data. The owner of /data is root user and root group. And Permission is full to owner user, read and execute to group member and no permission to others. Now you should give the full permission to user user1 without changing pervious permission.
Answer and Explanation:
We know that every files/directories are owned by certain user and group. And Permissions are defines to owner user, owner group and other.
-rwxr-x--- Full permission to owner user, read and write to owner group and no permission to others.
According to question: We should give the full permission to user user1 without changing the previous permission.
ACL (Access Control List), in ext3 file system we can give permission to certain user and certain group without changing previous permission. But that partition should mount using acl option. Follow the steps
vi /etc/fstab
/dev/hda14/dataext3defaults,acl0 1
Either Reboot or use: mount –o remount /data
setfacl –m u:user1:rwx /data
Verify using: getfacl /data
You Completely Install the Redhat Enterprise Linux ES 4 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 and Explanation:
Think while Problems occurred on booting System on Runlevel 5 (X Window).
/tmp is full or not
Quota is already reached
Video card or resolution or monitor is misconfigured.
xfs service is running or not.
Do These:
1.df –h /tmp /tmp is full remove the unnecessary file
quota usernameif quota is already reached remove unnecessary file from home directory.
Boot the System in runlevel 3.you can pass the Kernel Argument from boot loader.
Use command: system-config-displayIt will display a dialog to configure the monitor, Video card, resolution etc.
Set the Default Runlevel 5 in /etc/inittab
id:5:initdefault:
6.Reboot the System you will get the GUI login Screen.
Your system is giving error while booting on Runlevel 5 . Make successfully boot your system in runlevel 5.
Answer and Explanation: While you load the X Window System, you will get the problem. To troubleshoot follow the following steps:
1.Check the /tmp is full ?
2.Check your quota, hard limit is already crossed ?
3.Check xfs service is running ?
4.Configure the Video card, Resolution, monitor type using: system-config-display (Most Probably in Redhat exam)
5.Edit the /etc/inittab to set default runlevel 5.
id:5:initdefault:
Change the root Password to redtophat
Answer and Explanation:
Boot the system in Single user mode
Use the passwd command
Add a new logical partition having size 100MB and create the /data which will be the mount point for the new partition.
Answer and Explanation:
Use fdisk /dev/hdaTo create new partition.
Type nFor New partitions
It will ask for Logical or Primary Partitions. Press l for logical.
It will ask for the Starting Cylinder: Use the Default by pressing Enter Key.
Type the Size: +100MYou can Specify either Last cylinder of Size here.
Press P to verify the partitions lists and remember the partitions name.
Press w to write on partitions table.
Either Reboot or use partprobe command.
Use mkfs –t ext3 /dev/hda?
Or
mke2fs –j /dev/hda? To create ext3 filesystem.
vi /etc/fstab
Write:
/dev/hda?/dataext3defaults0 0
Verify by mounting on current Sessions also:
mount /dev/hda? /data
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.
Answer and Explanation:
1.Verify the File whether Shared or not ? : cat /etc/exports
2.Start the nfs service: service nfs start
3.Start the portmap service: service portmap start
4.Make automatically start the nfs service on next reboot: chkconfig nfs on
5.Make automatically start the portmap service on next reboot: chkconfig portmap on
6.Verify either sharing or not: 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.
TOP CODES
Top selling exam codes in the certification world, popular, in demand and updated to help you pass on the first try.