Linux Foundation Certified System Administrator (LFCS) — Question 49
Which of the following statements is correct when talking about /proc/?
Answer options
- A. All changes to files in /proc/ are stored in /etc/proc.d/ and restored on reboot.
- B. All files within /proc/ are read-only and their contents cannot be changed.
- C. All changes to files in /proc/ are immediately recognized by the kernel.
- D. All files within /proc/ are only readable by the root user.
Correct answer: C
Explanation
The correct answer is C because changes made to files in /proc/ are indeed recognized by the kernel immediately, reflecting real-time system information. Option A is incorrect since changes in /proc/ are not stored in /etc/proc.d/ or restored after a reboot. Option B is wrong because some files in /proc/ are writable, allowing changes to system parameters. Option D is incorrect as many files in /proc/ can be accessed by non-root users.