Docker Quiz - Part 2
1. Manager node can also act as a worker node
Answer: true
2. Swarm task is
Answer: Unidirectional
3. Worker Node is responsible for container Orchestration
Answer: False
4. Docker swarm command to inspect the new swarm service created
Answer: docker service inspect <service-name>
5. Docker swarm command to remove a service
Answer: docker service rm <service-name>
6. Which is not a correct type of service deployments for Docker Swarm
Answer: Series
7. bridge network that connects hosts ports to container ports in overlay network.
Answer: docker bridge network
8. Swarm task status when the task is initialized
Answer: New
9. $docker service create --name Test --secret secret1 redis. Which of the following is incorrect w.r.t the output for this command
Answer: create a service with secret for redis image
10. in the worker node executes the task on behalf of the worker node
Answer: Executor
11. Docker command to list the secrets
Answer: docker secret ls
12. Global service runs one task per worker node
Answer: True
13. Docker swarm command to autolock swarm when initialized
Answer: docker swarm init –autolock
14. No. of tokens generated when the master node is initialized in swarm mode
Answer: 2
15. What happens to the current task when the availability of Active node is modified as Drain Node
Answer: Task abruptly terminates
16. Maximum number of tasks that can be executed in a Drain node
Answer: 0
17. Assume a Swarm cluster has 7 Swarm managers. System can tolerate _____ no. of failures
Answer: 3
18. Which is not a valid way to create a docker service
Answer: UCB Web UI