nerdexam
Docker

DCA · Question #121

Will this Linux kernel facility limit a Docker container's access to host resources, such as CPU or memory? Solution: namespaces

The correct answer is B. No. Linux namespaces provide process isolation for containers but do not limit resource usage such as CPU or memory.

Submitted by brentm· Apr 18, 2026Security

Question

Will this Linux kernel facility limit a Docker container's access to host resources, such as CPU or memory? Solution: namespaces

Options

  • AYes
  • BNo

How the community answered

(17 responses)
  • A
    6% (1)
  • B
    94% (16)

Why each option

Linux namespaces provide process isolation for containers but do not limit resource usage such as CPU or memory.

AYes

Namespaces are designed for isolation, not for setting resource limits; that functionality is handled by cgroups.

BNoCorrect

Linux namespaces are primarily used for process isolation, providing containers with their own view of the system (e.g., PIDs, network), but they do not enforce resource consumption limits on CPU or memory.

Concept tested: Linux namespaces vs. resource limiting

Source: https://docs.docker.com/engine/docker-overview/#namespaces

Topics

#Namespaces#Container isolation#Linux kernel facilities#Resource access control

Community Discussion

No community discussion yet for this question.

Full DCA Practice