ExamGecko
Question list
Search
Search

Question 37 - 305-300 discussion

Report
Export

If docker stack is to be used to run a Docker Compose file on a Docker Swarm, how are the images referenced in the Docker Compose configuration made available on the Swarm nodes?

A.
docker stack builds the images locally and copies them to only those Swarm nodes which run the service.
Answers
A.
docker stack builds the images locally and copies them to only those Swarm nodes which run the service.
B.
docker stack passes the images to the Swarm master which distributes the images to all other Swarm nodes.
Answers
B.
docker stack passes the images to the Swarm master which distributes the images to all other Swarm nodes.
C.
docker stack instructs the Swarm nodes to pull the images from a registry, although it does not upload the images to the registry.
Answers
C.
docker stack instructs the Swarm nodes to pull the images from a registry, although it does not upload the images to the registry.
D.
docker stack transfers the image from its local Docker cache to each Swarm node.
Answers
D.
docker stack transfers the image from its local Docker cache to each Swarm node.
E.
docker stack triggers the build process for the images on all nodes of the Swarm.
Answers
E.
docker stack triggers the build process for the images on all nodes of the Swarm.
Suggested answer: C
asked 18/09/2024
Linda Jannina Sourander
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first