Practice Test Free
  • QUESTIONS
  • COURSES
    • CCNA
    • Cisco Enterprise Core
    • VMware vSphere: Install, Configure, Manage
  • CERTIFICATES
No Result
View All Result
  • Login
  • Register
Quesions Library
  • Cisco
    • 200-301
    • 200-901
      • Multiple Choice
      • Drag Drop
    • 350-401
      • Multiple Choice
      • Drag Drop
    • 350-701
    • 300-410
      • Multiple Choice
      • Drag Drop
    • 300-415
      • Multiple Choice
      • Drag Drop
    • 300-425
    • Others
  • AWS
    • CLF-C02
    • SAA-C03
    • SAP-C02
    • ANS-C01
    • Others
  • Microsoft
    • AZ-104
    • AZ-204
    • AZ-305
    • AZ-900
    • AI-900
    • SC-900
    • Others
  • CompTIA
    • SY0-601
    • N10-008
    • 220-1101
    • 220-1102
    • Others
  • Google
    • Associate Cloud Engineer
    • Professional Cloud Architect
    • Professional Cloud DevOps Engineer
    • Others
  • ISACA
    • CISM
    • CRIS
    • Others
  • LPI
    • 101-500
    • 102-500
    • 201-450
    • 202-450
  • Fortinet
    • NSE4_FGT-7.2
  • VMware
  • >>
    • Juniper
    • EC-Council
      • 312-50v12
    • ISC
      • CISSP
    • PMI
      • PMP
    • Palo Alto Networks
    • RedHat
    • Oracle
    • GIAC
    • F5
    • ITILF
    • Salesforce
Contribute
Practice Test Free
  • QUESTIONS
  • COURSES
    • CCNA
    • Cisco Enterprise Core
    • VMware vSphere: Install, Configure, Manage
  • CERTIFICATES
No Result
View All Result
Practice Test Free
No Result
View All Result
Home Practice Exam Free

RHCSA-EX200 Practice Exam Free

Table of Contents

Toggle
  • RHCSA-EX200 Practice Exam Free – 50 Questions to Simulate the Real Exam
  • Free Access Full RHCSA-EX200 Practice Exam Free

RHCSA-EX200 Practice Exam Free – 50 Questions to Simulate the Real Exam

Are you getting ready for the RHCSA-EX200 certification? Take your preparation to the next level with our RHCSA-EX200 Practice Exam Free – a carefully designed set of 50 realistic exam-style questions to help you evaluate your knowledge and boost your confidence.

Using a RHCSA-EX200 practice exam free is one of the best ways to:

  • Experience the format and difficulty of the real exam
  • Identify your strengths and focus on weak areas
  • Improve your test-taking speed and accuracy

Below, you will find 50 realistic RHCSA-EX200 practice exam free questions covering key exam topics. Each question reflects the structure and challenge of the actual exam.

Question 1

SIMULATION -
Create a backup -
Create a backup file named /root/backup.tar.bz2, contains the content of /usr/local, tar must use bzip2 to compress.

 


Suggested Answer: See explanation below.

 

cd /usr/local
tar ג€”jcvf /root/backup.tar.bz2
mkdir /test
tar ג€”jxvf /root/backup.tar.bz2 ג€”C /test// Decompression to check the content is the same as the /usr/loca after
If the questions require to use gzip to compress. change ג€”j to ג€”z.

 

Question 2

SIMULATION -
Configure a default software repository for your system.
One YUM has already provided to configure your system on http://server.domain11.example.com/pub/ x86_64/Server, and can be used normally.

 


Suggested Answer: See explanation below.

 

Yum-config-manager –add-repo=http://content.example.com/rhel7.0/x86-64/dvdג€ is to generate a file vim content.example.com_rhel7.0_x86_64_dvd.repo, Add a line gpgcheck=0
Yumcleanall –
Yumrepolist –
Almost 4305 packages are right, Wrong Yum Configuration will lead to some following questions cannot be worked out.

 

Question 3

SIMULATION -
Search a String -
Find out all the columns that contains the string seismic within /usr/share/dict/words, then copy all these columns to /root/lines.tx in original order, there is no blank line, all columns must be the accurate copy of the original columns.

 


Suggested Answer: See explanation below.

 

grep seismic /usr/share/dict/words > /root/lines.txt

 

Question 4

