nerdexam
CompTIA

XK0-004 · Question #339

Which of the following directories will help an administrator identify the specifications of a Linux server in term of resources?

The correct answer is B. /Proc. The /proc virtual filesystem is the primary Linux location for real-time hardware and resource specification data such as CPU, memory, and storage details.

System Management

Question

Which of the following directories will help an administrator identify the specifications of a Linux server in term of resources?

Options

  • A/sys
  • B/Proc
  • C/Var
  • D/usr

How the community answered

(43 responses)
  • A
    2% (1)
  • B
    93% (40)
  • C
    5% (2)

Why each option

The /proc virtual filesystem is the primary Linux location for real-time hardware and resource specification data such as CPU, memory, and storage details.

A/sys

/sys exposes hardware topology and driver/device attributes via sysfs but is oriented toward device management rather than providing the consolidated CPU, memory, and resource summaries found in /proc.

B/ProcCorrect

/proc is a pseudo-filesystem that the Linux kernel populates at runtime with files exposing system resource information - /proc/cpuinfo lists CPU model, cores, and flags; /proc/meminfo reports total and available RAM; and /proc/partitions enumerates storage. Because these files reflect live kernel data, /proc is the definitive directory for identifying a Linux server's resource specifications.

C/Var

/var holds variable runtime data such as logs, mail spools, and package caches and contains no files describing the server's hardware resource specifications.

D/usr

/usr stores user-space application binaries, libraries, and documentation and does not expose any runtime hardware or resource specification information.

Concept tested: Linux /proc filesystem for server resource specifications

Source: https://man7.org/linux/man-pages/man5/proc.5.html

Topics

#/proc filesystem#system resources#hardware specifications#virtual filesystem

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice