Bird
0
0

What is required to enable overlay networking in a Docker Swarm cluster?

easy📝 Conceptual Q2 of 15
Docker - Swarm
What is required to enable overlay networking in a Docker Swarm cluster?
AAll nodes must be part of the same Swarm and have network connectivity.
BEach node must have a unique IP address but can be outside the Swarm.
COverlay networks work without any special configuration in Swarm.
DNodes must share the same physical network switch.
Step-by-Step Solution
Solution:
  1. Step 1: Identify overlay network requirements in Swarm

    Overlay networks require nodes to be in the same Swarm and connected over the network.
  2. Step 2: Analyze options

    All nodes must be part of the same Swarm and have network connectivity. correctly states the requirement. Each node must have a unique IP address but can be outside the Swarm. is incorrect because nodes must be in the Swarm. Overlay networks work without any special configuration in Swarm. is false; configuration is needed. Nodes must share the same physical network switch. is not required.
  3. Final Answer:

    All nodes must be part of the same Swarm and have network connectivity. -> Option A
  4. Quick Check:

    Overlay network setup = nodes in same Swarm + connectivity [OK]
Quick Trick: Nodes must be in same Swarm with network access [OK]
Common Mistakes:
  • Assuming overlay works outside Swarm
  • Thinking physical switch sharing is mandatory
  • Ignoring network connectivity between nodes

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Docker Quizzes