Red Hat EX200 Online Practice
Questions and Exam Preparation
EX200 Exam Details
Exam Code
:EX200
Exam Name
:Red Hat Certified System Administrator (RHCSA)
Certification
:Red Hat Certifications
Vendor
:Red Hat
Total Questions
:134 Q&As
Last Updated
:Jul 11, 2026
Red Hat EX200 Online Questions &
Answers
Question 111:
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.
Correct Answer. Check the anser in explanation.
Check the anser in explanation.
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 112:
The firewall must be open.
Correct Answer. Check the anser in explanation.
Check the anser in explanation.
/etc/init.d/iptables start iptables -F iptables -X iptables -Z /etc/init.d/iptables save chkconfig iptables on
Question 113:
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
Correct Answer. Check the anser in explanation.
Check the anser in explanation.
1.
Configure Host Name
2.
vim /etc/sysconfig/network NETWORKING=yes HOSTNAME=dtop5.dn.ws.comGATEWAY=172.28.10.1
Configure IP Address, Gateway and DNS Configure the network by Network Manager:
Note: Please remember to choose two options:
1.
Connect automatically
2.
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
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
Question 114:
Part 1 (on Node1 Server)
Task 6 [Accessing Linux File Systems]
Find all lines in the file /usr/share/mime/packages/freedesktop.org.xml that contain the string ich.
Put a copy of these lines in the original order in the file /root/lines.
/root/lines should contain no empty lines and all lines must be exact copies of the original lines in
/usr/share/mime/packages/freedesktop.org.xml
Correct Answer. Check the anser in explanation.
Check the anser in explanation.
*
[root@node1 ~]# cat /usr/share/mime/packages/freedesktop.org.xml | grep ich > /root/lines
[root@node1 ~]# cat /root/lines
Ficheru codificáu en BinHex de Machintosh
fichier codé Macintosh BinHex
ficheiro de Macintosh codificado con BinHex
fichièr encodat Macintosh BinHex
ficheiro codificado em BinHex de Macintosh
fichier boîte aux lettres
Question 115:
Create a logical volume
Create a new logical volume as required:
Name the logical volume as database, belongs to datastore of the volume group, size is 50 PE.
Expansion size of each volume in volume group datastore is 16MB.
Use ext3 to format this new logical volume, this logical volume should automatically mount to /mnt/database
Correct Answer. Check the anser in explanation.
Check the anser in explanation.
fdisk -cu /dev/vda// Create a 1G partition, modified when needed partx –a /dev/vda pvcreate /dev/vdax vgcreate datastore /dev/vdax –s 16M lvcreate– l 50 –n database datastore mkfs.ext3 /dev/datastore/database mkdir /mnt/database mount /dev/datastore/database /mnt/database/ df –Th vi /etc/fstab /dev/datastore /database /mnt/database/ ext3 defaults 0 0 mount –a Restart and check all the questions requirements.
Question 116:
Part 1 (on Node1 Server)
Task 13 [Archiving and Transferring Files and SELinux]
Create a backup file named /root/backup.tar.bz2. The backup file should contain the content of /usr/local and should be zipped with bzip2 compression format.
Furthermore, ensure SELinux is in enforcing mode. If it is not, change SELinux to enforcing mode.
Correct Answer. Check the anser in explanation.
Check the anser in explanation.
* [root@node1 ~]# tar cvf /root/backup.tar /usr/local/ tar: Removing leading `/' from member names /usr/local/ /usr/local/bin/ /usr/local/etc/ [root@node1 ~]# ls backup.tar [root@node1 ~]# file backup.tar backup.tar: POSIX tar archive (GNU) [root@node1 ~]# bzip2 backup.tar [root@node1 ~]# ls backup.tar.bz2 [root@node1 ~]# file backup.tar.bz2 backup.tar.bz2: bzip2 compressed data, block size = 900k * [root@node1 ~]# sestatus SELinux status: enabled [root@node1 ~]# cat /etc/selinux/config SELINUX=enforcing SELINUXTYPE=targeted [root@node1 ~]# reboot ### For Checking ### [root@node1 ~]# sestatus SELinux status: enabled
Question 117:
Open kmcrl value of 5 , and can verify in /proc/ cmdline
Correct Answer. Check the anser in explanation.
Check the anser in explanation.
# vim /boot/grub/grub.conf kernel/vmlinuz-2.6.32-71.el6.x86_64 ro root=/dev/mapper/GLSvg-GLSrootrd_LVM_LV=GLSvg/GLSroot rd_LVM_LV=GLSvg/GLSswaprd_NO_LUKSrd_NO_MDrd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quiet kmcrl=5 Restart to take effect and verification: # cat /proc/cmdline ro root=/dev/mapper/GLSvg-GLSroot rd_LVM_LV=GLSvg/GLSroot rd_LVM_LV=GLSvg/GLSswap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet kmcrl=5
Question 118:
Create a 2G swap partition which take effect automatically at boot-start, and it should not affect the original swap partition.
Correct Answer. Check the anser in explanation.
Check the anser in explanation.
# 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
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 119:
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.
Correct Answer. Check the anser in explanation.
Check the anser in explanation.
1.
Use netconfig command
2.
Enter the IP Address as given station number by your examiner: example: 172.24.0.1
3.
Enter Subnet Mask
4.
Enter Default Gateway and primary name server
5.
press on ok
6.
ifdown eth0
7.
ifup eth0
8.
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.
Question 120:
Configure autofs to make sure after login successfully, it has the home directory autofs, which is shared as /rhome/ldapuser40 at the ip: 172.24.40.10. and it also requires that, other ldap users can use the home directory normally.
Correct Answer. Check the anser in explanation.
Check the anser in explanation.
# chkconfig autofs on # cd /etc/ # vim /etc/auto.master /rhome /etc/auto.ldap # cp auto.misc auto.ldap # vim auto.ladp ldapuser40 -rw,soft,intr 172.24.40.10:/rhome/ldapuser40 * -rw,soft,intr 172.16.40.10:/rhome/and # service autofs stop # server autofs start # showmount -e 172.24.40.10 # su - ladpuser40
Nowadays, the certification exams become more and more important and required by more and more
enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare
for the exam in a short time with less efforts? How to get a ideal result and how to find the
most reliable resources? Here on Vcedump.com, you will find all the answers.
Vcedump.com provide not only Red Hat exam questions,
answers and explanations but also complete assistance on your exam preparation and certification
application. If you are confused on your EX200 exam preparations
and Red Hat certification application, do not hesitate to visit our
Vcedump.com to find your solutions here.