Skip to main content

RHCSA (EX200) guide

The lab itself lives on GitHub at Camilool8/RHCSA-LAB — three intentionally broken RHEL 9 servers you spin up locally with Vagrant. This page is the meta-guide: what the lab is, how to use it well, and the path I’d walk if I were starting from zero today. Red Hat’s EX200 page doesn’t list the exam’s length or its pass mark. The length below is current as of October 2026; the pass mark is from my own sitting, in 2024. The lab moves to RHEL 10 in Q1 2027, when I renew RHCSA on it.

Exam
EX200
Format
Hands-on and timed: you fix real systems. Open-book on the man pages.
Duration
3 hours · as of Oct 2026
Pass mark
210 of 300 points · my sitting, 2024
Version
Exam: RHEL 10 · Lab: RHEL 9
As of

Check before you book: Red Hat’s EX200 page

What the lab is​

Goal. Give you a real RHCSA practice environment on your laptop — without touching your host OS, without renting cloud VMs, and without a paid course.

Approach. Vagrant brings up three RHEL 9 VMs on VirtualBox: a repo server, a target server with deliberately misconfigured web and storage, and a second target with boot issues and a GUI for VNC. Every domain on the EX200 exam objectives maps to a task on those VMs. You debug, fix, verify, then snapshot and break it again.

Stack.

What this guide is and isn’t​

This page is not a re-statement of the lab’s README — that lives on GitHub and stays the source of truth. This page is the framing around it: how I’d recommend you use the lab, why it’s structured the way it is, and the parts of the prep that aren’t in code.

I took the official Red Hat prep courses for both RHCSA and RHCE, sponsored by a Red Hat partner, and I’d recommend them to anyone who can take them. They are genuinely detailed — they walk through the history behind each subsystem, every command, the different approaches you can take to the same situation, and the why underneath the how. If you want depth beyond the exam, that’s where you find it.

They are not the only path, though. The exam itself rewards being able to debug a real system under a clock, and that skill is built by sitting in front of broken VMs and fixing them — which is what this lab is for. You can pass RHCSA on the lab alone, and you can pass it better if you’ve also done the courses. Complements, not substitutes.

Prerequisites​

Before you clone, make sure your machine clears the bar. Numbers come from the lab’s own config.yaml.

  • VirtualBox 7.0+ and Vagrant 2.4+ installed and on PATH.
  • CPU virtualization (VT-x / AMD-V) enabled in BIOS/UEFI.
  • At least 6 GB RAM free for the three VMs (1 GB + 2 GB + 2 GB allocated, with overhead).
  • At least 50 GB free disk — the VMs plus snapshots eat space fast once you start practicing.
  • macOS, Linux, or Windows host — all three work, with the usual caveat that VirtualBox on Apple Silicon needs the Tech Preview build.

A RHEL 9 ISO in iso/ is optional but recommended. Without it the lab falls back to a community-rebuild base (Rocky / Alma).

How to use the lab​

The lab ships two key files under lab/:

  • ordered-task-list.md — the task list, in roughly the order they’d surface on a real exam.
  • ordered-answer-list.md — the answers.

Do not open the answers first. The whole point is to sit with the task, hit the wall, debug your way out, and verify the fix. The lessons that survive into exam day are the ones earned in that struggle. The answers are there for when you’re genuinely stuck or want to confirm your approach after the fact — not as a script to follow.

A workflow that works:

  1. vagrant up and let all three VMs come online once. Confirm SSH access (redhat / redhat) on each.
  2. Snapshot every VM in its freshly-provisioned state. You will break things on purpose, and a clean snapshot is what makes the lab reusable instead of a one-shot.
  3. Pick a domain from the task list — boot recovery, SELinux, LVM, storage, networking, whichever is weakest for you. Don’t go top-to-bottom on the first pass; go to the topics you’d fail today.
  4. Read the task. Close the answer file. Open a terminal. Work it out from man, --help, and the system itself. RHCSA is open-book on the man pages — train that muscle.
  5. Verify the fix the way the exam would. Reboot the VM and confirm the change persists. Anything that only works until the next reboot is wrong.
  6. Snapshot again if it was a hard one and you want a checkpoint at “fixed”. Then break it again and re-fix from scratch a few days later.

Key commands by domain​

The lab’s task list covers every domain on the EX200 exam objectives. This is the sheet I’d hand a friend the night before: for each domain, the commands that do the work, how to check them, and the tasks in the repo that drill them. The full answers stay in the repo. Anything in angle brackets is yours to fill in.

