DCA practice question 4 of 25
Does this describe the role of Control Groups (cgroups) when used with a Docker container? Solution: user authorization to the Docker API
Full set: 191 questionsControl Groups (cgroups) are a Linux kernel feature that Docker utilizes to enforce resource limits and provide accounting for containers. Their role is to constrain hardware resources such as CPU, memory, block I/O, and network bandwidth. User authorization to the Docker API is a security and access control function, which is managed by separate mechanisms like Docker's authorization plugins, client TLS certificates, or Unix socket permissions. Cgroups are unrelated to API authorization.
A. Yes: This is incorrect. Cgroups are for resource management and isolation at the kernel level, not for authenticating or authorizing user access to the Docker daemon API.
1. Docker Engine Documentation, "Runtime options with Memory, CPUs, and GPUs". This page details how Docker uses flags like --memory, --cpus, and --gpus, which directly map to cgroup configurations to limit container resources. (docs.docker.com/config/containers/resourceconstraints/)
2. Red Hat Enterprise Linux 8 Documentation, "Chapter 1. Introduction to control groups". Section 1.1 states, "Control Groups (cgroups) is a Linux kernel feature that allows you to allocate resources... and to limit, account, and isolate resource usage". This defines its core purpose as resource management. (access.redhat.com/documentation/en-us/redhatenterpriselinux/8/html/managingmonitoringandupdatingthekernel/introduction-to-control-groupsmanaging-monitoring-and-updating-the-kernel)
Keep practicing
Take the free DCA practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other DCA practice questions
- Question 1Does this command create a swarm service that only listens on port 53 using the UDP proto…
- Question 2Will this command ensure that overlay traffic between service tasks is encrypted? Solutio…
- Question 5Can this set of commands identify the published port(s) for a container? Solution: docker…
- Question 6Will this command mount the host's '/data' directory to the ubuntu container in read-only…
- Question 7A company's security policy specifies that development and production containers must run…
- Question 9Will this action upgrade Docker Engine CE to Docker Engine EE? Solution: Uninstall 'docke…
