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
Start the Timed RHCSA Mock Exam โ†’
50 questions
210 min time limit
70% to pass
  1. Which command displays the last 20 lines of a file named 'syslog'? โ†’ tail -20 syslog
  2. 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
  3. Which firewall-cmd option makes a rule survive a system reboot? โ†’ --permanent
  4. In Bash, what does the `test -f /etc/passwd` command check? โ†’ Whether /etc/passwd exists and is a regular file
  5. Which /etc/fstab field controls the order of filesystem checks at boot? โ†’ Field 6 (pass)
  6. Which command shows the current SELinux mode and displays whether it is enforcing, permissive, or disabled? โ†’ sestatus
  7. Your goal is to access an SMB share. Which of the following commands exemplifies the appropriate syntax? โ†’ mount -o username=sambauser1 //server/share /somewhere
  8. What command verifies the syntax of the SSH server configuration file without restarting the service? โ†’ sshd -t
  9. 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
  10. Which command makes firewalld configuration changes survive a system reboot? โ†’ firewall-cmd --permanent followed by --reload
  11. What is the effect of running `chmod g+s /shared/dir`? โ†’ Files in the dir inherit the group of the directory
  12. What command is used to make a shell script executable? โ†’ chmod +x script.sh
  13. How do you run a container in detached (background) mode using Podman? โ†’ podman run -d nginx
  14. 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
  15. What does the last field (pass) in an /etc/fstab entry control? โ†’ The order in which fsck checks filesystems at boot
  16. Which command would you use to restore the default SELinux context on a file? โ†’ restorecon /path/file
  17. 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
  18. Where is the authorized public keys file stored for SSH key-based login on RHEL? โ†’ ~/.ssh/authorized_keys
  19. 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
  20. What is the purpose of the `~/.ssh/known_hosts` file? โ†’ Stores fingerprints of previously connected SSH servers
  21. Which command can be used to view a file page by page, allowing both forward and backward navigation? โ†’ less
  22. What command generates a systemd unit file for an existing Podman container named 'myapp'? โ†’ podman generate systemd myapp
  23. You need to allow the FTP daemon to read files in home directories. Which boolean should you enable? โ†’ ftp_home_dir
  24. What `firewall-cmd` command permanently allows SSH traffic through the firewall? โ†’ firewall-cmd --permanent --add-service=ssh && firewall-cmd --reload
  25. 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
  26. Which firewalld command permanently opens port 8080/tcp in the public zone? โ†’ firewall-cmd --permanent --zone=public --add-port=8080/tcp
  27. Which command shows the SELinux context of a running process? โ†’ ps auxZ | grep httpd
  28. What is the effect of running 'dnf install @Base' on a RHEL system? โ†’ Installs the Base environment group of packages
  29. 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
  30. Which command lists all containers, including stopped ones, in Podman? โ†’ podman ps -a

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.
Start the Timed RHCSA Mock Exam โ†’
Was this helpful?

Written and edited by , 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

  1. redhat.com โ€” Test delivery, retake policy, score release, renewal, score validity, exam information ยท verified Dec 2026