4.35 out of 5
28 reviews on Udemy

RHCSA Red Hat Certified System Admin Practice QA

Prep for Red Hat Certified System Administrator Exam by doing practice QA
Shikhar Verma
140 students enrolled
Student can easily prepare for RHCSA Exam by practising QA
Students who have attended Red Hat System Administration I and II and are on the path to earn RHCSA certification

Red Hat Certified System Administrator (RHCSA)

An IT professional who has earned the Red Hat Certified System Administrator (RHCSA) is able to perform the core system administration skills required in Red Hat Enterprise Linux environments. The credential is earned after successfully passing the Red Hat Certified System Administrator (RHCSA) Exam (EX200)

Exam Code: EX200 (Red Hat Certified System Administrator (RHCSA) exam)

Duration: 2.5 Hours

Availability: On-site exam

Passing Score: A passing score is 210 out of 300 points

Language Exam: English

Sample Question Answer as shown below (Practice QA and Prep for RHCSA Exam)

RHCSA Practice QA – Part 1

  • Network Setup

  • Practice Lab Session on Network Setup

  • Recover root password

  • Set hostname & boot target

  • SELinux to enforcing

  • Create users, groups & groupmembership

  • Directory permission & ownership

  • Enable IP forwarding

  • Add user with specifying user id.

RHCSA Practice QA – Part 2

  • Create an archive file

  • Search the string in a file

  • Create a physical partition and mount

  • Create a Swap Partition

  • Create a yum repository

  • Install the appropriate kernel update

  • Configure LDAP Client

  • Configure autofs to automount the home directories of LDAP users,

  • Configure NTP Client

  • Create a volume group

  • Resize the logical volume

  • Schedule a cron job



RHCSA Practice QA - Part 1

Network Setup

Steps to understand network setup

Practice Lab on Network Setup
Recover Root Password

Assuming the root user password is lost and system is running in multiuser target with no current root session open. Boot the system into an appropriate target and change the root password to root1234.

Set Hostname & boot target

1. Set the hostname server9.example.com

2. Set the default boot target to multi-user.target

SELinux to enforcing mode

Set SELinux to enforcing mode

Create User, Groups & Group Membership

Create the following user, groups, and group memberships:

A Group named sysgrp

A user andrew who belongs to sysgrp as a secondary group

A user susan also belongs to sysgrp as a secondary group

A user sarah who does not have access to an interactive shell on system and who not a member of sysgrp

susan,sarah, andrew password = “Redhat123”

Directory Permission & Ownsership

Create a collaborative directory /redhat/sysgrp with the following characteristics:

Group owneship of /redhat/sysgrp is sysgrp

The directory should be readbale,writable, and accessable to members of sysgrp,

but not to any other user.

Note : It is understood that root has access to all files and directories on the system.

–> Files created in /redhat/sysgrp automatically have group ownership set to the sysgrp group

Enable IP Forwarding
Users & Permissions

Copy the file /etc/fstab to /var/tmp and configure the permission of /var/tmp/fstab, So that the file /var/tmp/fstab is owned by the root user, belongs to the group root and it should not be executable by anyone.

The user andrew is able to read & write /var/tmp/fstab

The user susan can neither write nor read /var/tmp/fstab

All other users (current or future) have the ability to read /var/tmp/fstab.

Add User

RHCSA Practice QA - Part 2

Create an archive file

Create an archive file /root/local.tgz for /usr/local. it should be compressed by gzip.

Search the String

Search the string john in the /etc/passwd file and save the output in /root/lines

Create a physical partition

Create a new 150 MB physical partition of using disk “/dev/sdb” and mount it under /oradb

Create a swap partition

Create a new 1000MB swap partition

Create a yum repository

Create a repository for http://content.example.com/rhel7.0/x86_64/dvd

Install the appropriate kernel update

Install the appropriate kernel update from http://content.example.com/rhel7.2/x86_64/errata

The following criteria must also be met:

The updated kernel is the default kernel when the system rebooted.

The original kernel remains available and bootable on the system

Configure LDAP Client

Bind with LDAP used provided by classroom.example.com for user authentication.

Note the following:-

–> The LDAP search base DN is dc=example,dc=com

–> The LDAP certificate file is


–>ldapuserX should be able to log into your system, whereX is your ServerX ((hint:where X is your domain number),

but will not have a home directory, until you have completed the autofs requirement,below all LDAP users have password of “password”

Configure autofs to automount the home directories of LDAP users,

Configure autofs to automount the home directories of LDAP users,

Note the following:

classroom.example.com (, NFS-exports /home/guests to your system, whereX is your server Number.

LDAP userX’s home directory is classroom.example.com:/home/guests/ldapuserX

LdapuserX’s home directory should be automounted locally beneath /home as /home/guests/ldapuserX

home directories must be writable by their users

while you are able to login as any of the users ldapuser1 through ldapuser20 the only home directory that is accessible from

your system is ldapuserX.

Example:- classroom.example.com would configure the automaster such that ldapuser100’s home directory /home/guests/ldapuserX gets mounted automatically upon login. The NFS share would be classroom.example.com:/home/guests/ldapuser100

Configure NTP Client

Configure your system so that it is an NTP client of classroom.example.com

Create a volume group

Create a new volume group in the name of datavg, and physical volume extent is 16.00MB

create a new logical volume in the name of datacopy with the size of 50 extents and file system must ext4 then mount it under /datasource

Resize the logical volume

Resize the logical volume, datacopy and reduce filesystem to 400MB.


Make sure that the filesystem contents remain intact.

(Note: partitions are seldom exactly the size requested,so any thing within the range of 370MB to 430MB is acceptable)

Schedule a cron job

The user andrew must configure a cron job that runs daily at 14:30 local time and executes – /bin/echo hello

Bonus Lecture
Last lecture
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.4 out of 5
28 Ratings

Detailed Rating

Stars 5
Stars 4
Stars 3
Stars 2
Stars 1
30-Day Money-Back Guarantee


2 hours on-demand video
1 article
Full lifetime access
Access on mobile and TV
Certificate of Completion