LPI
305-300 · Question #4
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?
Sign in or unlock 305-300 to reveal the answer and full explanation for question #4. The question stem and answer options stay visible for context.
303.4 Operations Security
Question
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?
Options
- Adocker stack builds the images locally and copies them to only those Swarm nodes which run the
- Bdocker stack passes the images to the Swarm master which distributes the images to all other
- Cdocker stack instructs the Swarm nodes to pull the images from a registry, although it does not
- Ddocker stack transfers the image from its local Docker cache to each Swarm node.
- Edocker stack triggers the build process for the images on all nodes of the Swarm.
Unlock 305-300 to see the answer
You've previewed enough free 305-300 questions. Unlock 305-300 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Docker Swarm#docker stack#image registry#container distribution