SIMULATION -
There is a local logical volumes in your system, named with common and belong to VGSRV volume group, mount to the /common directory. The definition of size is 128 MB.
Requirement:
Extend the logical volume to 190 MB without any loss of data. The size is allowed between 160-160 MB after extending.

 


Suggested Answer: See explanation below.

 

lvextend -L 190M /dev/mapper/vgsrv-common resize2fs /dev/mapper/vgsrv-common

 

Question 5

SIMULATION -
Create a 2G swap partition which take effect automatically at boot-start, and it should not affect the original swap partition.

 


Suggested Answer: See explanation below.

 

# fdisk /dev/sda
p
(check Partition table)
n
(create new partition: press e to create extended partition, press p to create the main partition, and the extended partition is further divided into logical partitions)
Enter –
+2G
t
l
W –
partx -a /dev/sda
partprobe
mkswap /dev/sda8
Copy UUID –
swapon -a
vim /etc/fstab
UUID=XXXXX swap swap defaults 0 0
(swapon -s)

 

Question 6

SIMULATION -
Find the files owned by harry, and copy it to catalog: /opt/dir

 


Suggested Answer: See explanation below.

 

# cd /opt/
# mkdir dir
# find / -user harry -exec cp -rfp {} /opt/dir/ ;

 

Question 7

SIMULATION -
Configure a user account.
Create a user iar uid is 3400. Password is redhat
ן¼

 


Suggested Answer: See explanation below.

 

useradd -u 3400 iar
passwd iar

 

Question 8

SIMULATION -
Change the logical volume capacity named vo from 190M to 300M. and the size of the floating range should set between 280 and 320. (This logical volume has been mounted in advance.)

 


Suggested Answer: See explanation below.

 

# vgdisplay
(Check the capacity of vg, if the capacity is not enough, need to create pv , vgextend , lvextend)
# lvdisplay (Check lv)
# lvextend -L +110M /dev/vg2/lv2
# resize2fs /dev/vg2/lv2
mount -a
(Verify)
——————————————————————————-
(Decrease lvm)
# umount /media
# fsck -f /dev/vg2/lv2
# resize2fs -f /dev/vg2/lv2 100M
# lvreduce -L 100M /dev/vg2/lv2
# mount -a
# lvdisplay (Verify)
OR –
# e2fsck -f /dev/vg1/lvm02
# resize2fs -f /dev/vg1/lvm02
# mount /dev/vg1/lvm01 /mnt
# lvreduce -L 1G -n /dev/vg1/lvm02
# lvdisplay (Verify)

 

Question 9

SIMULATION -
Create a 2G swap partition which take effect automatically at boot-start, and it should not affect the original swap partition.

 


Suggested Answer: See explanation below.

 

# fdisk /dev/sda
p
(check Partition table)
n
(create new partition: press e to create extended partition, press p to create the main partition, and the extended partition is further divided into logical partitions)
Enter –
+2G t
8 I
82
W –
partx -a /dev/sda
partprobe
mkswap /dev/sda8
Copy UUID –
swapon -a
vim /etc/fstab
UUID=XXXXX swap swap defaults 0 0
(swapon -s)

 

Question 10

SIMULATION -
Resize the logical volume vo and its filesystem to 290 MB. Make sure that the filesystem contents remain intact.
Note: Partitions are seldom exactly the same size requested, so a size within the range of 260 MB to 320 MiB is acceptable.

 


Suggested Answer: See explanation below.

 

df -hT
lvextend -L +100M /dev/vg0/vo
lvscan
xfs_growfs /home/ // home is LVM mounted directory
Note: This step is only need to do in our practice environment, you do not need to do in the real exam resize2fs /dev/vg0/vo // Use this comand to update in the real exam df -hT
OR –
e2fsck -f/dev/vg0/vo
umount /home
resize2fs /dev/vg0/vo required partition capacity such as 100M lvreduce -l 100M /dev/vg0/vo mount /dev/vg0/vo /home df ג€”Ht

 

Question 11

SIMULATION -
Configure iptables, there are two domains in the network, the address of local domain is 172.24.0.0/16 other domain is 172.25.0.0/16, now refuse domain
172.25.0.0/16 to access the server.

 


Suggested Answer: See explanation below.

 

iptables -F
service iptables save
iptables -A INPUT -s 172.25.0.0/16 -j REJECT
service iptables save
service iptables restart

 

Question 12

SIMULATION -
Add admin group and set gid=600 -

 


Suggested Answer: See explanation below.

 

# groupadd -g 600 admin

 

