What statement is true regarding the Swarm service created by the following command?

Posted by: Pdfprep Category: 701-100 Tags: , ,

What statement is true regarding the Swarm service created by the following command?

docker service create –name myweb –network webnet –mode global nginx
A . It runs exactly one time in the Swarm and cannot be scaled.
B . It runs exactly once on each node in a Swarm.
C . It runs on one node by default and can be scaled to an arbitrary number of replicas.
D . It runs on all nodes which provide the network webnet.
E . It runs only on those nodes which support the network type global.

Answer: C

Leave a Reply

Your email address will not be published.