Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 6

S.

No
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

35
36
37
38
39
Questions
Which of the following is not a node type in Docker Swarm
Per Raft algorithm, system can tolerate ___ failures
Per Raft algorithm, system requires majority of ____ members to agree on values proposed to the cluster
Command to list the services running
Which of the following is a valid command to create a service
Command to list the nodes currently available as a part of Swarm
Docker swarm command to apply rolling update on a tomcat service image version
Technique used by Docker Swarm mode to enable multi- host networking
Docker assigns service a ______ for the clients to identify the service
Swarm mode has an inbuilt load balancer
Swarm task status when the task is initialized
Worker Node is responsible for container Orchestration
Manager node can also act as a worker node
Which is not a valid way to create a docker service
When a task stops, it isn’t executed again, but a new task may take its place.
Docker swarm command to list the task running on the manager node
Docker swarm command to autolock swarm when initialized
In Docker Swarm , all communication between nodes happens through Transport Layer Security
Swarm task is

Which is not a valid way to configure a pending service

Docker swarm command to inspect the new swarm service created


command to list the tasks running on a service
bridge network that connects hosts ports to container ports in overlay network.
In Docker Swarm, you can define the task and container relationship as
Which is not a correct type of service deployments for Docker Swarm
Assume a Swarm cluster has 7 Swarm managers. System can tolerate _____ no. of failures
Global service runs one task per worker node
Docker swarm command to activate a drain worker node
Docker swarm command to scale an existing service by 5 instances
What happens to the current task when the availability of Active node is modified as Drain Node?
_____ in the worker node executes the task on behalf of the worker node
No. of tokens generated when the master node is initialized in swarm mode
Docker swarm command to remove a service
Maximum number of tasks that can be executed in a Drain node
$docker service create --name Test --secret secret1 redis. Which of the following is incorrect w.r.t the output fo
command
Maximum number of master nodes in a swarm recommended by Docker
Command to get details on docker swarm commands
Docker command to initialize docker swarm
Docker swarm command to drain a worker node
Answers
Scheduler node
(N-1)/2
(N/2)+1
docker service ls
docker service create --name service1 -d -p 80:80 tomcat
docker node ls
docker service rolling update --image tomcat 9.0 <service-name>
Routing Mesh
None of the options
ingress
New
0
1
UCB Web UI
1
docker node ps self
docker swarm init –autolock
1
Unidirectional

1. All the options


2. Configure the memory allocation for the service that doesnot match
any node
3. Scale the service to 0
docker service inspect <service-name>
docker service ps <service-name>
docker gwbridge network
one to one
Series
3
1
docker node update <worker-node> --availability=active
docker service scale <service-name>=5
Task continues to run
Executor
two
docker service rm <service-name>
3&2
1. All the options
2. create a service with secret for redis image
7
docker swarm help
docker swarm init
docker node update <worker-node> --availability=drain

You might also like