nerdexam
CompTIA

LX0-104 · Question #154

When investigating memory usage, what is the most important measurement for capacity planning purposes?

The correct answer is A. Resident set size (RSS). For capacity planning, Resident Set Size (RSS) is the most critical memory measurement as it represents the actual physical memory a process is using.

Administrative Tasks

Question

When investigating memory usage, what is the most important measurement for capacity planning purposes?

Options

  • AResident set size (RSS)
  • BTotal memory
  • CVirtual memory size (VSZ)
  • DSwap memory usage

How the community answered

(56 responses)
  • A
    95% (53)
  • C
    4% (2)
  • D
    2% (1)

Why each option

For capacity planning, Resident Set Size (RSS) is the most critical memory measurement as it represents the actual physical memory a process is using.

AResident set size (RSS)Correct

Resident Set Size (RSS) directly measures the amount of physical RAM (main memory) currently occupied by a process, excluding swapped-out pages and shared library code that hasn't been loaded. This metric is crucial for capacity planning because it accurately reflects the process's demand on physical memory resources, which directly impacts system performance and overall memory availability.

BTotal memory

Total memory refers to the total physical RAM installed on the system, which is a system-level metric, not a process-specific usage.

CVirtual memory size (VSZ)

Virtual Memory Size (VSZ) includes all memory that a process can access, including physical RAM, swapped-out memory, and memory mapped from files and libraries. It often overstates actual physical memory usage and is less indicative of physical RAM pressure.

DSwap memory usage

Swap memory usage indicates how much data has been moved from RAM to disk, which is a symptom of physical memory pressure rather than a direct measure of a process's current physical memory consumption for capacity planning.

Concept tested: Capacity planning memory metrics

Source: https://man7.org/linux/man-pages/man1/ps.1.html

Topics

#memory usage#capacity planning#RSS#VSZ

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice