Bird
0
0

Why is specifying the --advertise-addr option important when initializing a swarm on a multi-interface host?

hard📝 Conceptual Q10 of 15
Docker - Swarm
Why is specifying the --advertise-addr option important when initializing a swarm on a multi-interface host?
AIt speeds up swarm initialization
BIt disables all other network interfaces
CIt tells other nodes which IP to use to communicate with this manager
DIt automatically configures firewall rules
Step-by-Step Solution
Solution:
  1. Step 1: Understand advertise address role

    The advertise address is the IP other swarm nodes use to reach this manager.
  2. Step 2: Evaluate other options

    It does not disable interfaces, configure firewall, or affect speed.
  3. Final Answer:

    It tells other nodes which IP to use to communicate with this manager -> Option C
  4. Quick Check:

    Advertise address = communication IP [OK]
Quick Trick: Advertise address guides node communication [OK]
Common Mistakes:
  • Thinking it disables interfaces
  • Assuming it manages firewall
  • Believing it affects speed

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Docker Quizzes