Bird
0
0

How can you verify that an overlay network is encrypted in a Docker Swarm cluster?

hard📝 Application Q9 of 15
Docker - Swarm
How can you verify that an overlay network is encrypted in a Docker Swarm cluster?
ACheck the container logs for encryption messages.
BOverlay networks are always encrypted by default; no verification needed.
CUse <code>docker service ls</code> to see encryption status.
DRun <code>docker network inspect <network_name></code> and check the 'Options' field for 'encrypted=true'.
Step-by-Step Solution
Solution:
  1. Step 1: Identify how to inspect network properties

    Use 'docker network inspect' to see detailed network configuration.
  2. Step 2: Look for encryption option in output

    The 'Options' section shows if 'encrypted=true' is set.
  3. Final Answer:

    Run 'docker network inspect <network_name>' and check the 'Options' field for 'encrypted=true'. -> Option D
  4. Quick Check:

    Inspect network options to verify encryption [OK]
Quick Trick: Use 'docker network inspect' to check encryption option [OK]
Common Mistakes:
  • Checking container logs instead of network inspect
  • Using 'docker service ls' which doesn't show encryption
  • Assuming encryption is always enabled

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Docker Quizzes