RHCSA Exam Interview Questions by EX200 Objective (2027)
48 RHCSA exam interview questions mapped to every RHEL 10 EX200 objective domain, with commands and the exam facts Red Hat publishes.
RHCSA certification exam interview questions check whether you can do what the EX200 objectives list on a real RHEL 10 system: shell tools, software from RPM and Flatpak repositories, scripts, boot and process control, LVM storage, file systems, networking, users and SELinux. This page has 48 questions mapped to each official objective domain, with the commands an interviewer expects to hear.
Exam facts on this page come only from Red Hat's EX200 page on redhat.com, read in November 2026. Red Hat does not publish its exam tasks, so the questions here test the published objectives rather than claiming to be real exam items.
Key takeaways
- Red Hat states that EX200 is based on Red Hat Enterprise Linux 10 and is a hands-on, performance-based exam.
- Internet access is not provided and notes or books are not allowed; for most exams the documentation that ships with the product is available.
- Configurations must persist after a reboot without intervention. Interviewers ask "will this survive a reboot?" for exactly this reason.
- The RHEL 10 objectives include Flatpak repositories and packages, tuning profiles and systemd timers alongside the long-standing LVM, SELinux and firewalld tasks.
- Red Hat lists RH124 and RH134, or the combined RH199, as the recommended preparation.
How this page differs from the other RHCSA pages
Our RHCSA exam on RHEL 10 complete guide explains the exam itself, and how to prepare for RHCSA on RHEL 10 gives a study plan. For interview lists, the keeper is 120 RHCSA interview questions; RHCSA questions for freshers, scenario-based RHCSA questions and RHCSA X vs Y questions each take another angle. This page is organised by the EX200 objective domains, so you can check yourself against each one.
| EX200 objective domain | Questions here | Commands to know |
|---|---|---|
| Understand and use essential tools | 1 to 6 | grep, tar, ln, chmod, man |
| Manage software | 7 to 10 | dnf, flatpak |
| Create simple shell scripts | 11 to 14 | if, test, for, $1 |
| Operate running systems | 15 to 21 | systemctl, nice, tuned-adm, journalctl |
| Configure local storage | 22 to 26 | parted, pvcreate, vgcreate, lvcreate |
| Create and configure file systems | 27 to 31 | mkfs, lvextend -r, autofs |
| Deploy, configure and maintain systems | 32 to 36 | cron, systemd timers, chronyc, grubby |
| Manage basic networking | 37 to 39 | nmcli, hostnamectl, firewall-cmd |
| Manage users and groups | 40 to 42 | useradd, chage, sudoers |
| Manage security | 43 to 48 | semanage, restorecon, setsebool, ssh-keygen |
Freshers: essential tools, software and scripts
1. How do you send both output and errors of a command to one file?
Use command > out.log 2>&1, or command &> out.log in Bash. Order matters in the first form: redirect stdout first, then point stderr at it.
2. Find all lines starting with "root" in /etc/passwd and save them.
grep '^root' /etc/passwd > /root/root-lines.txt. The caret anchors the match to the line start. Use grep -E for extended regular expressions.
3. Create a gzip-compressed archive of /etc and a bzip2 one.
tar -czf /root/etc.tar.gz /etc
tar -cjf /root/etc.tar.bz2 /etc
tar -tzf /root/etc.tar.gz | head
The objective names tar, gzip and bzip2, so know both -z and -j.
4. What is the difference between a hard link and a soft link?
A hard link is another name for the same inode, works only on the same file system and survives deletion of the original name. A soft link (ln -s) stores a path, can cross file systems and breaks if the target is removed.
5. Give a file rw for owner, r for group, nothing for others.
chmod 640 file or chmod u=rw,g=r,o= file. Interviewers like to hear both numeric and symbolic forms.
6. You cannot remember a command's options and have no internet. What do you use?
man and man -k keyword to search, info, and /usr/share/doc. Red Hat lists all three under the objectives, and product documentation is what you can use in the exam room.
7. How do you configure a new RPM repository?
Create a file in /etc/yum.repos.d/ with a section name, baseurl, enabled=1 and gpgcheck settings, or use dnf config-manager --add-repo URL. Check with dnf repolist.
[appstream-local]
name=Local AppStream
baseurl=http://repo.example.com/rhel10/AppStream
enabled=1
gpgcheck=1
8. How do you install and remove an RPM package?
dnf install httpd and dnf remove httpd. dnf provides /usr/sbin/semanage finds the package that ships a file.
9. How do you add a Flatpak repository?
flatpak remote-add --if-not-exists NAME URL, then flatpak remotes to confirm. Flatpak repositories and packages are explicit RHEL 10 objectives.
10. How do you install and remove a Flatpak application?
flatpak install REMOTE APP_ID and flatpak uninstall APP_ID; flatpak list shows what is installed.
11. Write a script that prints "yes" if a file given as the first argument exists.
#!/bin/bash
if [ -e "$1" ]; then
echo "yes"
else
echo "no"
fi
12. Loop over every .conf file in /etc and print its line count.
for f in /etc/*.conf; do
echo "$f $(wc -l < "$f")"
done
13. How do you capture a command's output in a variable?
Command substitution: users=$(who | wc -l). Then test it, for example if [ "$users" -gt 5 ]; then ....
14. What do $1, $# and $@ mean?
$1 is the first argument, $# is the number of arguments and "$@" expands to all arguments as separate words. Quote it to keep arguments with spaces intact.
2 to 5 years: running systems, storage and file systems
15. How do you boot into a different target for one boot only?
At the GRUB menu, edit the entry and append systemd.unit=rescue.target (or another target) to the kernel line. On a running system, systemctl isolate multi-user.target switches now.
16. How do you regain access if the root password is lost?
Interrupt the boot at GRUB, add rd.break to the kernel line, remount /sysroot read-write, chroot /sysroot, set the password, and create /.autorelabel so SELinux relabels on the next boot. Red Hat lists "interrupt the boot process to gain access" as an objective.
17. How do you find and stop the process using the most CPU?
Use top (sort by CPU), or ps aux --sort=-%cpu | head, then kill PID and, only if it ignores that, kill -9 PID.
18. How do you change a process's priority?
Start it with nice -n 10 command, or change a running one with renice -n 5 -p PID. Lower numbers mean higher priority; only root can raise priority.
19. How do you manage tuning profiles?
With tuned: tuned-adm list, tuned-adm recommend, tuned-adm profile virtual-guest and tuned-adm active. Make sure the tuned service is enabled so it persists.
20. How do you make the systemd journal persistent?
Create /var/log/journal or set Storage=persistent in /etc/systemd/journald.conf, then restart systemd-journald. Check with journalctl --list-boots.
21. How do you read logs for one service since the last boot?
journalctl -u sshd -b. Add -p err for errors only and -f to follow.
22. Create a 1 GiB partition on a GPT disk.
parted /dev/vdb mklabel gpt
parted /dev/vdb mkpart data xfs 1MiB 1025MiB
udevadm settle
lsblk /dev/vdb
Only run mklabel on an empty disk; on a disk with partitions, add to the free space instead.
23. Build an LVM volume from that partition.
pvcreate /dev/vdb1
vgcreate vgdata /dev/vdb1
lvcreate -n lvapp -L 500M vgdata
mkfs.xfs /dev/vgdata/lvapp
24. How do you mount a file system at boot by UUID?
Get the UUID with blkid or lsblk -f, add a line to /etc/fstab, then run mount -a (and systemctl daemon-reload) to test before rebooting. A typo in fstab can stop the system booting.
UUID=3f1c... /app xfs defaults 0 0
25. Add swap without touching existing data.
Create a new partition or logical volume, run mkswap, add it to /etc/fstab with type swap, and enable it with swapon -a. Check with swapon --show.
26. How do you remove a logical volume and its volume group?
Unmount it, remove its fstab line, then lvremove, vgremove and pvremove in that order.
27. Which file systems does the objective list, and how do you create each?
VFAT, ext4 and XFS: mkfs.vfat, mkfs.ext4 and mkfs.xfs. XFS is the RHEL default and can grow but not shrink.
28. Extend a logical volume and its file system in one step.
lvextend -r -L +500M /dev/vgdata/lvapp. The -r option resizes the file system too. Without it, use xfs_growfs for XFS or resize2fs for ext4.
29. Mount an NFS share persistently.
Test with mount -t nfs server:/export /mnt/share, then add server:/export /mnt/share nfs defaults,_netdev 0 0 to fstab.
30. Configure autofs to mount user home directories on demand.
Install autofs, add a master map entry such as /home/remote /etc/auto.remote in a file under /etc/auto.master.d/, write the map (* -rw server:/home/&), and enable and start autofs.
31. A user cannot write to a shared directory. How do you diagnose it?
Check ownership and mode with ls -ld, group membership with id user, ACLs with getfacl, and SELinux context with ls -Z. Fix with chgrp, chmod g+ws (setgid keeps group ownership on new files) or setfacl.
Senior-level checks: maintenance, networking, users and security
32. Schedule a job for 02:30 every day.
Run crontab -e and add 30 2 * * * /usr/local/bin/backup.sh. For a one-off job use at.
33. Do the same with a systemd timer.
# /etc/systemd/system/backup.timer
[Timer]
OnCalendar=*-*-* 02:30:00
Persistent=true
[Install]
WantedBy=timers.target
Pair it with backup.service, then systemctl enable --now backup.timer and check with systemctl list-timers.
34. Make the system boot into the graphical or text target by default.
systemctl set-default multi-user.target or graphical.target; confirm with systemctl get-default.
35. Configure the system as an NTP client.
Add a server or pool line to /etc/chrony.conf, restart chronyd, and verify with chronyc sources.
36. How do you modify the bootloader, for example to add a kernel argument?
grubby --update-kernel=ALL --args="ARG", or edit /etc/default/grub and regenerate the configuration. Check with grubby --info=DEFAULT.
37. Set a static IPv4 and IPv6 address with nmcli.
nmcli con mod eth0 ipv4.method manual ipv4.addresses 192.168.10.20/24 \
ipv4.gateway 192.168.10.1 ipv4.dns 192.168.10.1
nmcli con mod eth0 ipv6.method manual ipv6.addresses 2001:db8::20/64
nmcli con up eth0
38. How do you set the hostname and local name resolution?
hostnamectl set-hostname server1.example.com, and add entries to /etc/hosts or DNS servers to the connection with nmcli.
39. Open the HTTP service in the firewall permanently.
firewall-cmd --permanent --add-service=http then firewall-cmd --reload. Without --permanent, the rule is lost on reboot.
40. Create a user with a set UID and a supplementary group.
useradd -u 2001 -G wheel alice, then passwd alice. Check with id alice.
41. Force a password change every 90 days.
chage -M 90 alice; chage -l alice shows the settings. For new users, change PASS_MAX_DAYS in /etc/login.defs.
42. Give a group full sudo rights without editing the main sudoers file.
Create /etc/sudoers.d/admins with %admins ALL=(ALL) ALL and check it with visudo -cf /etc/sudoers.d/admins.
43. Set SELinux to permissive now and enforcing at boot.
setenforce 0 changes the running mode. SELINUX=enforcing in /etc/selinux/config sets the boot mode. getenforce shows the current one.
44. A web server cannot read files you moved into /var/www/html. Why?
mv keeps the original SELinux context. Check with ls -Z and fix with restorecon -Rv /var/www/html. If the content lives elsewhere, add a rule with semanage fcontext -a -t httpd_sys_content_t "/web(/.*)?", then run restorecon.
45. Let SSH listen on port 2222 with SELinux enforcing.
semanage port -a -t ssh_port_t -p tcp 2222, set Port 2222 in the SSH config, open the port in firewalld and restart sshd. Check with semanage port -l | grep ssh.
46. Allow Apache to serve user home directories.
setsebool -P httpd_enable_homedirs on. The -P makes it persistent. getsebool -a | grep httpd lists related Booleans.
47. Set up key-based SSH login.
ssh-keygen on the client, ssh-copy-id user@server, then test. To force keys only, set PasswordAuthentication no in the SSH server config and reload.
48. Change the default permissions for new files.
Set the umask: umask 027 for the session, or in a shell startup file for persistence. With 027, new files get 640 and new directories 750.
How exam rules shape interview answers
Because Red Hat requires configurations to persist after reboot, a good answer always names the persistent step: --permanent for firewalld, -P for Booleans, fstab for mounts, enable for services. Because there is no internet, you should know where local documentation lives. Practise on a RHEL 10 VM and reboot after every task. Our RHCSA training follows the EX200 objectives in labs, in the Kharadi, Pune classroom and live online.
Frequently asked questions
Which RHEL version is the RHCSA exam based on?
Red Hat's EX200 page states the exam is based on Red Hat Enterprise Linux 10.
Is internet access available in the RHCSA exam?
No. Red Hat states internet access is not provided and notes or books are not allowed. Product documentation is available for most exams.
Is the RHCSA exam multiple choice?
No. It is a hands-on, performance-based exam where you configure real systems.
What is new in the RHEL 10 RHCSA objectives?
The list includes Flatpak repositories and packages, tuning profiles and systemd timers alongside storage, SELinux, networking and user tasks.
Which courses does Red Hat recommend for RHCSA?
RH124 and RH134, or the combined RH199 rapid track course.
Why do RHCSA answers stress persistence?
Red Hat requires exam configurations to survive a reboot without intervention, and production systems need the same.
Do I need RHCSA before RHCE?
Yes. Red Hat states RHCSA is required before earning RHCE.
References
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Angry
0
Sad
0
Wow
0