Scenario-Based RHCSA Interview Questions (2027)

40 scenario-based RHCSA interview questions on fixing broken RHEL 10 systems: emergency mode, SELinux 403s, firewalld, LVM, NFS, autofs and SSH.

Sep 4, 2025 - 12:01
Nov 7, 2026 - 11:03
 0  80
Scenario-Based RHCSA Interview Questions (2027)

Scenario-based RHCSA interview questions describe a broken Red Hat Enterprise Linux system, such as a server stuck in emergency mode, a service that will not start, a full filesystem or a user who cannot log in, and ask how you find the cause and fix it. Interviewers want a clear order: read the symptom, check the right log or command, fix the cause, and confirm it survives a reboot. This page has 40 break-fix scenarios with answers.

The RHCSA exam (EX200) is now based on RHEL 10, according to Red Hat's exam page checked in November 2026. This page is about diagnosis. For ticket-style tasks where you build something new (create a user, add swap, open a port) read the real-time RHCSA interview questions. For the full concept bank go to the 120 RHCSA interview questions.

Key takeaways

  • Most RHCSA break-fix problems come from five places: /etc/fstab, SELinux labels, firewalld zones, systemd unit state and permissions.
  • Start with the log. journalctl -xeu unit, journalctl -b, ausearch -m AVC -ts recent and systemctl status answer most questions before you change anything.
  • Fix the cause, not the symptom. "Set SELinux to permissive" or "chmod 777" will lose the interview.
  • Always confirm persistence: reboot, or at least check the runtime and permanent configuration separately.
  • The EX200 objectives include boot recovery, LVM, NFS and autofs, SELinux contexts, ports and booleans, firewalld, time sync and systemd timers, so the scenarios below cover each.

A troubleshooting order that works

