Last Update 3 hours ago Total Questions : 140
The RHCT (Redhat Certified Technician) RH202 content is now fully updated, with all current exam questions added 3 hours ago. Deciding to include RH202 practice exam questions in your study plan goes far beyond basic test preparation.
You'll find that our RH202 exam questions frequently feature detailed scenarios and practical problem-solving exercises that directly mirror industry challenges. Engaging with these RH202 sample sets allows you to effectively manage your time and pace yourself, giving you the ability to finish any RHCT (Redhat Certified Technician) RH202 practice test comfortably within the allotted time.
Create the user named jackie, curtin, david
Answer and Explanation:
1. useradd jackie
2. useradd curtin
3. useradd david
useradd command is used to create the user. All user’s information stores in /etc/passwd and user;s shadow password stores in /etc/shadow.
One New Kernel is released named kernel-hugemem. Kernel is available on ftp://server1.example.com under pub directory for anonymous. Install the Kernel and make previous new kernel is default to boot System.
Answer and Explanation:
rpm -ivh ftp://server1.example.com/pub/kernel-hugemem-*
2. vi /etc/grub.conf
Set the default to new kernel
default=0
Example of /etc/grub.conf
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux ES (2.6.9-5.ELhugemem)
root (hd0,0)
kernel /vmlinuz-2.6.9-5.ELhugemem ro root=LABEL=/1 rhgb quiet
initrd /initrd-2.6.9-5.ELhugemem.img
title Red Hat Enterprise Linux ES (2.6.9-5.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-5.EL ro root=LABEL=/1 rhgb quiet
initrd /initrd-2.6.9-5.EL.img
rpm command is used to install, update and remove the rpm package. -ivh option is install, verbose, and display the hash mark.
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.
Create a RAID Device /dev/md0 by creating equal two disks from available free space on your harddisk and mount it on /data.
Answer and Explanation:
Redhat Enterprise Linux 5 Supports the RAID LEVEL 0, RAID LEVEL 1, RAID LEVEL 5 and RAID LEVEL 6 at installation time. You can create it at installation time later no need to type lots of commands for RAID.
At Installation Time:
Create the partitions using diskdruid.
Create the Partitions having File system Type Software RAID.
Click on RAID button
Type the Mount Point
Select File system type
Select RAID Level
Select Partitions/disks as a member of RAID.
viii. Click on ok
After Installation: We can create the RAID Device after Installation on command-line.
Create the Two partitions having equal size. (Specify the Size using Cylinder, find the remaining cylinder and divide by 2).
Change the Partition ID to fd (Linux raid Autodetect) by typing t.
Type w To write on partitions table.
Use partprobe command to synchronic the partition table.
Use: mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/hda? /dev/hda?
Verify the RAID: mdadm --detail /dev/md0
mkfs -t ext3 /dev/md0
mount /dev/md0 /data
vi /etc/fstab
/dev/md0 /data ext3 defaults 0 0
Verify mounting devices using mount command.
You are administrator of Certpaper network. First time you are going to take the full backup of all user’s home directory. Take the full backup of /home on /tmp/back file.
Answer and Explanation:
1. dump -0u –f /tmp/back /dev/hda4
dump is the standard backup utility. According to the questions, fullback should take. –0 means fullback, -u means update the /etc/dumpdates which maintains the backup record and -f means filename. If you are directly taking backup into other device, you can specify the device name.
i.e dump -0u -f /dev/st0 /dev/hda4. Where hda4 is a separate partition mounted on /home.
Create the group named training
Answer and Explanation:
groupadd training
To create a group we use the groupadd command.
Verify from: cat /etc/group whether group added or not?
Create the user named eric and deny to interactive login.
Answer and Explanation:
useradd eric
passwd eric
vi /etc/passwd
eric:x:505:505::/home/eric:/sbin/nologin
Which shell or program should start at login time is specified in /etc/passwd file. By default Redhat Enterprise Linux assigns the /bin/bash shell to the users. To deny the interactive login, you should write /sbin/nologin or /bin/false instead of login shell.
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
crontab schedule
Verify using: crontab –l
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
One Logical Volume named /dev/test0/testvolume1 is created. The initial Size of that disk is 100MB now you required more 200MB. Increase the size of Logical Volume, size should be increase on online.
Answer and Explanation:
1. lvextend –L+200M /dev/test0/testvolume1
Use lvdisplay /dev/test0/testvolume1)
2. ext2online –d /dev/test0/testvolume1
lvextend command is used the increase the size of Logical Volume. Other command lvresize command also here to resize. And to bring increased size on online we use the ext2online command.
Create the group named sysadmin.
Answer and Explanation:
1. groupadd sysadmin
groupadd command is used to create the group and all group information is stored in /etc/group file.
