This practice exam is for those that have gone through an RHCSA course/book and want to test their knowledge before sitting the RHCSA 8 exam.

  • Optional Automatic Exam Setup Available**

Here is an automated exam environment deployment for Mac/Linux/Windows that deploys the practice exam environment for you, including IPA server/client installation and configuration. You can also use your own lab environment. Navigate to the below repo and follow the README instructions:

It’s recommended you make a separate ~/bin directory and then clone the environment. Check the included for the environment info and instructions.

Client Set Up

Hostname –

  1. IP –
  2. DNS –
  3. GW –

Install “Workstation”, then add “Development Tools, Graphical Administration Tools, and Container tools” to your installation. Configure the partitions as follows:

  1. 15GB disk space with LVM partitions.
    1. 10GB – /
    2. 1GB – swap
    3. 1GB – boot
    4. 4GB – unallocated space
  2. If you’re using a custom environment, then add an additional 5GB disk for use in the exam. If you’re using the automated deployment, then an additional disk is already supplied for you to use.

NOTE – The below questions assume you’re using the automated deployment but you can also use a practice environment you created. However, you will have to set up your own repo, change host names, IP addresses, etc to reflect your own environment details.


Ensure all the tasks are implemented with firewalld and SELinux enabled. Your server should be able to survive a reboot. Good luck!

  1. Interrupt the boot process and reset the root password. Change it to “wander” to gain access to the system.
  2. Repos are available from the repo server at and and for you to use during the exam.
  3. The system time should be set to your (or nearest to you) timezone and ensure NTP sync is configured.
  4. Add the following secondary IP addresses statically to your current running interface. Do this in a way that doesn’t compromise your existing settings:
    1. IPV4 –
    2. IPV6 – fd01::100/64
  5. Enable packet forwarding on system1. This should persist after reboot.
  6. System1 should boot into the multiuser target by default and boot messages should be present (not silenced).
  7. Create a new 2GB volume group named “vgprac”.
  8. Create a 500MB logical volume named “lvprac” inside the “vgprac” volume group.
  9. The “lvprac” logical volume should be formatted with the xfs filesystem and mount persistently on the /mnt/lvprac directory.
  10. Extend the xfs filesystem on “lvprac” by 500MB.
  11. Use the appropriate utility to create a 5TiB thin provisioned volume.
  12. Configure a basic web server that displays “Welcome to the web server” once connected to it. Ensure the firewall allows the http/https services.
  13. Find all files that are larger than 5MB in the /etc directory and copy them to /find/largefiles
  14. Write a script named in the root directory on client1.
    1. If “me” is given as an argument, then the script should output “Yes, I’m awesome.”
    2. If “them” is given as an argument, then the script should output “Okay, they are awesome.”
    3. If the argument is empty or anything else is given, the script should output “Usage ./ me|them”
  15. Create users phil, laura, stewart, and kevin.
    1. All new users should have a file named “Welcome” in their home folder after account creation.
    2. All user passwords should expire after 60 days and be atleast 8 characters in length.
    3. phil and laura should be part of the “accounting” group. If the group doesn’t already exist, create it.
    4. stewart and kevin should be part of the “marketing” group. If the group doesn’t already exist, create it.
  16. Only members of the accounting group should have access to the “/accounting” directory. Make laura the owner of this directory. Make the accounting group the group owner of the “/accounting” directory.
  17. Only members of the marketing group should have access to the “/marketing” directory. Make stewart the owner of this directory. Make the marketing group the group owner of the “/marketing” directory.
  18. New files should be owned by the group owner and only the file creator should have the permissions to delete their own files.
  19. Create a cron job that writes “This practice exam was easy and I’m ready to ace my RHCSA” to /var/log/messages at 12pm only on weekdays.

Sample Exam Credit goes to:

If you are completely new to Linux, I would suggest that you go through the basic Linux program also known as RHCSA: Linux Training
If you are an expert with Linux, grow your career with RHCEAWSDevopsOpenstack or Openshift.