Common Docker Swarm Interview Questions. Follow-up quiz part of the Introduction to Docker blog post series part 5.


Question 1

Correct Answers: 1/4

What command would you use to initialize a new Docker Swarm?


Question 2

Correct Answers: 1/4

Which command would you use to add a new node to an existing Docker Swarm as a worker?


Question 3

Correct Answers: 1/4

What is the purpose of a service in Docker Swarm?


Question 4

Correct Answers: 1/4

How do you view the current nodes in a Docker Swarm cluster?


Question 5

Correct Answers: 1/4

What is the purpose of the `docker service scale` command in Docker Swarm?


Question 6

Correct Answers: 1/4

Which role in Docker Swarm is responsible for scheduling tasks and managing the cluster state?


Question 7

Correct Answers: 1/4

What is a stack in Docker Swarm?


Question 8

Correct Answers: 1/4

How does Docker Swarm handle load balancing for services?


Question 9

Correct Answers: 1/4

How do you remove a node from a Docker Swarm cluster?


Question 10

Correct Answers: 1/4

Which command would you use to inspect the logs of a service in Docker Swarm?


Finish Quiz