Bird
0
0

In a Docker swarm, what is the primary responsibility of a worker node?

easy📝 Conceptual Q1 of 15
Docker - Swarm
In a Docker swarm, what is the primary responsibility of a worker node?
AExecute tasks assigned by manager nodes
BManage the swarm state and assign tasks
CInitialize the swarm cluster
DMonitor network traffic between nodes
Step-by-Step Solution
Solution:
  1. Step 1: Understand roles in Docker swarm

    Manager nodes control the swarm and assign tasks, while worker nodes execute these tasks.
  2. Step 2: Identify worker node responsibility

    Worker nodes do not manage or initialize the swarm; they only run the containers as instructed.
  3. Final Answer:

    Execute tasks assigned by manager nodes -> Option A
  4. Quick Check:

    Worker node role = Execute tasks [OK]
Quick Trick: Workers run tasks; managers control and assign tasks [OK]
Common Mistakes:
  • Confusing worker nodes with manager nodes
  • Thinking workers manage the swarm state

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Docker Quizzes