Question 580
A Linux infrastructure team needs the safest targeted response to this condition: A process-inspection script searches /proc for files that should survive reboots. Which change meets the requirement without weakening unrelated controls?
Explanation
Correct Answer
proc entries are virtual views and disappear or change as kernel state changes. The proposed change is specific to this fault. Confirm the result: State remains available after reboot while proc continues exposing live process data.
Incorrect Answers
That remedy is appropriate when an automation job writes service logs into the directory intended for changing application state. It targets the filesystem hierarchy separates configuration, variable service data and logs by conventional paths; here proc entries are virtual views and disappear or change as kernel state changes, so it does not directly repair the observed fault.
This change addresses a system begins booting but pauses before the root filesystem is available. The present problem is different: proc entries are virtual views and disappear or change as kernel state changes. Applying the alternative would leave the key cause unresolved.
That remedy is appropriate when an administrator deploys an x86_64 binary onto an AArch64 host and receives exec format error. It targets an executable compiled for an incompatible instruction set cannot run natively on the target CPU; here proc entries are virtual views and disappear or change as kernel state changes, so it does not directly repair the observed fault.





CompTIA Linux+ (XK0-006) Practice Tests