Symptom areaFirst commandCommon cause
Service will not startsystemctl status unit, journalctl -xeu unitConfig syntax, port in use, SELinux denial
Access denied with correct permissionsls -Z, ausearch -m AVC -ts recentWrong SELinux context
Cannot reach a service from outsidess -tlnp, firewall-cmd --list-allFirewall rule missing or in wrong zone
Boot drops to emergency modejournalctl -xb, cat /etc/fstabBad fstab entry or missing disk
Disk fulldf -h, du -xsh /*, lsof +L1Logs, deleted open files
Login failschage -l user, journalctl -u sshdExpired or locked account, key permissions

Scenarios for freshers

1. A user says "Permission denied" when editing a file in a shared directory. What do you check?

Check ownership and mode with ls -l, the user's groups with id user, and ACLs with getfacl. A common cause is that the user was added to the group but has not logged in again, so the new group is not active in their session. Fix the group or ACL, and ask the user to log out and back in.

2. Files created in a team directory belong to each user's private group, so others cannot edit them. What is wrong?

The directory is missing the setgid bit. Run chmod g+s /srv/team so new files inherit the directory's group. If others still cannot write, check the umask, which may be removing group write.

3. A user cannot delete files in /srv/shared even though the directory is mode 777. Why might that be correct?

If the sticky bit is set (drwxrwxrwt), only the file owner, the directory owner or root can delete a file. That is how /tmp works. Explain this before "fixing" it, because it may be intended.

4. systemctl start httpd fails. What is your first step?

Run systemctl status httpd and journalctl -xeu httpd to read the actual error. Then test the configuration with httpd -t. Do not restart repeatedly without reading the log.

5. A service works after you start it, but is stopped after every reboot. Why?

It is not enabled. systemctl is-enabled unit shows disabled. Run systemctl enable --now unit. If it is enabled but still not running, check whether it is wanted by the target the system boots into.

6. Users can reach the web server from the server itself but not from other hosts. What do you check?

Check that httpd listens on all addresses (ss -tlnp | grep :80), then the firewall with firewall-cmd --list-all. If http is missing, add it with firewall-cmd --permanent --add-service=http and firewall-cmd --reload.

7. A firewall rule worked yesterday but is gone after a reboot. What happened?

It was added only to the runtime configuration, without --permanent. Add it again with --permanent and reload, or run firewall-cmd --runtime-to-permanent to save what is running now.

8. dnf install fails with "No match for argument". What do you check?

Check that the package name is right with dnf search or dnf provides, and that the repositories are enabled with dnf repolist. On a system without a subscription or a configured internal repo, BaseOS and AppStream may not be available.

9. A cron job does not run. How do you find out why?

Check that crond is running, list the job with crontab -l -u user, and read journalctl -u crond. Cron runs with a minimal environment, so scripts that rely on PATH from a login shell often fail. Use full paths in the script.

10. The server's time is several minutes wrong. What do you check?

Run timedatectl to see whether NTP is active, then chronyc sources to see if chronyd can reach its servers. Fix the server list in /etc/chrony.conf, restart chronyd, and check that UDP 123 is allowed outbound.

11. A user's password has expired and they cannot log in. What do you do?

Check with chage -l user. Set a new password with passwd user, and if the policy is wrong, adjust it with chage -M for maximum days. Use chage -d 0 user if they must change the password at next login.

12. A script runs when called with bash script.sh but not as ./script.sh. Why?

It is missing the execute bit (chmod +x), the shebang line is missing or wrong, or the file has Windows line endings, which break the interpreter path. Check with ls -l and head -1.

Scenarios for 2 to 5 years of experience

13. After adding a disk, the server boots into emergency mode. What is the likely cause and fix?

A wrong or unavailable entry in /etc/fstab, often a device name that changed or a typo. At the emergency shell, enter the root password, run journalctl -xb to find the failed mount, correct /etc/fstab (use UUIDs from blkid), then run systemctl daemon-reload and mount -a to test before rebooting. Add nofail for non-critical disks.

14. httpd returns 403 for files in a new document root, but permissions look fine. What do you check?

The SELinux context. ls -Zd /srv/web will likely show default_t or var_t. Add a rule with semanage fcontext -a -t httpd_sys_content_t '/srv/web(/.*)?' and apply it with restorecon -Rv /srv/web. Confirm with ausearch -m AVC -ts recent that denials stopped.

15. Files moved with mv from a home directory are blocked by SELinux, but copied files work. Why?

mv keeps the original context (for example user_home_t), while cp creates a new file that gets the destination's default context. Run restorecon on the moved files.

16. httpd will not start after you change it to listen on port 8888. Why?

SELinux only allows httpd to bind to ports labelled http_port_t. Check with semanage port -l | grep http, add the port with semanage port -a -t http_port_t -p tcp 8888, then open it in the firewall.

17. A PHP app cannot connect to a remote database although the network is open. What do you check?

The SELinux booleans. getsebool -a | grep httpd shows httpd_can_network_connect_db is off. Turn it on persistently with setsebool -P httpd_can_network_connect_db on. Without -P the change is lost at reboot.

18. df shows a filesystem at 100% but du finds far less data. Why?

A process still holds a deleted file open, so the space is not freed. Find it with lsof +L1 or lsof | grep deleted, then restart that process (often a service writing logs). Prevent it with proper log rotation.

19. You extended a logical volume but df still shows the old size. What did you miss?

The filesystem was not grown. Run xfs_growfs /mountpoint for XFS or resize2fs /dev/vg/lv for ext4, or use lvextend -r next time so LVM grows the filesystem in the same step.

20. A volume group has no free extents and an app needs more space. What do you do?

Add a disk or partition, create a physical volume with pvcreate, extend the group with vgextend, then lvextend -r. Check with vgs and lvs. This adds space without taking data offline.

21. An NFS mount in fstab makes boot slow or hangs when the server is down. How do you fix it?

Add _netdev and nofail to the options, or switch to autofs so the share mounts on access. Autofs avoids boot-time dependency on the NFS server.

22. Autofs home directories do not appear for users. What do you check?

Check that autofs is running and enabled, the master map in /etc/auto.master.d/ points to the right map file, and the map syntax is correct. Remember autofs mounts on access: ls /home/user triggers the mount, while ls /home may show nothing.

23. SSH key login fails and falls back to a password. What do you check?

Permissions: ~/.ssh must be 700 and authorized_keys 600, owned by the user. Check the SELinux context with restorecon -Rv ~/.ssh if the directory was copied in. Read journalctl -u sshd for the exact reason.

24. After a change to sshd_config, nobody can connect. How do you recover and prevent it?

Use the console, run sshd -t to find the syntax error, fix it and restart sshd. Prevent it by testing with sshd -t before every restart and keeping an existing session open while you test a new one.

25. The network interface has no IP address after a reboot. What do you check?

Run nmcli connection show to see if the connection profile exists and whether autoconnect is on. Set it with nmcli connection modify name connection.autoconnect yes and bring it up with nmcli connection up name.

26. Hostnames do not resolve but IP addresses work. Where do you look?

Check DNS servers in the NetworkManager profile (nmcli connection show name | grep dns), /etc/resolv.conf and /etc/hosts. Test with dig or getent hosts name. Set DNS through nmcli so it is not overwritten.

27. A systemd timer does not trigger its job. How do you check it?

Run systemctl list-timers to see the next and last run, confirm the timer is enabled and started, and read journalctl -u name.service. The timer and service unit names must match unless Unit= is set.

28. A process is using all CPU and the system is slow. What do you do?

Find it with top or ps aux --sort=-%cpu. Lower its priority with renice if it must keep running, or stop it with kill (try SIGTERM before SIGKILL). Then find out why it started, for example a stuck cron job.

Scenarios for senior roles

29. A server will not boot after a kernel update. How do you approach it?

Select the previous kernel in the GRUB menu, boot, and read the logs from the failed boot with journalctl -b -1. Set the working kernel as default with grubby --set-default until the issue is fixed. The real-time RHCSA page walks through the full task version.

30. The system boots to a graphical target on a server that should be text only. How do you fix it?

Run systemctl get-default, then systemctl set-default multi-user.target. To switch immediately without reboot, use systemctl isolate multi-user.target.

31. SELinux was disabled by a previous admin. How do you safely turn it back on?

Set SELINUX=permissive first, create /.autorelabel and reboot so files are relabelled. Check ausearch -m AVC for denials and fix them, then switch to enforcing. Going straight to enforcing on an unlabelled system can stop the boot.

32. Logs vanish after each reboot, so you cannot investigate earlier failures. What do you change?

Make the journal persistent: set Storage=persistent in /etc/systemd/journald.conf (or create /var/log/journal) and restart systemd-journald. Then journalctl -b -1 shows the previous boot.

33. A system feels slow and nobody knows why. Which tuning tool does RHCSA expect you to know?

tuned. Check the active profile with tuned-adm active, see the recommendation with tuned-adm recommend and apply it with tuned-adm profile name. It is not a fix for a bad process, so look at top first.

34. A Flatpak application will not install. What do you check?

The EX200 objectives now include Flatpak repositories. Check configured remotes with flatpak remotes, add the correct one with flatpak remote-add, and confirm the application ID with flatpak search.

35. You must fix an issue but are not sure what else your change will affect. How do you work?

Back up the file (cp file file.bak), make one change at a time, test it, and keep notes. On a production server, check with the owner before restarting services. Interviewers value this order as much as the fix.

36. The same problem keeps returning on different servers. What do you propose?

Fix the cause in the build or configuration process, not on each server. That usually means a corrected template, a kickstart change or an Ansible role. Our scenario-based RHCE questions show how those fixes become playbooks.

Multi-step break-fix scenarios

37. A website on a new server is unreachable. Walk through the whole diagnosis.

Is httpd running (systemctl status)? Does it answer locally (curl localhost)? Is it listening on the right port (ss -tlnp)? Is the port allowed by SELinux (semanage port -l)? Are files labelled correctly (ls -Z)? Does the firewall allow it (firewall-cmd --list-all)? Each step rules out one layer.

38. An app writes to /data but files disappear after reboot. What happened?

/data was not mounted at boot, so the app wrote to the directory on the root filesystem. After the mount came back, it hid those files. Check fstab, mount it, and move any files written underneath while the filesystem is unmounted.

39. A new user can log in at the console but not over SSH. What do you check?

AllowUsers or AllowGroups in sshd_config, whether the user's shell is valid, and journalctl -u sshd for the reason. Check that root login settings do not confuse the case if the user is trying to become root over SSH.

40. You are given a server with an unknown fault and 15 minutes. What is your plan?

Check failed units (systemctl --failed), recent errors (journalctl -p err -b), disk space (df -h), memory (free -h), SELinux denials and the network. Fix the most serious item first and write down what you changed.

Which RHCSA page to use

PageFocus
120 RHCSA interview questionsMain concept bank
Real-time RHCSA questionsTicket-style build tasks
This pageBreak-fix diagnosis
RHCSA questions for freshersBasics and definitions
How to prepare for RHCSA on RHEL 10Study plan

For guided lab practice with broken systems, see our RHCSA training in Pune, available in the Kharadi classroom and live online.

FAQ

What are scenario-based RHCSA interview questions?

They describe a broken RHEL system and ask how you would find and fix the cause, for example a 403 from httpd, a server in emergency mode or a firewall rule lost after reboot.

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.

Why does my web server return 403 when permissions look correct?

Usually because of the SELinux context. Label the directory with semanage fcontext and restorecon, then check ausearch for remaining denials.

What should I do when a server boots into emergency mode?

Log in with the root password, read journalctl -xb to find the failed unit, which is often a bad /etc/fstab entry, fix it, test with mount -a and reboot.

Is setting SELinux to permissive an acceptable fix?

No. It hides the problem. Fix the context, port label or boolean and keep SELinux enforcing.

How is this page different from the real-time RHCSA questions?

The real-time page gives build tasks such as creating users or adding swap. This page gives broken systems and asks you to diagnose them.

References

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Angry Angry 0
Sad Sad 0
Wow Wow 0
Mridul I am a passionate technology enthusiast with a strong focus on DevOps, Cloud Computing, and Cybersecurity. Through my blogs at DevOps Training Institute, I aim to simplify complex concepts and share practical insights for learners and professionals. My goal is to empower readers with knowledge, hands-on tips, and industry best practices to stay ahead in the ever-evolving world of DevOps.