System access, SSH, and key-based authentication​

/etc/ssh/sshd_config
PermitRootLogin yes
systemctl restart sshd
ssh-keygen
ssh-copy-id root@<server2>
Verify
Log in to the other server as root. No password prompt means the key took.
In the repo
Tasks 4–5

Network configuration — interfaces, hostnames, services​

nmcli con mod enp0s8 ipv4.method manual ipv4.addresses "<ip>/24" ipv4.gateway "<gateway>" ipv4.dns "<dns>"
nmcli con up enp0s8
nmcli general hostname <hostname>
systemctl enable --now NetworkManager
Verify
nmcli con show enp0s8, then reboot and check it again.
In the repo
Tasks 2–3

Repository and package management​

/etc/yum.repos.d/local.repo
[BaseOS]
name=BaseOS
enabled=1
baseurl=http://<repo-server>/repo/BaseOS/
gpgcheck=0
scp /etc/yum.repos.d/local.repo root@<server2>:/etc/yum.repos.d/
Verify
Add the same stanza for AppStream, then install something: dnf install -y tar gzip.
In the repo
Tasks 6–7

User and group management, password policies​

/etc/login.defs
UMASK 007
PASS_MAX_DAYS 60
groupadd -g <gid> <group>
useradd -u 1015 -G dba_intern,dba_staff cindy
echo "<password>" | passwd --stdin <user>
Verify
tail /etc/passwd and egrep "it|dba" /etc/group. The minimum length is minlen = 8 in /etc/security/pwquality.conf, not in login.defs.
In the repo
Tasks 9–13

Privilege escalation with sudo and command aliases​

Cmnd_Alias MESSAGES = /bin/tail -f /var/log/messages
%dba_managers ALL=(ALL) ALL
%dba_admin ALL = SOFTWARE, SERVICES, PROCESSES
%dba_intern ALL = MESSAGES
Verify
su - jack, then sudo tail -f /var/log/messages works and sudo -i fails.
In the repo
Tasks 14–16

File systems, mounting, autofs, NFS, permissions​

/etc/auto.home
* <repo-server>:/export/home/&
systemctl enable --now autofs
mount -a
chmod 770 /mnt/dba_files
chmod g+s,+t /mnt/dba_files
Verify
/etc/auto.master needs /mnt/autofs_home /etc/auto.home too. mount -a must come back silent before you reboot.
In the repo
Task 8 · Tasks 22–23

Archives and backup with tar / star​

tar -czvf /archives/etc_archive.tar.gz /etc
star -c -v -j file=/archives/doc_archive.star.bz2 /usr/share/doc
Verify
z means gzip and j means bzip2 in both commands; the file name in each task says which one it needs.
In the repo
Tasks 17–18
ln -s /links/file01 /links/file02
ln /links/file01 /links/file03
find / -type f -perm -u+s > /root/suid.txt
find /etc -type f -size +3M -exec cp {} /largefiles \; 2>/dev/null
Verify
ls -lai /links: the hard link shares file01’s inode number; the soft link has its own.
In the repo
Tasks 19–21

Scheduled tasks — at and cron​

systemctl enable --now atd
at now + 10 minutes
/etc/crontab
0 15 * * 2 root echo "Wow! I'm going to pass this test!" >> /var/log/messages
Verify
at reads the job from the prompt; Ctrl-D queues it.
In the repo
Tasks 24–25

Shell scripting with conditional logic​

while IFS=":" read group gid ; do
groupadd -g $gid $group
done < grouplist.txt
chmod +x /awesome.sh
Verify
Run the script with every argument the task names, then with none: /awesome.sh me, /awesome.sh.
In the repo
Task 11 · Task 26

Web services — troubleshooting and access​

systemctl status httpd
grep httpd /var/log/messages
firewall-cmd --add-port=85/tcp --permanent
firewall-cmd --reload
Verify
curl http://127.0.0.1:85/file3 returns the page, not a 403. Then try it from server2.
In the repo
Task 27

SELinux — contexts, booleans, troubleshooting​

ls -laZ /var/www/html
restorecon /var/www/html/file3
ausearch -c 'httpd' --raw | audit2allow -M my-httpd
semodule -X 300 -i my-httpd.pp
Verify
With dnf install -y policycore* setrouble* in place, grep httpd /var/log/messages names the denial and suggests the fix. Permissive mode goes in /etc/selinux/config as SELINUX=permissive.
In the repo
Tasks 27–28

