Question 1
During a RHEL 10 maintenance window needs to set permissions for /srv/uploads1. The required owner/group/other modes are r--/r--/r--. Which command sets exactly those bits?
Explanation
Correct Answer
Octal 444 sets owner, owning group and others to r--/r--/r-- respectively. Each octal digit is the sum of read=4, write=2 and execute/search=1, so the resulting mode exactly matches the three required classes.
Incorrect Answers
Mode 544 represents r-x/r--/r--, whereas the requested mode is 444 (r--/r--/r--). Specifically, owner gets r-x instead of required r-- (incorrectly grants execute/search). Other classes must also remain as specified; this command changes the wrong rights.
Mode 454 represents r--/r-x/r--, whereas the requested mode is 444 (r--/r--/r--). Specifically, owning group gets r-x instead of required r-- (incorrectly grants execute/search). Other classes must also remain as specified; this command changes the wrong rights.
Mode 445 represents r--/r--/r-x, whereas the requested mode is 444 (r--/r--/r--). Specifically, other users get r-x instead of required r-- (incorrectly grants execute/search). Other classes must also remain as specified; this command changes the wrong rights.






Red Hat Certified System Administrator (RHCSA) (EX200) Practice Tests