RHCSA Cheat Sheet 2026
The 30 highest-yield RHCSA facts, distilled from real exam questions. Print it, save it as a PDF, or study it here โ free, no sign-up.
RHCSA exam key facts
- Candidates who are unsuccessful on their first RHCSA individual exam attempt are eligible for a free retake, which appears in the scheduling application after the first result is reported. Source
- Red Hat certifications, including the RHCSA, are current for 3 years from the date earned, and expired certifications must be earned again from scratch. Source
50 questions
210 min time limit
70% to pass
- Which command displays the last 20 lines of a file named 'syslog'? โ tail -20 syslog
- How do you configure a system to use 192.168.1.1 as the DNS server persistently using NetworkManager? โ nmcli con mod ipv4.dns 192.168.1.1, then restart connection
- Which firewall-cmd option makes a rule survive a system reboot? โ --permanent
- In Bash, what does the `test -f /etc/passwd` command check? โ Whether /etc/passwd exists and is a regular file
- Which /etc/fstab field controls the order of filesystem checks at boot? โ Field 6 (pass)
- Which command shows the current SELinux mode and displays whether it is enforcing, permissive, or disabled? โ sestatus
- Your goal is to access an SMB share. Which of the following commands exemplifies the appropriate syntax? โ mount -o username=sambauser1 //server/share /somewhere
- What command verifies the syntax of the SSH server configuration file without restarting the service? โ sshd -t
- Which file on RHEL must be updated to allow the new SSH port through the SELinux policy? โ semanage port -a -t ssh_port_t -p tcp NEWPORT
- Which command makes firewalld configuration changes survive a system reboot? โ firewall-cmd --permanent followed by --reload
- What is the effect of running `chmod g+s /shared/dir`? โ Files in the dir inherit the group of the directory
- What command is used to make a shell script executable? โ chmod +x script.sh
- How do you run a container in detached (background) mode using Podman? โ podman run -d nginx
- A cron job must run as user 'deploy' every weekday at 7:30 AM. Which crontab entry is correct? โ 30 7 * * 1-5 deploy /script.sh
- What does the last field (pass) in an /etc/fstab entry control? โ The order in which fsck checks filesystems at boot
- Which command would you use to restore the default SELinux context on a file? โ restorecon /path/file
- How can a cron job be created for a specific user? โ Log in as that user and type crontab -e to open the cron editor
- Where is the authorized public keys file stored for SSH key-based login on RHEL? โ ~/.ssh/authorized_keys
- Which command resets a forgotten root password in RHEL 8 by interrupting the boot process and appending 'rd.break' to the kernel line? โ Editing the GRUB entry at boot
- What is the purpose of the `~/.ssh/known_hosts` file? โ Stores fingerprints of previously connected SSH servers
- Which command can be used to view a file page by page, allowing both forward and backward navigation? โ less
- What command generates a systemd unit file for an existing Podman container named 'myapp'? โ podman generate systemd myapp
- You need to allow the FTP daemon to read files in home directories. Which boolean should you enable? โ ftp_home_dir
- What `firewall-cmd` command permanently allows SSH traffic through the firewall? โ firewall-cmd --permanent --add-service=ssh && firewall-cmd --reload
- The command 'ls -Z /var/www/html/app.php' shows 'user_home_t'. What is the quickest correct fix? โ restorecon /var/www/html/app.php
- Which firewalld command permanently opens port 8080/tcp in the public zone? โ firewall-cmd --permanent --zone=public --add-port=8080/tcp
- Which command shows the SELinux context of a running process? โ ps auxZ | grep httpd
- What is the effect of running 'dnf install @Base' on a RHEL system? โ Installs the Base environment group of packages
- You want to create a logical volume using 100% of the free space in vg0. Which command achieves this? โ lvcreate -l 100%FREE -n lv0 vg0
- Which command lists all containers, including stopped ones, in Podman? โ podman ps -a
Turn these facts into recall:
What Practice Test Geeks adds beyond an AI chat for RHCSA
An AI chatbot can quiz you, but it can't reproduce the exam conditions or keep your record. Here you get:
- A timed, full-length RHCSA mock exam โ 50 questions in 210 minutes with a 70% pass mark, modeled on the official exam's question count and time limit, followed by a score report broken down by exam domain.
- A fixed RHCSA question bank: the same test every attempt, so your score is comparable from one try to the next instead of changing with every regenerated quiz.
- Progress saved on your device: completed tests, scores and missed questions stay in My Progress, so you can retake only what you got wrong.
- RHCSA flashcards built from the same question bank.
- Free RHCSA practice tests with the correct answer shown after each question.
Was this helpful?
Written and edited by Nathan Beja, founder of Practice Test Geeks, with AI assistance. Exam facts are checked against the official sources linked below. Editorial policy
Sources & references
Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy
- redhat.com โ Test delivery, retake policy, score release, renewal, score validity, exam information ยท verified Dec 2026