Bird
0
0

Why does Docker Swarm use VXLAN encapsulation in overlay networks?

hard📝 Conceptual Q10 of 15
Docker - Swarm
Why does Docker Swarm use VXLAN encapsulation in overlay networks?
ATo encapsulate Layer 2 Ethernet frames inside Layer 3 UDP packets for cross-host communication.
BTo encrypt all network traffic by default.
CTo assign static IP addresses to containers.
DTo limit network traffic to a single host.
Step-by-Step Solution
Solution:
  1. Step 1: Understand VXLAN purpose in overlay networks

    VXLAN encapsulates Layer 2 frames inside UDP packets to allow Layer 2 networks over Layer 3 infrastructure.
  2. Step 2: Analyze options

    To encapsulate Layer 2 Ethernet frames inside Layer 3 UDP packets for cross-host communication. correctly describes VXLAN encapsulation. To encrypt all network traffic by default. is incorrect; VXLAN itself does not encrypt. To assign static IP addresses to containers. is unrelated. To limit network traffic to a single host. is false.
  3. Final Answer:

    To encapsulate Layer 2 Ethernet frames inside Layer 3 UDP packets for cross-host communication. -> Option A
  4. Quick Check:

    VXLAN = Layer 2 over Layer 3 encapsulation [OK]
Quick Trick: VXLAN encapsulates Layer 2 frames in UDP for cross-host networking [OK]
Common Mistakes:
  • Confusing VXLAN with encryption
  • Thinking VXLAN assigns IPs
  • Believing VXLAN limits traffic to one host

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Docker Quizzes