Question 1140
Original unofficial RHEL 10 RHCSA skill-check scenario: A service cannot open a document even though Unix permissions allow it, and an operator checks only chmod. Which ongoing practice best prevents a recurrence?
Explanation
Correct Answer
In this RHEL 10 system administration case: A service cannot open a document even though Unix permissions allow it, and an operator checks only chmod. Underlying reason: SELinux mandatory access controls operate in addition to DAC permission bits. The most direct, approved resolution is: Inspect SELinux contexts using `ls -Z`, process labeling, and relevant AVC messages. Confirm it by checking: The file and process types explain the access decision without changing broad Unix permissions. Sustain the fix by: Include context checks in file access diagnostics. This is the INTENDED response for the best ongoing operational safeguard. It is a knowledge-check explanation, not a verified hands-on Red Hat exam answer;
Incorrect Answers
Check both controls during custom-port deployments. That is not sufficient for the reported RHEL task, because SELinux mandatory access controls operate in addition to DAC permission bits.
Prefer persistent mapping changes for required custom paths. That is not sufficient for the reported RHEL task, because SELinux mandatory access controls operate in addition to DAC permission bits.
Verify representative nested labels after data moves. That is not sufficient for the reported RHEL task, because SELinux mandatory access controls operate in addition to DAC permission bits.