Question 13

SIMULATION -
Set cronjob for user natasha to do /bin/echo hiya at 14:23.

 


Suggested Answer: See explanation below.

 

# crontab -e -u natasha
23 14 * * * /bin/echo hiya
:wq!

 

Question 14

SIMULATION -
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.

 


Suggested Answer: See explanation below.

 

nameserver is specified in question,
1. Vi /etc/resolv.conf
nameserver 192.168.0.254
2. host server1.example.com

 

Question 15

SIMULATION -
Make a swap partition having 100MB. Make Automatically Usable at System Boot Time.

 


Suggested Answer: See explanation below.

 

Use fdisk /dev/hda ->To create new partition.
Type n-> For New partition –
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: +100M ->You can Specify either Last cylinder of Size here.
Press P to verify the partitions lists and remember the partitions name. Default System ID is 83 that means Linux Native.
Type t to change the System ID of partition.
Type Partition Number –
Type 82 that means Linux Swap.
Press w to write on partitions table.
Either Reboot or use partprobe command.
mkswap /dev/hda? ->To create Swap File system on partition.
swapon /dev/hda? ->To enable the Swap space from partition.
free -m ->Verify Either Swap is enabled or not.
vi /etc/fstab/dev/hda? swap swap defaults 0 0
Reboot the System and verify that swap is automatically enabled or not.

 

Question 16

SIMULATION -
1. Find all sizes of 10k file or directory under the /etc directory, and copy to /tmp/findfiles directory.
2. Find all the files or directories with Lucy as the owner, and copy to /tmp/findfiles directory.

 


Suggested Answer: See explanation below.

 

(1)find /etc -size 10k -exec cp {} /tmp/findfiles ;
(2)find / -user lucy -exec cp -a {} /tmp/findfiles ;
Note: If find users and permissions, you need to use cp – a options, to keep file permissions and user attributes etc.

 

Question 17

SIMULATION -
Add users: user2, user3.
The Additional group of the two users: user2, user3 is the admin group Password: redhat

 


Suggested Answer: See explanation below.

 

# useradd -G admin user2
# useradd -G admin user3
# passwd user2
redhat
# passwd user3
redhat

 

Question 18

SIMULATION -
Configure your Host Name, IP Address, Gateway and DNS.
Host name: dtop5.dn.ws.com -
IP Address: 172.28.10.5/4 -
Gateway: 172.28.10.1 -
DNS: 172.28.10.1 -

 


Suggested Answer: See explanation below.

 

1. Configure Host Name
vim /etc/sysconfig/network NETWORKING=yes HOSTNAME=dtop5.dn.ws.com GATEWAY=172.28.10.1
2. Configure IP Address, Gateway and DNS
Configure the network by Network Manager:
<img src=”https://www.examtopics.com/assets/media/exam-media/04216/0002400001.jpg” alt=”Reference Image” />
Note: Please remember to choose two options:
Connect automatically –
Available to all users –
Click “Apply”, save and exit, and restart your network services:
# Service network restart
3. Validate these profiles:
a) Check gateway: # vim / etc / sysconfig / network
NETWORKING=yes –
HOSTNAME=dtop5.dn.ws.com –
GATEWAY=172.28.10.1 –
b) Check Host Name: # vim /etc/hosts
<img src=”https://www.examtopics.com/assets/media/exam-media/04216/0002500001.png” alt=”Reference Image” />
c) Check DNS: # vim /etc/resolv.conf
# Generated by NetworkManager
Search dn.ws.com –
Nameserver 172.28.10.1 –
d) Check Gateway: # vim /etc/sysconfig/network-scripts/ifcfg-eth0
<img src=”https://www.examtopics.com/assets/media/exam-media/04216/0002600001.png” alt=”Reference Image” />

 

Question 19

SIMULATION -
In the system, mounted the iso image /root/examine.iso to/mnt/iso directory. And enable automatically mount (permanent mount) after restart system.

 


Suggested Answer: See explanation below.

 

/etc/fstab:
/root/examine.iso /mnt/iso iso9660 loop 0 0 mount -a
mount | grep examine

 

Question 20

SIMULATION -
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.

 


Suggested Answer: See explanation below.

 

lvextend -L+200M /dev/test0/testvolume1 Use lvdisplay /dev/test0/testvolume1) 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.

 

Question 21

