RH202 Practice Questions
RHCT (Redhat Certified Technician) RH202
Last Update 22 hours ago
Total Questions : 140
Dive into our fully updated and stable RH202 practice test platform, featuring all the latest RHCT exam questions added this week. Our preparation tool is more than just a RedHat study aid; it's a strategic advantage.
Our free RHCT practice questions crafted to reflect the domains and difficulty of the actual exam. The detailed rationales explain the 'why' behind each answer, reinforcing key concepts about RH202. Use this test to pinpoint which areas you need to focus your study on.
Install the Redhat Linux RHEL 5 through NFS. Where your Server is server1.example.com having IP 192.168.0.254 and shared /var/ftp/pub. The size of the partitions are listed below:
/1048
/home1028
/boot 512
/var 1028
/usr2048
Swap->1.5 of RAM Size
/dataconfigure the RAID Level 0 of remaining all free space.
After completing the installation through NFS solve the following questions. There are two networks 192.168.0.0/24 and 192.168.1.0/24. As well as there are two domains example.com on 192.168.0.0/24 network and cracker.org on 192.168.1.0/24 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: 192.168.0.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 /data
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.
There are three Disk Partitions /dev/hda8, /dev/hda9, /dev/hda10 having size 100MB of each partition. Create a Logical Volume named testvolume1 and testvolume2 having a size 250M
B.
Mount each Logical Volume on lvmtest1, lvmtest2 directory.Answer and Explanation:
Steps of Creating LVM:
1.pvcreate /dev/hda8 /dev/hda9 /dev/hda10
pvdisplay command is used to display the information of physical volume.
2.vgceate test0 /dev/hda8 /dev/hda9 /dev/hda10
vgdisplay command is used to display the information of Volume Group.
3.lvcreate –L 250M –n testvolume1 test0
lvdisplay command is used to display the information of Logical Volume.
4.lvcreate –L 250M –n testvolume2 test0
5.mkfs –t ext3 /dev/test0/testvolume1
6.mkfs –t ext3 /dev/test0/testvolume2
7.mkdir /lvtest1
8.mkdir /lvtest2
9.mount /dev/test0/testvolume1 /lvtest1
10.mount /dev/test0/testvolume2 /lvtest2
11.vi /etc/fstab
/dev/test0/testvolume2/lvtest2ext3defaults0 0
/dev/test0/testvolume1/lvtest1ext3defaults0 0
To create the LVM( Logical Volume Manager) we required the disks having ‘8e’ Linux LVM type. First we should create the physical Volume, then we can create the Volume group from disks belongs to physical Volume. lvcreate command is used to create the logical volume on volume group. We can specify the size of logical volume with –L option and name with -n option.
Make Secondary belongs the jeff and marion users on sysusers group. But harold user should not belongs to sysusers group.
Answer and Explanation:
1.usermod -G sysusers jeff
2.usermod –G sysuser marion
3.Verify by reading /etc/group file
Using usermod command we can make user belongs to different group. There are two types of group one primary and another is secondary. Primary group can be only one but user can belongs to more than one group as secondary.
usermod -g groupname username To change the primary group of the user
usermod -G groupname username To make user belongs to secondary group.
/data Directory is shared from the server1.example.com server. Mount the shared directory that:
- uk.co.certification.simulator.questionpool.PList@37fb85c0
Answer and Explanation:
- vi /etc/auto.master
/mnt/etc/auto.misc--timeout=50
- vi /etc/auto.misc
- data-rw,soft,intrserver1.example.com:/data
- service autofs restart
- chkconfig autofs on
When you mount the other filesystem, you should unmount the mounted filesystem, Automount feature of linux helps to mount at access time and after certain seconds, when user unaccess the mounted directory, automatically unmount the filesystem.
/etc/auto.master is the master configuration file for autofs service. When you start the service, it reads the mount point as defined in /etc/auto.master.
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:
- uk.co.certification.simulator.questionpool.PList@38398e50
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.
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=?
- uk.co.certification.simulator.questionpool.PList@37fbb5d0
- Use netconfig command
- uk.co.certification.simulator.questionpool.PList@37fbb660
- Use service network restart or start command
Now try to ping it will work.
There are two different networks 192.168.0.0/24 and 192.168.1.0/24. Where 192.168.0.254 and 192.168.1.254 IP Address are assigned on Server. Verify your network settings by pinging 192.168.1.0/24 Network’s Host.
Answer and Explanation: At exam time read the Lab Scenario carefully. Actually there are two different networks one is 192.168.0.0/24 where your system resides know as example.com domain and another is 192.168.1.0/24 know as cracker.org domain.
One server named sever1.example.com having 192.168.0.254 and 192.168.1.254 is running in your exam. If you make a gateway to that server, you will can ping because IP forwarding is enabled on that server.
1.vi /etc/sysconfing/network
NETWORKING=yes
HOSTNAME=station?.example.com
GATEWAY=192.168.0.254
2.service network restart
Or
1.vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=X.X.X.X
NETMASK=X.X.X.X
GATEWAY=192.168.0.254
2.ifdown eth0
3.ifup eth0
Note: If gateway is specified in both file, default gateway takes from interface specific file.
You are a System administrator. Using Log files very easy to monitor the system. Now there are 50 servers running as Mail, Web, Proxy, DNS services etc. You want to centralize the logs from all servers into on LOG Server. How will you configure the LOG Server to accept logs from remote host ?
Answer and Explanation:
By Default system accept the logs only generated from local host. To accept the Log from other host configure:
- vi /etc/sysconfig/syslog
SYSLOGD_OPTIONS="-m 0 -r"
Where
-m 0 disables 'MARK' messages.
-r enables logging from remote machines
-x disables DNS lookups on messages recieved with -r
- service syslog restart
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
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
