Question 1(Practice - Installation and Configuration)
SIMULATION
Add a cron schedule to take full backup of /home on every day at 5:30 pm to /dev/st0 device.
Answer and
Explanation:
:
1.vi /var/schedule
30 17 * * * /sbin/dump -0u /dev/st0 /dev/hda7
2.crontab /var/schedule
3.service crond restart
We can add the cron schedule either by specifying the scripts path on /etc/crontab file or by creating on text file on crontab pattern.
cron helps to schedule on recurring events. Pattern of cron is:
MinuteHourDay of MonthMonth Day of WeekCommands
0-590-231-311-120-7 where 0 and 7 means Sunday.
Note * means every. To execute the command on every two minutes */2.
Answer is in the explanation below.
Ask AI for More Explanation
— your own AI account, opens inside the app
Reference / correct answer:
:
1.vi /var/schedule
30 17 * * * /sbin/dump -0u /dev/st0 /dev/hda7
2.crontab /var/schedule
3.service crond restart
We can add the cron schedule either by specifying the scripts path on /etc/crontab file or by creating on text file on crontab pattern.
cron helps to schedule on recurring events. Pattern of cron is:
MinuteHourDay of MonthMonth Day of WeekCommands
0-590-231-311-120-7 where 0 and 7 means Sunday.
Note * means every. To execute the command on every two minutes */2.
Question 2(Installation and Configuration Section)
SIMULATION
Backup of the Redhat Enterprise Linux 5 is on /var/ftp/pub, /var/www/html/pub on server named server1.example.com. You can install all required packages using yum by creating the repository file.
Question 3(Installation and Configuration Section)
SIMULATION
Give Full Permission to owner user and owner group member but no permission to others on /data.
Answer and
Explanation:
:
We can change the permission of file/directory either character symbol method or numeric method.
Permission:
r-Read
w-Write
x-Execute
Permission Category
u- Owner User
g- Owner Group
o- Others
Operators
+ Add the Permissions
- Remove the Permissions
= Assigns the Permissions
Numeric Method:
4Read
2 Write
1Execute
Total: 7, total for owner user, owner group member and for others : 777
✑ chmod u+rwx /data
✑ chmod g+rwx /data
✑ chmod o-rwx /data or
chmod 770 /data
✑ Verify the /data : ls –ld /data
✑ You will get drwxrwx---
Answer is in the explanation below.
Ask AI for More Explanation
— your own AI account, opens inside the app
Reference / correct answer:
:
We can change the permission of file/directory either character symbol method or numeric method.
Permission:
r-Read
w-Write
x-Execute
Permission Category
u- Owner User
g- Owner Group
o- Others
Operators
+ Add the Permissions
- Remove the Permissions
= Assigns the Permissions
Numeric Method:
4Read
2 Write
1Execute
Total: 7, total for owner user, owner group member and for others : 777
✑ chmod u+rwx /data
✑ chmod g+rwx /data
✑ chmod o-rwx /data or
chmod 770 /data
✑ Verify the /data : ls –ld /data
✑ You will get drwxrwx---
Question 4(Installation and Configuration Section)
SIMULATION
Your System is going to use as a Router for two networks. One Network is
192.168.0.0/24 and Another Network is 192.168.1.0/24. Both network’s IP address has assigned. How will you forward the packets from one network to another network?
Answer and
Explanation:
:
1.echo “1” >/proc/sys/net/ipv4/ip_forward
2.vi /etc/sysctl.conf
net.ipv4.ip_forward = 1
If you want to use the Linux System as a Router to make communication between different networks, you need enable the IP forwarding. To enable on running session just set value 1 to /proc/sys/net/ipv4/ip_forward. As well as automatically turn on the IP forwarding features on next boot set on /etc/sysctl.conf file.
Answer is in the explanation below.
Ask AI for More Explanation
— your own AI account, opens inside the app
Reference / correct answer:
:
1.echo “1” >/proc/sys/net/ipv4/ip_forward
2.vi /etc/sysctl.conf
net.ipv4.ip_forward = 1
If you want to use the Linux System as a Router to make communication between different networks, you need enable the IP forwarding. To enable on running session just set value 1 to /proc/sys/net/ipv4/ip_forward. As well as automatically turn on the IP forwarding features on next boot set on /etc/sysctl.conf file.
Question 5(Installation and Configuration Section)
SIMULATION
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.
Answer is in the explanation below.
Ask AI for More Explanation
— your own AI account, opens inside the app
Reference / correct answer:
:
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.
Question 6(Practice - Installation and Configuration)
SIMULATION
Fill up the Form through http://server1.example.com/form.php
Answer and
Explanation:
:
1.Open the Browser and type the above URL.
2.Fill the form as required all information.
Answer is in the explanation below.
Ask AI for More Explanation
— your own AI account, opens inside the app
Reference / correct answer:
:
1.Open the Browser and type the above URL.
2.Fill the form as required all information.
Question 7(Installation and Configuration Section)
SIMULATION
Make on /data that only the user owner and group owner member can fully access.
Answer and
Explanation:
:
1.chmod 770 /data
2.Verify using : ls –ld /data
Preview should be like:
drwxrwx--- 2 root sysadmin 4096 Mar 16 18:08 /data
To change the permission on directory we use the chmod command. According to the question that only the owner user (root) and group member (sysadmin) can fully access the directory so: chmod 770 /data
Answer is in the explanation below.
Ask AI for More Explanation
— your own AI account, opens inside the app
Reference / correct answer:
:
1.chmod 770 /data
2.Verify using : ls –ld /data
Preview should be like:
drwxrwx--- 2 root sysadmin 4096 Mar 16 18:08 /data
To change the permission on directory we use the chmod command. According to the question that only the owner user (root) and group member (sysadmin) can fully access the directory so: chmod 770 /data
Question 8(Practice - Debug Use the questions to reinforce exam concepts.)
SIMULATION
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.
Answer is in the explanation below.
Ask AI for More Explanation
— your own AI account, opens inside the app
Reference / correct answer:
:
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.
Question 9(Installation and Configuration Section)
SIMULATION
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 250MB. 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.
Answer is in the explanation below.
Ask AI for More Explanation
— your own AI account, opens inside the app
Reference / correct answer:
:
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.
Question 10(Installation and Configuration Section)
SIMULATION
Create the directory /archive and group owner should be the sysuser group.
Answer and
Explanation:
:
1.chgrp sysuser /archive
2.Verify using ls -ld /archive command. You should get like
drwxr-x--- 2 root sysadmin 4096 Mar 16 17:59 /archive
chgrp command is used to change the group ownership of particular files or directory.
Another way you can use the chown command.
chown root:sysuser /archive
Answer is in the explanation below.
Ask AI for More Explanation
— your own AI account, opens inside the app
Reference / correct answer:
:
1.chgrp sysuser /archive
2.Verify using ls -ld /archive command. You should get like
drwxr-x--- 2 root sysadmin 4096 Mar 16 17:59 /archive
chgrp command is used to change the group ownership of particular files or directory.
Another way you can use the chown command.
chown root:sysuser /archive
About the RH202 Free Practice Test
Prepare for the RHCT (Redhat Certified Technician) RH202 (RH202) exam with this free practice test from Study4Pass, built around the real RedHat syllabus. You will find 10 free questions, drawn from the full Study4Pass practice set of 140 questions for this exam. The free sample is made up of 10 hands-on lab questions, each with a full explanation. The questions follow the same topic balance as the real exam: Installation and Configuration Section, Practice - Installation and Configuration and Practice - Debug Use the questions to reinforce exam concepts.. The RedHat RH202 exam is an advanced-level certification that tests a candidate's knowledge of Red Hat Enterprise Linux 8.
The target audience for the RedHat RH202 exam is IT professionals who want to demonstrate their skills in configuring and managing Red Hat Enterprise Linux 8 systems. The prerequisite for the RedHat RH202 Exam is the RedHat RH200 Exam.
Free on this page: 10 practice questions with answers and explanations
Full practice set: 140 questions
Use the sample the way you would use the real thing: answer each question on your own first, then open the explanation and make sure you understand why the right answer is right. That habit — reasoning instead of memorizing — is what carries over to exam day. When a topic keeps tripping you up, that is your study plan telling you where to go next.
When you finish the sample, do not just count the score — read it. Every missed question names a topic, and the full set lets you train that topic on its own until it stops costing you marks. That loop of test, review and targeted practice is how this set is designed to be used, from the first free question to the last simulation.
Inside the full RH202 practice set:
All 140 questions with answers and explanations
Timed Exam Simulation that mirrors the real exam pressure
Topic Training to drill one domain at a time
Ask AI for More Explanation on every question
Flag questions and review them before you finish
How to use this RH202 free practice test
Pick an answer for each question and check it straight away — the correct answer and a full explanation appear under the question. There is no time limit and nothing to sign up for. When an explanation is not enough, use Ask AI: this is an AI-Enabled practice test, and Ask AI explains the concept behind the question in plain language. When the free sample feels comfortable, the full set of 140 questions adds timed Exam Simulation, topic-by-topic training, and flagged-question review — the closest thing to exam day you can get before the real thing.
What to study for each RH202 topic
Installation and Configuration Section — about 42% of this practice set — Drill Installation and Configuration Section with the questions above, and revisit any explanation that surprises you — surprises are exactly what to fix before the exam.
Practice - Installation and Configuration — about 37% of this practice set — Work through the Practice - Installation and Configuration questions until the reasoning behind each answer is clear — guessing your way past this area will show up on exam day.
Practice - Debug Use the questions to reinforce exam concepts. — about 21% of this practice set — Use the practice questions to find your gaps in Practice - Debug Use the questions to reinforce exam concepts. first, then read the official RedHat documentation for anything you missed.
RH202 practice test — quick questions
Is this RH202 practice test free?
Yes. Every question on this page — all 10 of them — is free to use, and you never need to create an account to try them.
How many questions are in the full RH202 set?
The full Study4Pass set for RH202 has 140 practice questions. This page gives you 10 of them free so you can judge the quality and difficulty first.
Does the free test show the answers?
Yes. Check any question to reveal the correct answer and its explanation, and use Ask AI whenever you want the underlying concept explained step by step.
Is this the real RH202 exam?
No — these are practice questions built to match the RH202 domains and difficulty level, so you can prepare for the real exam with confidence.