LFCA · Question #69
What is the underlying technology that allows containers to be restricted to defined limits for system resource usage such as CPU, memory, and network bandwidth?
The correct answer is D. cqroups. Cgroups (control groups) is the underlying Linux kernel technology that allows resource usage, such as CPU, memory, and network bandwidth, to be limited and isolated for processes and containers.
Question
What is the underlying technology that allows containers to be restricted to defined limits for system resource usage such as CPU, memory, and network bandwidth?
Options
- Aclimits
- BUnionFS
- CNamespaces
- Dcqroups
How the community answered
(40 responses)- A5% (2)
- B3% (1)
- C3% (1)
- D90% (36)
Why each option
Cgroups (control groups) is the underlying Linux kernel technology that allows resource usage, such as CPU, memory, and network bandwidth, to be limited and isolated for processes and containers.
'climits' is not a recognized Linux kernel feature or technology responsible for enforcing resource limits on containers.
UnionFS provides the layered filesystem capabilities for containers, allowing multiple directories to appear as one, but it does not control resource usage like CPU or memory.
Namespaces are a Linux kernel feature that provides process isolation for containers (e.g., PID, network, mount namespaces), but they do not directly limit resource usage such as CPU or memory.
Cgroups (control groups) is a fundamental Linux kernel feature that enables the allocation, prioritization, and limitation of system resources like CPU, memory, and network I/O for collections of processes, making it essential for container resource management.
Concept tested: Linux container resource management (cgroups)
Source: https://docs.kernel.org/admin-guide/cgroup-v1/cgroups.rst
Topics
Community Discussion
No community discussion yet for this question.