SIMULATION -
One Logical Volume named lv1 is created under vg0. The Initial Size of that Logical Volume is 100MB. Now you required the size 500MB. Make successfully the size of that Logical Volume 500M without losing any data. As well as size should be increased online.

 


Suggested Answer: See explanation below.

 

The LVM system organizes hard disks into Logical Volume (LV) groups. Essentially, physical hard disk partitions (or possibly RAID arrays) are set up in a bunch of equal sized chunks known as Physical Extents (PE). As there are several other concepts associated with the LVM system, let’s start with some basic definitions:
Physical Volume (PV) is the standard partition that you add to the LVM mix. Normally, a physical volume is a standard primary or logical partition. It can also be a
RAID array.
Physical Extent (PE) is a chunk of disk space. Every PV is divided into a number of equal sized PEs. Every PE in a LV group is the same size. Different LV groups can have different sized PEs.
Logical Extent (LE) is also a chunk of disk space. Every LE is mapped to a specific PE.
Logical Volume (LV) is composed of a group of LEs. You can mount a file system such as /home and /var on an LV.
Volume Group (VG) is composed of a group of LVs. It is the organizational group for LVM. Most of the commands that you’ll use apply to a specific VG.
Verify the size of Logical Volume: lvdisplay /dev/vg0/lv1
Verify the Size on mounted directory: df -h or df -h mounted directory name
Use: lvextend -L+400M /dev/vg0/lv1
ext2online -d /dev/vg0/lv1 to bring extended size online.
Again Verify using lvdisplay and df -h command.

 

Question 22

SIMULATION -
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.

 


Suggested Answer: See explanation below.

 

When you Boot the System, it starts on default Runlevel specified in /etc/inittab:
Id:?:initdefault:
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 23

SIMULATION -
Configure your web services, download from http://instructor.example.com/pub/serverX.html And the services must be still running after system rebooting.

 


Suggested Answer: See explanation below.

 

cd /var/www/html
wget http://instructor.example.com/pub/serverX.html mv serverX.html index.html /etc/init.d/httpd restart chkconfig httpd on

 

Question 24

SIMULATION -
Configure a task: plan to run echo "file" command at 14:23 every day.

 


Suggested Answer: See explanation below.

 

(a) Created as administrator
# crontab -u natasha -e
23 14 * * * /bin/echo “file”
(b)Created as natasha
# su – natasha
$ crontab -e
23 14 * * * /bin/echo “file”

 

Question 25

SIMULATION -
Configure autofs.
Configure the autofs automatically mount to the home directory of LDAP, as required: server.domain11.example.com use NFS to share the home to your system. This file system contains a pre configured home directory of user ldapuserX.
Home directory of ldapuserX is:
server.domain11.example.com /home/guests/ldapuser
Home directory of ldapuserX should automatically mount to the ldapuserX of the local /home/guests Home directory's write permissions must be available for users ldapuser1's password is password

 


Suggested Answer: See explanation below.

 

yum install -y autofs
mkdir /home/rehome
/etc/auto.master
/home/rehome/etc/auto.ldap
Keep then exit –
cp /etc/auto.misc /etc/auto.ldap
/etc/auto.ldap
ldapuserX -fstype=nfs,rw server.domain11.example.com:/home/guests/
Keep then exit –
systemctl start autofs
systemctl enable autofs
su – ldapuserX// test
If the above solutions cannot create files or the command prompt is -bash-4.2$, it maybe exist multi-level directory, this needs to change the server.domain11.example.com:/home/guests/ to server.domain11.example.com:/home/guests/ldapuserX. What is multi-level directory? It means there is a directory of ldapuserX under the /home/guests/ldapuserX in the questions. This directory is the real directory.

 

Question 26

SIMULATION -
Configure a cron Task.
User natasha must configure a cron job, local time 14:23 runs and executes: */bin/echo hiya every day.

 


Suggested Answer: See explanation below.

 

crontab ג€”e ג€”u natasha
23 14/bin/echo hiya
crontab -l -u natasha // view
systemctlenable crond
systemcdlrestart crond

 

Question 27

SIMULATION -
Configure the system synchronous as 172.24.40.10.

 


Suggested Answer: See explanation below.

 

Graphical Interfaces:
System–>Administration–>Date & Time
OR –
# system-config-date

 

Question 28

SIMULATION -
Configure a HTTP server, which can be accessed through
http://station.domain40.example.com.
Please download the released page from http://ip/dir/example.html.

 


Suggested Answer: See explanation below.

 

