nerdexam
Docker

DCA · Question #109

Does this describe the role of Control Groups (cgroups) when used with a Docker container? Solution: accounting and limiting of resources

The correct answer is B. No. Control Groups (cgroups) are a Linux kernel feature primarily for resource management and isolation, and while they enable accounting and limiting, their full role encompasses more.

Submitted by jordan8· Apr 18, 2026Installation and Configuration

Question

Does this describe the role of Control Groups (cgroups) when used with a Docker container? Solution: accounting and limiting of resources

Options

  • AYes
  • BNo

How the community answered

(27 responses)
  • A
    11% (3)
  • B
    89% (24)

Why each option

Control Groups (cgroups) are a Linux kernel feature primarily for resource management and isolation, and while they enable accounting and limiting, their full role encompasses more.

AYes

Cgroups are indeed the underlying mechanism for resource accounting and limiting in Linux, which Docker utilizes to manage container resources.

BNoCorrect

No. While cgroups are instrumental in enabling the accounting and limiting of resources for processes, their role is more comprehensive, also involving resource isolation and prioritization to ensure fair resource sharing and prevent resource starvation. Therefore, 'accounting and limiting of resources' describes *part* of their functionality but not the entirety of their role.

Concept tested: Docker cgroups role and functionality

Source: https://docs.docker.com/config/containers/resource_constraints/

Topics

#cgroups#Resource Management#Container Isolation

Community Discussion

No community discussion yet for this question.

Full DCA Practice