RHCSA Interview Questions with an ACL Inheritance Case
RHCSA interview answers should explain the operation, the identity and the expected result. These original questions cover Linux tools, permissions, processes, services, storage, networking and security. A worked ACL case distinguishes a directory's defaults for new files from the access permissions on an older report.
Topic: Red Hat & RHEL in IT Infrastructure · Interview preparation
Also covers: Linux Administration
Quick answer: RHCSA interview answers should explain the operation, the identity and the expected result. These original questions cover Linux tools, permissions, processes, services, storage, networking and security. A worked ACL case distinguishes a directory's defaults for new files from the access permissions on an older report. The scenario uses supplied records, so it teaches the reasoning without claiming a RHEL execution test. Use the answer cues alongside the current EX200 objectives, then practise approved tasks in a disposable learning environment.
Key takeaways
- Separate access ACLs from creation-time defaults.
- Check identity, traversal and effective permission limits.
- Distinguish current service state from persistence.
- Explain storage changes before naming destructive tools.
- Use current EX200 objectives to choose practice tasks.
Table of Contents
- What should an RHCSA candidate explain before naming commands?
- Why does a new default ACL not repair an existing file?
- How should you answer ordinary file-permission questions?
- How do processes and service answers differ?
- Which storage and package questions deserve a careful answer?
- How should networking and SELinux questions be answered?
- How can you rehearse these questions without memorizing a script?
- References
What should an RHCSA candidate explain before naming commands?
1. What does RHCSA validate? Practical Linux administration. The current EX200 objectives identify RHEL 10 and include essential tools, software management, services, storage, networking and security. Use the booked product's objectives. 2. What is the kernel? The operating-system component that manages resources and exposes interfaces used by programs. A shell interprets commands in user space; it is not the kernel. 3. Root, sudo or su? Root is a privileged identity; sudo authorizes configured commands and su changes user context. Explain the actual identity and authorization rather than treating them as synonyms. 4. What are standard input, output and error? Process streams that can connect to files, terminals or pipes. Standard input is not necessarily a keyboard.
Why does a new default ACL not repair an existing file?
5. What is the difference between an access ACL and a default ACL? The ACL manual distinguishes permissions on an object from a directory's template for newly created children. Consider this fictional shared directory. The owner adds a default ACL intended to allow the review group to read future files. An older report still denies group reading. That observation is consistent with inheritance applying at creation rather than retroactively rewriting every existing object. 6. Can the default ACL grant every requested permission? Creation mode and the resulting ACL mask can limit effective permissions. Examine the actual child's access ACL, not only the parent's default. 7. What else must be checked? Directory traversal, process groups, the intended operation and other policy layers. The pathname-resolution manual explains search permission on directory components.
| Supplied object | Relevant record | What it establishes |
|---|---|---|
| Shared directory | Default ACL added today | A template for future creation |
| Older report | Its access ACL lacks the intended grant | The older file has not gained that permission |
| New report | Access ACL and mask supplied separately | Evaluate effective rights on this object |
| Parent path | Search permission confirmed for the group | Removes one separate traversal hypothesis |
How should you answer ordinary file-permission questions?
8. What do chmod, chown and chgrp change? Mode permissions, ownership and group ownership respectively. They affect different properties and require appropriate authority. 9. How does umask work? It removes permission bits from the requested creation mode when ordinary mask rules apply. The umask manual also explains the default-ACL case; simple decimal subtraction is not a general permission algorithm. 10. Hard or symbolic link? A hard link refers to the same filesystem object; a symbolic link contains a target pathname and can become dangling. 11. What changes when deleting a name? Parent-directory permissions and filesystem rules matter. Write permission on the file alone is not the complete deletion test. 12. How do you verify the ACL repair? State the intended read or write operation, review effective permissions and test as the intended identity in an approved lab. Keep existing-file repair and future-file inheritance as separate checks.
How do processes and service answers differ?
13. Process versus thread? A process provides an execution context and resources; threads execute within a process and share many resources. Use the relevant identifiers when diagnosing behaviour. 14. Which signal should stop a process? Prefer the application's documented graceful shutdown. SIGKILL cannot be caught for cleanup and is not the default response to every fault. 15. Start, enable or check a unit? The systemctl manual separates current activation from enablement and status inspection. A running process still needs an application check. 16. What does a journal show? Recorded events selected by unit, boot and time. Preserve relevant context and avoid treating an absent message as proof no event happened. 17. What do uptime, top and free answer? Duration/load information, changing process activity and memory accounting. Interpret the units and workload before declaring a bottleneck.
Which storage and package questions deserve a careful answer?
18. df or du? Filesystem space accounting differs from usage summarized through directory entries. First confirm the same filesystem and units. 19. What does mounting do? It attaches a filesystem into the directory hierarchy. A temporary mount and a persistent boot configuration are separate requirements. 20. What is LVM? A block-storage management layer with physical volumes, volume groups and logical volumes. The filesystem above it has separate growth and repair rules. 21. Why are mkfs and dd interview answers risky to copy blindly? They can overwrite data. Explain target identification, approval, backups and expected effects rather than running a remembered recipe. 22. RPM packages or Flatpak? They have different repositories, installation models and management interfaces. Current EX200 objectives include both; review scope and the actual package source. 23. What do archives preserve? Contents and selected metadata according to format and options. Check a restored sample rather than assuming an archive's existence proves a usable backup.
How should networking and SELinux questions be answered?
24. Does a successful ping prove a web service works? It establishes a limited reachability observation, not DNS, TLS or application success. 25. What should you inspect for a network fault? Addressing, link state, routes, name resolution, listening service and relevant firewall rules, in the order suggested by the symptom. 26. Is permissive mode disabled SELinux? No. The SELinux manual describes distinct states. Use denial records and intended labels or policy to investigate a failure. 27. What protects an SSH connection? Appropriate credentials and host-identity verification are both important. Encryption does not establish that the remote host is the intended one.
| Interview prompt | Substantive answer cue |
|---|---|
| A command works only as root | Identify the required non-root identity and denied operation |
| A service works until reboot | Compare current state with persistent configuration |
| A file is readable but cannot be replaced | Check parent-directory operation and policy |
| New files behave differently from old ones | Compare creation-time defaults with each access ACL |
How can you rehearse these questions without memorizing a script?
28. What do grep, find and sed do? They select text, locate filesystem entries and transform streams respectively. State the input, matching rule and quoting assumptions. 29. How should a user-management answer handle groups? Distinguish primary and supplementary membership, account metadata and the groups already held by a running process. A changed account database does not rewrite every existing process. 30. What should your final ACL answer sound like? Say that the directory default affects later creation, the old report needs its own reviewed access decision, and the intended group's actual operation must be verified. If the interviewer changes the requirement from reading an existing report to creating a replacement, revisit the parent-directory permissions. This shows that you understand the operation, rather than offering the same chmod command for every symptom.
Related reading: RHCE automation interview questions; Linux administration interview questions.
References
Frequently Asked Questions
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Wow
0
Sad
0
Angry
0