Free Red Hat Certified System Administrator (RHCSA)Practice Test
Test your knowledge with 20 free practice questions for the EX200 exam. Get instant feedback and see if you are ready for the real exam.
Test Overview
Free Practice Questions
Try these Red Hat Certified System Administrator (RHCSA) sample questions for free - no signup required
You need to find all files in the /etc directory that have been modified in the last 7 days. Which command should you use?
A user needs to redirect both standard output and standard error from a command to the same file called output.log. Which syntax is correct?
You need to search for lines containing the word 'error' (case-insensitive) in all files within /var/log/messages and display the line numbers. Which command achieves this?
You need to archive and compress the /home/user/documents directory into a file called backup.tar.gz. Which command should you use?
You need to create a bash script that accepts command-line arguments and processes each argument in a loop. The script should print each argument on a separate line. Which script structure is correct?
You need to write a script that checks if a file exists and is readable before processing it. If not, it should exit with an error message. Which conditional structure is correct?
A system is running slow and you need to identify which process is consuming the most CPU resources. Which command provides a real-time, interactive view sorted by CPU usage?
You need to configure a service called 'webapp' to start automatically at boot and start it immediately. Which commands should you run?
A critical system service has failed. You need to view detailed diagnostic information including recent log entries for the 'httpd' service. Which command provides the most comprehensive information?
Your system needs to be rebooted, but you want to ensure all users are logged out first and prevent new logins. Which sequence of commands should you use?
You need to create a new 2GB partition on /dev/sdb using the MBR partitioning scheme. Which tool should you use?
You have added a new disk /dev/sdc to your system. After creating a partition, you need to inform the kernel about the partition table changes without rebooting. Which command should you use?
You need to create a volume group called 'vg_data' using physical volumes /dev/sdb1 and /dev/sdc1. Which sequence of commands is correct?
You need to create an XFS filesystem on /dev/vg_data/lv_archive. Which command should you use?
You need to configure /dev/vg_data/lv_shared to mount automatically at /mnt/shared with read-write permissions at boot. Which /etc/fstab entry is correct?
A filesystem mounted at /data is showing 100% usage, but you suspect deleted files are still held open by processes. Which command helps identify processes holding deleted files open?
You need to configure a RHEL system to use a specific NTP time server at ntp.example.com. Which configuration file should you modify?
You need to configure a system to automatically download and apply security updates. Which package and service should you configure?
You need to configure SELinux to allow a custom application to listen on TCP port 8888. The application is being blocked by SELinux. Which command should you use?
You need to create a scheduled task that runs a backup script at /usr/local/bin/backup.sh every day at 2:30 AM. Which cron entry is correct?
Want more practice?
Access the full practice exam with detailed explanations
Ready for More Practice?
Access our full practice exam with 500+ questions, detailed explanations, and performance tracking to ensure you pass the Red Hat Certified System Administrator (RHCSA) exam.