Boot configuration — GRUB, kernel parameters, recovery​

GRUB menu: e, then append to the linux line:

systemd.unit=multi-user.target rd.break enforcing=0
mount -o rw,remount /sysroot
chroot /sysroot
passwd root
systemctl set-default multi-user
Verify
Log in after the reset and run restorecon /etc/shadow. For GRUB changes, grub2-mkconfig -o /boot/grub2/grub.cfg, then systemctl reboot and watch it boot. The repo marks task 1 as not working on the lab VM.
In the repo
Task 1 · Task 29

System time and persistent journaling​

/etc/chrony.conf
pool us.pool.ntp.org iburst
systemctl restart chronyd
mkdir /var/log/journal
journalctl --flush
Verify
journalctl -u chronyd ends on a “Selected source” line naming the pool.
In the repo
Tasks 30–31

Storage management — volume groups, LVM, swap, thin provisioning​

lvcreate -L 500M -n platforms_lv platforms_vg
lvextend -L +500M -r /dev/mapper/platforms_vg-platforms_lv
mkswap /dev/sdb2
lvcreate --vdo -l 100%FREE -V 5T --name thin_vol thin_vg/thin_pool
/etc/fstab
UUID=<uuid_from_lsblk> /mnt/platforms_lv ext4 defaults 0 0
UUID=<uuid_from_lsblk> swap swap defaults 0 0
Verify
lsblk -f for the UUID. mount -a and swapon -a must come back silent before you reboot.
In the repo
Tasks 32–39

Performance tuning — tuned profiles, process priority​

systemctl enable --now tuned
tuned-adm profile powersave virtual-guest
nice -n 19 stress-ng -c 1 &
pkill stress-ng
Verify
To renice, open top, press r, enter the PID, then the new value.
In the repo
Tasks 40–41

Containerization — image build and rootless service deployment​

podman build -t web_image <containerfile-url>
podman run -d -p 8000:80 -v ~/web_files:/var/www/html:Z --name cindy_web localhost/web_image
podman generate systemd --files --name cindy_web --new
systemctl --user enable --now container-cindy_web.service
Verify
As root, loginctl enable-linger cindy first, and log in as cindy directly, not with su -. After a reboot, podman ps shows cindy_web up.
In the repo
Tasks 42–43

If any of those headings feel foreign, that’s the topic to lead with.

What the lab won’t do for you​

The lab gives you the environment and the tasks. It does not give you:

  • Speed under pressure. EX200 is timed. Practice each task until you can do it without looking — man is fine, but pausing to think through fundamentals isn’t. Time yourself on a full task list once you’ve worked through it twice.
  • Memory of why. The answer file shows the command. It does not always explain the model underneath. When you fix something, ask yourself: what is the system actually checking when it succeeds or fails? If the answer is “I don’t know, the command worked,” go read the man page for the command and the related configuration file before moving on.
  • The exam interface. The real exam runs in a controlled environment with its own quirks. The official Red Hat practice exam is the only thing that actually replicates that — worth doing once in the final week, even if you skip everything else paid.

Day-of guidance​

A few things that mattered for me on exam day, in no particular order:

  • Reboot every VM after every change before you move on. If it doesn’t survive a reboot, it’s not done.
  • grep, man -k, and apropos are your friends. You don’t need to remember every flag — you need to find them fast.
  • Read every task fully before you start it. A late requirement in the task description can change what the right starting move was.
  • Don’t tune for elegance. A working solution beats an elegant unfinished one. Hardcoded paths and inline commands are fine — this is an exam, not a code review.
  • Time-box hard tasks. If a task burns more than ~15 minutes with no progress, mark it, move on, and come back. Easy points first.

If you want my opinion on the cert itself​

I think RHCSA is the best entry point into serious Linux work I’ve seen, paid course or not. The exam doesn’t reward memorized facts — it rewards being comfortable enough at a Linux prompt to fix what’s in front of you. Whether you’ve earned the badge before or not, the skill it builds is the kind that doesn’t expire, even when the badge does. (More on that in Certifications expire, and that’s the point.)

The lab is free, open, and on GitHub. Clone it, break it, fix it, and the rest follows. And when RHCSA is done and you want the next rung, the RHCE (EX294) guide picks up where this one ends — same philosophy, seven VMs, and a grader that scores you like the exam.