Bird
0
0

Why does Docker Swarm use a Raft consensus algorithm for manager nodes?

hard📝 Conceptual Q10 of 15
Docker - Swarm
Why does Docker Swarm use a Raft consensus algorithm for manager nodes?
ATo encrypt service communication automatically
BTo ensure consistent state and fault tolerance among managers
CTo balance network traffic between worker nodes
DTo speed up container startup times
Step-by-Step Solution
Solution:
  1. Step 1: Understand Raft's purpose

    Raft is a consensus algorithm that keeps manager nodes in sync and handles failures.
  2. Step 2: Analyze other options

    Raft does not affect container startup speed, network traffic balancing, or encryption.
  3. Final Answer:

    To ensure consistent state and fault tolerance among managers -> Option B
  4. Quick Check:

    Raft = consensus for manager state consistency [OK]
Quick Trick: Raft keeps managers consistent and fault tolerant [OK]
Common Mistakes:
  • Thinking Raft speeds container startup
  • Confusing Raft with load balancing
  • Assuming Raft handles encryption

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Docker Quizzes