# yum install -y httpd
# chkconfig httpd on
# cd /var/www/html
# wget http://ip/dir/example.html
# cp example.com index.html
# vim /etc/httpd/conf/httpd.conf
NameVirtualHost 192.168.0.254:80
<VirtualHost 192.168.0.254:80>
DocumentRoot /var/www/html/
ServerName station.domain40.example.com
</VirtualHost>

 

Question 29

SIMULATION -
Copy /etc/fstab document to /var/TMP directory. According the following requirements to configure the permission of this document.
✑ The owner of this document must be root.
✑ This document belongs to root group.
✑ User mary have read and write permissions for this document.
✑ User alice have read and execute permissions for this document.
✑ Create user named bob, set uid is 1000. Bob have read and write permissions for this document.
✑ All users has read permission for this document in the system.

 


Suggested Answer: See explanation below.

 

cp /etc/fstab /var/tmp
chown root:root /var/tmp/fstab
chmod a-x /var/tmp/fstab
setfacl ג€”m u:mary:rw /var/tmp/fstab
setfacl ג€”m u:alice:rx /var/tmp/fstab
useradd ג€”u 1000 bob

 

Question 30

SIMULATION -
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.

 


Suggested Answer: See explanation below.

 

vi /etc/sysconfing/network NETWORKING=yes HOSTNAME=station?.example.com GATEWAY=192.168.0.254 service network restart
2.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 –
ifdown eth0
ifup eth0

 

Question 31

SIMULATION -
Update the kernel from ftp://instructor.example.com/pub/updates.
According the following requirements:
The updated kernel must exist as default kernel after rebooting the system.
The original kernel still exists and is available in the system.

 


Suggested Answer: See explanation below.

 

rpm -ivh kernel-firmג€¦
rpm -ivh kernel…

 

Question 32

SIMULATION -
Create the following users, groups, and group memberships:
A group named adminuser.
A user natasha who belongs to adminuser as a secondary group A user harry who also belongs to adminuser as a secondary group.
A user sarah who does not have access to an interactive shell on the system, and who is not a member of adminuser, natasha, harry, and sarah should all have the password of redhat.

 


Suggested Answer: See explanation below.

 

groupadd sysmgrs
useradd -G sysmgrs Natasha
We can verify the newly created user by cat /etc/passwd)
# useradd -G sysmgrs harry
# useradd -s /sbin/nologin sarrh
# passwd Natasha
# passwd harry
# passwd sarrah

 

Question 33

SIMULATION -
Create a volume group, and set 16M as a extends. And divided a volume group containing 50 extends on volume group lv, make it as ext4 file system, and mounted automatically under /mnt/data.

 


Suggested Answer: See explanation below.

 

# pvcreate /dev/sda7 /dev/sda8
# vgcreate -s 16M vg1 /dev/sda7 /dev/sda8
# lvcreate -l 50 -n lvm02
# mkfs.ext4 /dev/vg1/lvm02
# blkid /dev/vg1/lv1
# vim /etc/fstab
# mkdir -p /mnt/data
UUID=xxxxxxxx /mnt/data ext4 defaults 0 0
# vim /etc/fstab
# mount -a
# mount
(Verify)

 

Question 34

SIMULATION -
One Logical Volume is created named as myvol under vo volume group and is mounted. The Initial Size of that Logical Volume is 400MB. Make successfully that the size of Logical Volume 200MB without losing any data. The size of logical volume 200MB to 210MB will be acceptable.

 


Suggested Answer: See explanation below.

 

First check the size of Logical Volume: lvdisplay /dev/vo/myvol
Make sure that the filesystem is in a consistent state before reducing:
# fsck -f /dev/vo/myvol
Now reduce the filesystem by 200MB.
# resize2fs /dev/vo/myvol 200M
It is now possible to reduce the logical volume. #lvreduce /dev/vo/myvol -L 200M
Verify the Size of Logical Volume: lvdisplay /dev/vo/myvol
Verify that the size comes in online or not: df -h

 

Question 35

SIMULATION -
Create a volume group, and set 8M as a extends. Divided a volume group containing 50 extends on volume group lv (lvshare), make it as ext4 file system, and mounted automatically under /mnt/data. And the size of the floating range should set between 380M and 400M.

 


Suggested Answer: See explanation below.

 

