DCA Exam QuestionsBrowse all questions from this exam

DCA Exam - Question 20


In the context of a swarm mode cluster, does this describe a node? an instance of the Docker CLI connected to the swarm

Show Answer
Correct Answer:

Discussion

5 comments
Sign in to comment
__rajan__Option: B
Jan 8, 2025

This is because in the context of a Docker swarm mode cluster, a node is NOT simply an instance of the Docker CLI connected to the swarm. Instead, a node is an actual Docker Engine instance participating in the swarm.

walid1009
Jan 5, 2024

yes ! It could be physical or virtual and is called "node" in Docker Swarm. The node can join the swarm (manager) as a worker using the token generated from this command : $ docker swarm join-token worker

ubdubdoo
Jun 11, 2024

youre not correct. someone using an instance of the CLI does not automatically make that instance a node.

vladcp
Sep 25, 2024

Technically, you'd need to have the docker daemon running on a node, having the Docker CLI is not enough.

LavaPupOption: B
Dec 7, 2024

B is correct. The Docker CLI can be used on any machine to interact with the Docker Engine and manage Swarm clusters. However, the CLI is just a client that interacts with the Docker daemon. It does not, by itself, create or register the machine as a node in the Swarm cluster.