Question 650
An operator is asked to correct this issue: A service account needs a directory mounted read-only but the current mount is writable. What is the most appropriate targeted action?
Explanation
Correct Answer
File permission bits alone differ from a filesystem-level read-only mount. The proposed change is specific to this fault. Confirm the result: Attempts to modify files through the mount fail as expected.
Incorrect Answers
That remedy is appropriate when a Linux guest uses a network share but the fstab mount silently fails because the server is unavailable at boot. It targets remote mounts may depend on network readiness and automount coordination; here file permission bits alone differ from a filesystem-level read-only mount, so it does not directly repair the observed fault.
This change addresses a maintenance script runs fsck against a writable mounted ext4 root filesystem. The present problem is different: file permission bits alone differ from a filesystem-level read-only mount. Applying the alternative would leave the key cause unresolved.
That remedy is appropriate when a service needs a temporary memory-backed workspace and writes repeatedly to slow disk. It targets tmpfs stores files in virtual memory and swap rather than permanent disk blocks; here file permission bits alone differ from a filesystem-level read-only mount, so it does not directly repair the observed fault.





CompTIA Linux+ (XK0-006) Practice Tests