nerdexam
Docker

DCA · Question #25

What is used by the kernel to Isolate resources when running Docker containers?

The correct answer is D. Control groups (also know as cgroups). Control Groups (cgroups) are a Linux kernel feature used by Docker to isolate and manage resource usage like CPU and memory for containers.

Submitted by jaden.t· Apr 18, 2026Security

Question

What is used by the kernel to Isolate resources when running Docker containers?

Options

  • ANamespaces
  • BOverlay networks
  • CVolumes
  • DControl groups (also know as cgroups)

How the community answered

(33 responses)
  • A
    6% (2)
  • B
    3% (1)
  • C
    3% (1)
  • D
    88% (29)

Why each option

Control Groups (cgroups) are a Linux kernel feature used by Docker to isolate and manage resource usage like CPU and memory for containers.

ANamespaces

Namespaces provide isolation for process IDs, network interfaces, mount points, and users, but cgroups are specifically responsible for resource limiting and accounting.

BOverlay networks

Overlay networks provide network connectivity and isolation between containers, potentially across multiple hosts, but they do not manage host-level compute resources like CPU or memory.

CVolumes

Volumes provide persistent storage for containers, allowing data to persist independently of the container's lifecycle, but they are not used for isolating compute resources.

DControl groups (also know as cgroups)Correct

Control Groups (cgroups) are a fundamental Linux kernel feature that allows Docker to limit, account for, and isolate resource usage (such as CPU, memory, and I/O) for containers, preventing one container from monopolizing host resources.

Concept tested: Linux kernel resource isolation (cgroups)

Source: https://docs.docker.com/engine/understanding-docker/runtimes/

Topics

#cgroups#resource isolation#kernel#container runtime

Community Discussion

No community discussion yet for this question.

Full DCA Practice