# fdisk
# partprobe
# pvcreate /dev/vda6
# vgcreate -s 8M vg1 /dev/vda6 -s
# lvcreate -n lvshare -l 50 vg1 -l
# mkfs.ext4 /dev/vg1/lvshare
# mkdir -p /mnt/data
# vim /etc/fstab
/dev/vg1/lvshare /mnt/data ext4 defaults 0 0
# mount -a
# df -h

 

Question 36

SIMULATION -
Configure the NTP service in your system.

 


Suggested Answer: See explanation below.

 

system-config-date &
<img src=”https://www.examtopics.com/assets/media/exam-media/04216/0005200001.png” alt=”Reference Image” />

 

Question 37

SIMULATION -
Who ever creates the files/directories on a data group owner should automatically be in the same group owner as data.

 


Suggested Answer: See explanation below.

 

1. chmod g+s /data
2. Verify using: ls -ld /data
Permission should be like this: drwxrws— 2 root sysadmin 4096 Mar 16 18:08 /data
If SGID bit is set on directory then who every users creates the files on directory group owner automatically the owner of parent directory. To set the SGID bit: chmod g+s directory To Remove the SGID bit: chmod g-s directory

 

Question 38

SIMULATION -
Add 3 users: harry, natasha, tom.
The requirements: The Additional group of the two users: harry, Natasha is the admin group. The user: tom's login shell should be non-interactive.

 


Suggested Answer: See explanation below.

 

# useradd -G admin harry
# useradd -G admin natasha
# useradd -s /sbin/nologin tom
# id harry;id Natasha (Show additional group)
# cat /etc/passwd
(Show the login shell)
OR –
# system-config-users

 

Question 39

SIMULATION -
Create User Account.
Create the following user, group and group membership:
Adminuser group -
User natasha, using adminuser as a sub group
User Harry, also using adminuser as a sub group
User sarah, can not access the SHELL which is interactive in the system, and is not a member of adminuser, natasha harry sarah password is redhat.
ן¼
ן¼

 


Suggested Answer: See explanation below.

 

groupadd adminuser
useradd natasha -G adminuser
useradd haryy -G adminuser
useradd sarah -s /sbin/nologin
Passwd user name // to modify password or echo redhat | passwd –stdin user name id natasha // to view user group.

 

Question 40

SIMULATION -
You have a domain named www.rhce.com associated IP address is 192.100.0.2. Configure the Apache web server by implementing the SSL for encryption communication.

 


Suggested Answer: See explanation below.

 

