nerdexam
CompTIA

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.

System Management

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)
  • A
    92% (35)
  • B
    5% (2)
  • D
    3% (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.

A/Usr/binCorrect

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.

B/Opt

/opt is reserved for optional third-party application software and contains no runtime process or hardware information.

C/Proc

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.

D/etc/local/

/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

#Linux filesystem#/proc directory#runtime processes#system memory

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice