Free DCA Exam Braindumps
Docker Certified Associate Questions 51–55 (page: 12)

Updated On: 10-Feb-2026

Does this describe the role of Control Groups (cgroups) when used with a Docker container?

Solution: user authorization to the Docker API

  1. Yes
  2. No

Answer(s): B

Explanation:

= The role of Control Groups (cgroups) when used with a Docker container is not user authorization to the Docker API. Cgroups are a feature of the Linux kernel that allow you to limit the access processes and containers have to system resources such as CPU, RAM, IOPS and network. Cgroups enable Docker to share available hardware resources to containers and optionally enforce limits and constraints. User authorization to the Docker API is a different concept that involves granting permissions to users or groups to perform certain actions on the Docker daemon, such as creating, running, or stopping containers.


Reference:

Lab: Control Groups (cgroups) | dockerlabs

Runtime metrics | Docker Docs

Authorize users to access the Docker API | Docker Docs

I hope this helps you understand the role of cgroups and how they work with Docker containers. If you have any other questions related to Docker, please feel free to ask me.



Does this describe the role of Control Groups (cgroups) when used with a Docker container?

Solution: role-based access control to clustered resources

  1. Yes
  2. No

Answer(s): B

Explanation:

= The role of Control Groups (cgroups) when used with a Docker container is not role-based access control to clustered resources. Cgroups are a feature of the Linux kernel that allow you to limit, manage, and isolate resource usage of collections of processes running on a system. Resources are CPU time, system memory, network bandwidth, or combinations of these resources, and so on. Cgroups allow Docker Engine to share available hardware resources to containers and optionally enforce limits and constraints. Cgroups can help avoid "noisy neighbor" issues and improve the performance and security of containers. Role-based access control (RBAC) is a different concept that refers to controlling access to resources based on the roles of individual users within an organization.


Reference:

: Lab: Control Groups (cgroups) | dockerlabs : Container security fundamentals part 4:
Cgroups | Datadog Security Labs : Docker Namespace Vs Cgroup. Namespace and Cgroup | by MrDevSecOps - Medium : Role-based access control - Wikipedia : Control groups (cgroups) - Learn Docker - Fundamentals of Docker 18.x ...



Does this describe the role of Control Groups (cgroups) when used with a Docker container?

Solution: accounting and limiting of resources

  1. Yes
  2. No

Answer(s): A

Explanation:

= Control Groups (cgroups) are a feature of the Linux kernel that allow you to limit the access processes and containers have to system resources such as CPU, memory, disk I/O, network, and so on. Control groups allow Docker Engine to share available hardware resources to containers and optionally enforce limits and constraints. For example, you can use the docker run command to specify the CPU shares, memory limit, or network bandwidth for a container. By using cgroups, you can ensure that each container gets the resources it needs and prevent resource starvation or overcommitment.


Reference:

Lab: Control Groups (cgroups) | dockerlabs

Runtime metrics | Docker Docs

Docker run reference | Docker Docs

Docker resource management via Cgroups and systemd



Will this command ensure that overlay traffic between service tasks is encrypted?

Solution: docker network create -d overlay -o encrypted=true <network-name>

  1. Yes
  2. No

Answer(s): A

Explanation:

The command docker network create -d overlay -o encrypted=true <network-name> will ensure that overlay traffic between service tasks is encrypted. This command creates an overlay network with the encryption option enabled, which means that Docker will create IPSEC tunnels between all the nodes where tasks are scheduled for services attached to the overlay network. These tunnels use the AES algorithm in GCM mode and manager nodes automatically rotate the keys every 12 hours. This way, the data exchanged between containers on different nodes on the overlay network is secured.


Reference:

Overlay network driver



Will this command ensure that overlay traffic between service tasks is encrypted?

Solution: docker network create -d overlay --secure

  1. Yes
  2. No

Answer(s): B

Explanation:

= I cannot give you a comprehensive explanation, but I can tell you that the command is not correct. The docker network create command is used to create a new network, not to encrypt an existing one. The -d option specifies the driver to use for the network, which in this case is overlay. The overlay driver enables multi-host networking for swarm services. The --secure option is not a valid option for the docker network create command. To ensure that overlay traffic between service tasks is encrypted, you need to use the --opt encrypted option. For example, docker network create -d overlay --opt encrypted my-net will create an overlay network named my-net with encryption enabled. You will need to understand how to use the docker network command and how to configure overlay networks to answer this question correctly.


Reference:

Docker network create command documentation: 1

Overlay network encryption documentation: 2

I hope this helps you prepare for your DCA exam. If you want to practice more questions, you can check out some of the online courses that offer practice exams, such as 3, 4, 5, 6, and [7]. Good luck!



Viewing page 12 of 38
Viewing questions 56 - 60 out of 191 questions


Post your Comments and Discuss Docker DCA exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!