RHCSA course and practice exam: Red Hat Certified System Administrator (EX200)
This RHCSA course has 52 video lessons and 81 graded labs, and its RHCSA practice exam follows the official exam objectives: a 20-question sampler free with an account, the full question bank and timed mock exams with Pro.
Administer Red Hat Enterprise Linux systems by hand
Prepares you for the performance-based EX200 exam: essential tools, storage, file systems, software, users, networking, security and boot targets on RHEL.
Intermediate · 4 hours · 52 lessons · 89 labs
RHCSA exam guide
The RHCSA exam (Red Hat Certified System Administrator, by Red Hat): cost: varies by region/country; see redhat.com.
LFCS vs RHCSA: which Linux admin exam should you take?
- Format: Performance-based: real-world tasks on a live system; no internet access permitted
- Duration: Not published by the vendor
- Cost: varies by region/country; see redhat.com
- Delivery: Online proctored or Red Hat testing center
- Prerequisites: Red Hat System Administration I (RH124) + II (RH134), or RHCSA Rapid Track (RH199), or comparable work experience
Exam domains
- Understand and use essential tools
- Manage software
- Create simple shell scripts
- Operate running systems
- Configure local storage
- Create and configure file systems
- Deploy, configure, and maintain systems
- Manage basic networking
- Manage users and groups
- Manage security
Red Hat does not publish domain weights for this exam.
A 20-question practice sampler is free with an account; Pro adds the full question bank and timed mock exams.
10 RHCSA sample questions with answers: free to read, no account needed.
Common questions
How much does the RHCSA exam cost?
Varies by region/country; see redhat.com.
Is there a free RHCSA practice test?
Yes. A 20-question practice sampler is free with an account; Pro adds the full question bank and timed mock exams.
Source: EX200 Red Hat Certified System Administrator exam page (Red Hat), checked 2026-10-02.
Related guides
Who it is for
Intermediate level.
For Linux administrators preparing for Red Hat's hands-on EX200 exam, and for anyone who wants proof they can set up and repair a RHEL server under time pressure.
What you don't need yet:
- No Red Hat server for most labs: a simulated machine grades them
- No paid Red Hat subscription: Rocky or AlmaLinux work for the VM kit
- No previous Red Hat experience: RHEL specifics are taught
What helps:
- Comfort typing commands in a Linux terminal
- Editing short Bash scripts: module 4 teaches what you need
No formal prerequisites. The courses under "Take first" cover what helps.
Take first:
- Linux Fundamentals & Systems Administration — Beginner
- Bash Scripting & Command Line Automation — Beginner
- CompTIA Linux+ (XK0-006) Exam Prep — Intermediate
Take next:
- RHCE in Ansible (EX294): Automate Red Hat Systems — Advanced
- Ansible Configuration Management at Scale — Intermediate
Learning paths:
Nobody needs to know everything before they start. Each course builds on the one before, so a learning path takes you there step by step.
What this exam proves, and what it doesn't
RHCSA is a performance-based exam: you do real tasks on a live system with no internet, so passing shows you can administer RHEL. It doesn't replace running production servers; our graded labs use a simulated RHEL machine, graded after a reboot.
Exam objectives this course teaches
Red Hat Certified System Administrator (RHCSA)
- Understand and use essential tools: Access a shell prompt and issue commands with correct syntax; Use input-output redirection (>, >>, |, 2>, etc.); Use grep and regular expressions to analyze text; Access remote systems using SSH; Log in and switch users in multi-user targets; Archive, compress, unpack, and uncompress files using tar, gzip, and bzip2; Create and edit text files; Create, delete, copy, and move files and directories; Create hard and soft links; List, set, and change standard ugo/rwx permissions; Locate, read, and use system documentation including man, info, and files in /usr/share/doc
- Manage software: Configure access to RPM repositories; Install and remove RPM software packages; Configure access to Flatpak repositories; Install and remove Flatpak software packages
- Create simple shell scripts: Conditionally execute code (use of: if, test, [], etc.); Use looping constructs (for, etc.) to process file, command line input; Process script inputs ($1, $2, etc.); Processing output of shell commands within a script
- Operate running systems: Boot, reboot, and shut down a system normally; Boot systems into different targets manually; Interrupt the boot process in order to gain access to a system; Identify CPU/memory intensive processes and kill processes; Adjust process scheduling; Manage tuning profiles; Locate and interpret system log files and journals; Preserve system journals; Start, stop, and check the status of network services; Securely transfer files between systems
- Configure local storage: List, create, and delete partitions on GPT disks; Create and remove physical volumes; Assign physical volumes to volume groups; Create and delete logical volumes; Configure systems to mount file systems at boot by UUID or label; Add new partitions and logical volumes, and swap to a system non-destructively
- Create and configure file systems: Create, mount, unmount, and use VFAT, ext4, and XFS file systems; Mount and unmount network file systems using NFS; Configure autofs; Extend existing logical volumes; Diagnose and correct file permission problems
- Deploy, configure, and maintain systems: Schedule tasks using at, cron and systemd timer units; Start and stop services and configure services to start automatically at boot; Configure systems to boot into a specific target automatically; Configure time service clients; Install and update software packages from Red Hat Content Delivery Network, a remote repository, or from the local file system; Modify the system bootloader
- Manage basic networking: Configure IPv4 and IPv6 addresses; Configure hostname resolution; Configure network services to start automatically at boot; Restrict network access using firewalld and firewall-cmd
- Manage users and groups: Create, delete, and modify local user accounts; Change passwords and adjust password aging for local user accounts; Create, delete, and modify local groups and group memberships; Configure privileged access
- Manage security: Configure firewall settings using firewall-cmd/firewalld; Manage default file permissions; Configure key-based authentication for SSH; Set enforcing and permissive modes for SELinux; List and identify SELinux file and process context; Restore default file contexts; Manage SELinux port labels; Use Boolean settings to modify system SELinux settings
Labs
89 labs, 81 of them graded: you write the code, it runs, and graded labs check the result. The outline lists each lesson's labs.
What is free
Start free: First module free with an account. Pro: Every course, lab, handbook, practice exam and certificate.
- Pro monthly — $29 a month. Every course, lab, handbook, practice exam and certificate
- Pro yearly — $249 a year. Every course, lab, handbook, practice exam and certificate
Course outline
Start Here
- The Reboot That Fails You (2 labs): You can tell a runtime change from a persistent one for mounts, services, firewall rules and SELinux modes, make each one survive a reboot, and check it the way the exam grader does: after the reboot.
- Exam Strategy: Order, Verify, And The Docs You May Use (2 labs): You can order an exam task list so nothing waits on a missing dependency, budget time with verification built in, find a forgotten option with man -k, man sections, --help and /usr/share/doc, and verify each task the way the grader will.
Essential Tools
- What The Shell Hands Your Command (3 labs): You can predict what a command receives after the shell expands globs and variables, quote names and patterns so they arrive intact, and find a command's flags on the machine itself with type, help and --help.
- Redirection: Where Output And Errors Go (3 labs): You can send a command's output and its errors to files or to each other in the right order, append without truncating, protect files with noclobber, and build pipelines and tee chains that carry the stream you mean.
- grep And Regular Expressions Under Time Pressure (3 labs): You can filter lines with grep's everyday flags, write anchored patterns with classes and counts in basic and extended syntax, and extract just the matching text from many files.
- Fields, Counts And Stream Edits (3 labs): You can split lines into fields with cut and awk, sort by a numeric column, count repeats with uniq, and change, delete or print lines with sed, in a pipeline or in place with a backup.
- Names, Inodes And Links (3 labs): You can explain what a file name points to, create hard and symbolic links and predict which survives a delete or a rename, and tell copy from move by what happens to the inode.
- find: Ask The File System A Question (3 labs): You can combine find's tests for name, type, size, age, permissions and owner, act on the results with -exec, -delete or xargs, and handle names with spaces safely.
- Archives, Compression And A Restore That Works (2 labs): You can create, list and extract tar archives with gzip or xz compression, restore into another directory, pick single files or exclude patterns, and explain what tar does with absolute paths and permissions.
- Logins, su, sudo And SSH Between Hosts (2 labs): You can log in on a text console of a multi-user target, choose between su, su -, sudo -i and sudo -u for a task, give a user full sudo through wheel, log in to another host with ssh, and copy files between hosts with scp and sftp.
Users And Permissions
- Reading And Setting Permissions (3 labs): You can read a mode string and its octal form, set modes symbolically and in octal, predict what read, write and execute mean on a directory, and say who may change a file's owner and group.
- The Umask And The Special Bits (2 labs): You can predict the mode of a new file or directory from the umask, set a umask for a session and for good, and set, read and find setuid, setgid and sticky bits, including the capital S and T cases.
- Access Control Lists: One More Reader (2 labs): You can grant a named user or group access with setfacl, read an ACL and its mask with getfacl, set default ACLs that new files inherit, and remove entries cleanly.
- Users, Groups And Password Aging (2 labs): You can create groups and users with chosen IDs, primary and supplementary groups, comments and shells, add a group without removing others, set a first password the user must change, apply an expiry policy, and remove an account with its home.
- Defaults For New Accounts: login.defs, useradd And skel (1 lab): You can set the password aging defaults every new account receives in /etc/login.defs, read and change useradd's own defaults, put files in /etc/skel for new homes, and apply the same rules to accounts that already exist with chage.
- Privileged Access: sudo Rules In Drop-In Files (1 lab): You can grant a user or group exactly the commands a task names, with or without a password, in a drop-in file under /etc/sudoers.d with the right owner and mode, validate it with visudo -c, and read the result with sudo -l -U.
- Diagnosing Permission Problems (1 lab): You can work through a permission complaint in a fixed order, owner, group membership, mode bits, setgid and ACL mask, and fix a shared directory so its group can work in it, an auditor can only read, and everyone else is kept out.
Shell Scripts
- Scripts That Say Whether They Worked (2 labs): You can write a bash script with a shebang, arguments and a usage message, test files, numbers and strings, branch with if, && and case, and return exit statuses that callers and schedulers can act on.
- Loops That Do A Day's Work (2 labs): You can loop over files, lines and ranges, read delimited lines safely, keep running totals with arithmetic, and write a provisioning loop that is safe to run twice.
- Exam-Style Scripts: Arguments, Output And Exit Codes (2 labs): You can write a script to a written specification: check its arguments, send errors to standard error with the right exit code, use command output in the script, loop over results safely, and prove the behaviour with a test for each case.
Software
- Repositories You Configure By File (1 lab): You can write a .repo file with the right section id, name, baseurl, enabled and gpgcheck keys, add a repository with dnf config-manager, list enabled and disabled repositories, and recognise the URL mistakes that make every later install fail.
- dnf: Install, Update, Remove, And RPM Files On Disk (1 lab): You can install, update and remove packages with dnf, install and update a package from an RPM file on disk with its dependencies resolved, find which package provides a file or command, and query installed and uninstalled packages with rpm.
- Flatpak: Remotes, Apps, System And User (1 lab): You can add a Flatpak remote, install, list, update and remove applications, and choose between the system installation that every user shares and a user's own installation, then prove each with flatpak list.
Operate Running Systems
- Targets, Boot And Shutdown (1 lab): You can name the targets a boot can reach, set and read the default target, switch target on a running system, pick a target for one boot from the boot menu, find a target forced on the kernel command line, and reboot or power off cleanly.
- Services At Boot: Start, Enable And Mask (1 lab): You can start, stop, restart and reload a service, make it start at boot with enable or enable --now, read is-active, is-enabled and status, keep a service from ever starting with mask, and confirm network services come up after a reboot.
- Recovering Root And Changing The Boot Loader (3 labs): You can reset a forgotten root password from the boot menu with rd.break, explain why each step is needed including the SELinux relabel, practise it on a real VM with a self-graded check, and change kernel arguments and the menu timeout persistently with grubby and /etc/default/grub.
- Processes: Parents, States And Priorities (2 labs): You can find a process and its parent, read its state in ps output, recognise stopped and zombie processes, start a job with a lower priority, change it with renice, and select processes by name with pgrep and pkill.
- Signals: Ask First, Then Insist (2 labs): You can send signals by name and number, explain which can be caught, read the exit status a signal leaves, write a trap that cleans up, and manage background jobs with jobs, kill %n, wait and timeout.
- Tuning Profiles With tuned (1 lab): You can tell whether the tuned daemon is running, read the profile it recommends, switch to a named or the recommended profile so it applies at every boot, and choose between virtual-guest, throughput-performance, balanced and powersave for a described workload.
- Logs, The Journal, And Keeping It Across Reboots (1 lab): You can find the messages a task needs with journalctl filters by unit, priority, time and boot, know where rsyslog writes text logs, write a message with logger, and make the journal persistent with Storage=persistent, including when a drop-in overrides the main file.
Scheduling And Time
- Scheduling: cron, at And systemd Timers (1 lab): You can schedule a recurring job in a user's crontab, a one-off job with at, and a systemd timer with a calendar expression that catches up after downtime, read and test each schedule, and pick the right tool for a task's wording.
- Time Clients With chrony (1 lab): You can point chronyd at the time server a task names, replacing the default pool, restart and enable it, read chronyc sources and its reachability columns, set the time zone and NTP synchronisation with timedatectl, and explain why a wrong clock breaks other tasks.
Local Storage
- GPT Partitions With parted (1 lab): You can read a disk's partition table and its free space, add GPT partitions of exact sizes in free space without touching existing ones, name and flag them for LVM or swap, and choose between parted, gdisk and fdisk for a task.
- LVM: Physical Volumes, Volume Groups, Logical Volumes (1 lab): You can turn disks or partitions into physical volumes, build a volume group with a chosen extent size, create logical volumes by size or by extent count, predict the rounding, add a disk to a group, and read pvs, vgs and lvs.
- Mount By UUID Or Label, For Good (1 lab): You can read UUIDs, labels and types with blkid and lsblk -f, write file system table lines by UUID or label with the right type and options, test them with mount -a before any reboot, and recover a machine that stops in emergency mode because of a bad line.
- Swap And New Volumes Without Losing Data (1 lab): You can add swap as a new partition or a logical volume on a disk that already holds data, activate it now and at every boot through the file system table, check it with swapon --show and free, and add storage to a machine without touching what is already there.
- Extend A Logical Volume And Its File System (1 lab): You can check a volume group's free space, add a physical volume when it is short, grow a mounted logical volume and its XFS or ext4 file system in one step with lvextend -r or in two with xfs_growfs and resize2fs, and explain why XFS cannot shrink.
File Systems
- VFAT, ext4 And XFS: Create, Mount, Use (1 lab): You can choose VFAT, ext4 or XFS for a described use, create each with a label, mount VFAT with an owner because it has no permissions of its own, mount all three at boot, and know which tools check, label and resize each.
- NFS Client Mounts That Survive The Boot (2 labs): You can list a server's exports with showmount, mount an NFS export by hand to test it, add a file system table line with _netdev so the boot waits for the network, choose between _netdev, nofail and a plain line, and practise against a real NFS server in the VM kit.
- autofs: Mount On Demand (1 lab): You can write a master map entry in /etc/auto.master.d, an indirect map with a wildcard key and the ampersand substitution, a direct map, enable autofs at boot, and explain why an automount directory looks empty until someone uses it.
Networking
- nmcli: IPv4 And IPv6 That Survive The Reboot (1 lab): You can read devices and connection profiles with nmcli, create or modify a profile with a static IPv4 and IPv6 address, gateway and DNS, make it the one that comes up at boot, and tell a profile change from a runtime ip command.
- Host Names And Name Resolution (1 lab): You can set a static host name that survives the reboot, point a connection profile at a DNS server with a search domain, add a static entry to /etc/hosts, and predict which source answers a lookup from the hosts line in nsswitch.conf.
- firewalld: Zones, Services And Ports That Stay Open (1 lab): You can read which zone a connection lands in, open a service or a port in the right zone permanently, bind a source network to a zone, apply the permanent rules with a reload, and say what a reload throws away.
Security
- SSH: Keys, And An sshd That Listens Where You Say (2 labs): You can make a key pair and install it for key-based login, set sshd options in a drop-in that actually wins, add a second port with its SELinux type and firewall rule, and validate and reload sshd without locking yourself out.
- SELinux Modes, And Why setenforce Is Not Enough (1 lab): You can name SELinux's three modes, read the running and the configured mode, find every place that sets the mode at boot (the configuration file and the kernel's arguments), and make a machine enforcing now and after every reboot.
- SELinux Contexts: Labels, restorecon And Rules That Last (1 lab): You can read a file's SELinux context, explain why a moved file keeps its old label, restore labels with restorecon, and add a local file-context rule with semanage fcontext so a new directory keeps the right type through any relabel.
- SELinux Ports And Booleans: The Other Two Refusals (2 labs): You can read an AVC denial and tell whether it needs a port label, a boolean or a file label, add a port type with semanage port, switch a boolean persistently with setsebool -P, and prove both after a reboot.
Timed Drills And Mock Exam
- Drill: The Machine That Will Not Boot (2 labs): Under a twelve-minute limit, you can read an emergency-mode console, repair a broken file system table entry, remove kernel arguments and targets that override the configuration, and prove the machine boots to multi-user, enforcing, with its file system mounted.
- Drill: Storage, Then SELinux, Then The Firewall (1 lab): Within fifteen minutes, you can build a logical volume, mount it by UUID, label it for a web server, give the server a new port type, open that port in the firewall and enable the service, and prove every link of the chain after a reboot.
- Drill: People, Packages And Time (1 lab): Within fifteen minutes, you can create a group with a fixed GID and its members, set a password and its aging, grant one command through a sudoers drop-in, point dnf at a given repository and install from it, change the time source and enable a timer, all graded after a reboot.
- Mock Exam, Part 1: Eighteen Tasks, One Reboot (5 labs): You can complete an eighteen-task mock exam across networking, software, users, storage, SELinux, the firewall, services and scheduling in ninety minutes, have each section graded after a reboot, and score yourself with the course's scoring sheet.
- Mock Exam, Part 2: Real Machines And The Ten Costly Mistakes (2 labs): You can run part 2 of the mock on your own two RHEL 10 virtual machines with the self-graded kit, add its score to part 1 on the scoring sheet, and find the ten habits that lose points after a reboot in any shell history.