vi /etc/httpd/conf.d/ssl.conf <VirtualHost 192.100.0.2> ServerName www.rhce.com DocumentRoot /var/www/rhce DirectoryIndex index.html index.htm
ServerAdmin
webmaster@rhce.com
SSLEngine on SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key </
VirtualHost>
cd /etc/httpd/conf
3 make testcert
Create the directory and index page on specified path. (Index page can download from ftp://server1.example.com at exam time) service httpd start|restart chkconfig httpd on
Apache can provide encrypted communications using SSL (Secure Socket Layer). To make use of encrypted communication, a client must request to https protocol, which is uses port 443. For HTTPS protocol required the certificate file and key file.

 

Question 41

SIMULATION -
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 RHEL6 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?

 


Suggested Answer: See explanation below.

 

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 –
service network restart
Gateway defines the way to exit the packets. According to question System working as a router for two networks have IP Address 192.168.0.254 and
192.168.1.254.

 

Question 42

SIMULATION -
Install a FTP server, and request to anonymous download from /var/ftp/pub catalog. (it needs you to configure yum direct to the already existing file server.)

 


Suggested Answer: See explanation below.

 

# cd /etc/yum.repos.d
# vim local.repo
[local]
name=local.repo
baseurl=file:///mnt
enabled=1
gpgcheck=0
# yum makecache
# yum install -y vsftpd
# service vsftpd restart
# chkconfig vsftpd on
# chkconfig –list vsftpd
# vim /etc/vsftpd/vsftpd.conf
anonymous_enable=YES

 

Question 43

SIMULATION -
Configure /var/tmp/fstab Permission.
Copy the file /etc/fstab to /var/tmp/fstab. Configure var/tmp/fstab permissions as the following:
Owner of the file /var/tmp/fstab is Root, belongs to group root
File /var/tmp/fstab cannot be executed by any user
User natasha can read and write /var/tmp/fstab
User harry cannot read and write /var/tmp/fstab
All other users (present and future) can read var/tmp/fstab.

 


Suggested Answer: See explanation below.

 

cp /etc/fstab /var/tmp/
/var/tmp/fstab view the owner setfacl -m u:natasha:rw- /var/tmp/fstab setfacl -m u:haryy:— /var/tmp/fstab
Use getfacl /var/tmp/fstab to view permissions

 

Question 44

SIMULATION -
Find all lines in the file /usr/share/dict/words that contain the string seismic. Put a copy of all these lines in their original order in the file /root/wordlist. /root/wordlist should contain no empty lines and all lines must be exact copies of the original lines in /usr/share/dict/words.

 


Suggested Answer: See explanation below.

 

grep seismic /usr/share/dict/words> /root/wordlist

 

Question 45

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.

 


Suggested Answer: See explanation below.

 

Verify the File whether Shared or not ? : cat /etc/exports
Start the nfs service: service nfs start
Start the portmap service: service portmap start
Make automatically start the nfs service on next reboot: chkconfig nfs on
Make automatically start the portmap service on next reboot: chkconfig portmap on
Verify either sharing or not: showmount -e localhost
Check that default firewall is running on system?
If running flush the iptables using iptables -F and stop the iptables service.

 

Question 46

SIMULATION -
Create a user named alex, and the user id should be 1234, and the password should be alex111.

 


Suggested Answer: See explanation below.

 

# useradd -u 1234 alex
# passwd alex
alex111
alex111
OR –
echo alex111|passwd -stdin alex

 

Question 47

SIMULATION -
SELinux must run in force mode.

 


Suggested Answer: See explanation below.

 

/etc/sysconfig/selinux
SELINUX=enforcing

 

Question 48

SIMULATION -
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?

 


Suggested Answer: See explanation below.

 

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 received with -r
service syslog restart

 

Question 49

SIMULATION -
Create a collaborative directory/home/admins with the following characteristics:
Group ownership of /home/admins is adminuser
The directory should be readable, writable, and accessible to members of adminuser, but not to any other user. (It is understood that root has access to all files and directories on the system.)
Files created in /home/admins automatically have group ownership set to the adminuser group

 


Suggested Answer: See explanation below.

 

mkdir /home/admins
chgrp -R adminuser /home/admins
chmodg+w /home/admins
chmodg+s /home/admins

 

Question 50

SIMULATION -
Make on /archive directory that only the user owner and group owner member can fully access.

 


Suggested Answer: See explanation below.

 

chmod 770 /archive
Verify using : ls -ld /archive Preview should be like:
drwxrwx— 2 root sysuser 4096 Mar 16 18:08 /archive
To change the permission on directory we use the chmod command. According to the question that only the owner user (root) and group member (sysuser) can fully access the directory so: chmod 770 /archive

 

Free Access Full RHCSA-EX200 Practice Exam Free

Looking for additional practice? Click here to access a full set of RHCSA-EX200 practice exam free questions and continue building your skills across all exam domains.

Our question sets are updated regularly to ensure they stay aligned with the latest exam objectives—so be sure to visit often!

Good luck with your RHCSA-EX200 certification journey!

Share18Tweet11
Previous Post

PT0-002 Practice Exam Free

Next Post

SAA-C02 Practice Exam Free

Next Post

SAA-C02 Practice Exam Free

SAA-C03 Practice Exam Free

SAP-C01 Practice Exam Free

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recommended

Network+ Practice Test

Comptia Security+ Practice Test

A+ Certification Practice Test

Aws Cloud Practitioner Exam Questions

Aws Cloud Practitioner Practice Exam

Comptia A+ Practice Test

  • About
  • DMCA
  • Privacy & Policy
  • Contact

PracticeTestFree.com materials do not contain actual questions and answers from Cisco's Certification Exams. PracticeTestFree.com doesn't offer Real Microsoft Exam Questions. PracticeTestFree.com doesn't offer Real Amazon Exam Questions.

  • Login
  • Sign Up
No Result
View All Result
  • Quesions
    • Cisco
    • AWS
    • Microsoft
    • CompTIA
    • Google
    • ISACA
    • ECCouncil
    • F5
    • GIAC
    • ISC
    • Juniper
    • LPI
    • Oracle
    • Palo Alto Networks
    • PMI
    • RedHat
    • Salesforce
    • VMware
  • Courses
    • CCNA
    • ENCOR
    • VMware vSphere
  • Certificates

Welcome Back!

Login to your account below

Forgotten Password? Sign Up

Create New Account!

Fill the forms below to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.