Bird
0
0

You run docker swarm join --token wrongtoken 192.168.1.10:2377 on a new node. What is the likely result?

medium📝 Troubleshoot Q6 of 15
Docker - Swarm
You run docker swarm join --token wrongtoken 192.168.1.10:2377 on a new node. What is the likely result?
ANode joins successfully as a worker
BNode becomes a manager automatically
CError: invalid join token
DCommand runs but node stays inactive
Step-by-Step Solution
Solution:
  1. Step 1: Understand join token validation

    Docker swarm requires a valid token to join nodes; an invalid token causes an error.
  2. Step 2: Analyze command with wrong token

    Using 'wrongtoken' will cause the join command to fail with an invalid token error.
  3. Final Answer:

    Error: invalid join token -> Option C
  4. Quick Check:

    Invalid token = join error [OK]
Quick Trick: Join tokens must be exact or join fails [OK]
Common Mistakes:
  • Assuming any token works
  • Expecting node to join silently with wrong token

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Docker Quizzes