XK0-004 · Question #342
Which of the following directories contains information related to various runtime processes, such as hardware and system memory?
The correct answer is A. /Usr/bin. NOTE - This question contains an answer key error: the marked correct answer A (/usr/bin) is factually incorrect. The directory containing runtime process and system memory information is /proc, which is option C.
Question
Which of the following directories contains information related to various runtime processes, such as hardware and system memory?
Options
- A/Usr/bin
- B/Opt
- C/Proc
- D/etc/local/
How the community answered
(38 responses)- A92% (35)
- B5% (2)
- D3% (1)
Why each option
NOTE - This question contains an answer key error: the marked correct answer A (/usr/bin) is factually incorrect. The directory containing runtime process and system memory information is /proc, which is option C.
QUESTION ERROR: /usr/bin is a directory for user-space binary executables such as ls, grep, and python - it contains no runtime process or memory data. The technically correct answer is C (/proc), a virtual filesystem exposing kernel and process runtime data including /proc/meminfo and /proc/cpuinfo.
/opt is reserved for optional third-party application software and contains no runtime process or hardware information.
This is actually the CORRECT answer - /proc is a kernel-provided virtual filesystem that dynamically exposes runtime data for all processes, CPU details, hardware information, and system memory statistics.
/etc/local/ is not a standard Linux directory; /etc holds static system configuration files and does not expose runtime process or memory information.
Concept tested: Linux /proc virtual filesystem for runtime system information
Source: https://man7.org/linux/man-pages/man5/proc.5.html
Topics
Community Discussion
No community discussion yet for this question.