DCA Exam Question 26
Will this command mount the host's '/data* directory to the ubuntu container in read-only mode?
Solution. 'docker run -add-volume /data /mydata -read-only ubuntu'
Solution. 'docker run -add-volume /data /mydata -read-only ubuntu'
DCA Exam Question 27
Will this configuration achieve fault tolerance for managers in a swarm?
Solution: one manager node for two worker nodes
Solution: one manager node for two worker nodes
DCA Exam Question 28
During development of an application meant to be orchestrated by Kubernetes, you want to mount the /data directory on your laptop into a container.
Will this strategy successfully accomplish this?
Solution. Set containers. Mounts. hostBinding: /data in the container's specification.
Will this strategy successfully accomplish this?
Solution. Set containers. Mounts. hostBinding: /data in the container's specification.
DCA Exam Question 29
Will this command display a list of volumes for a specific container?
Solution. 'docker container logs nginx -volumes'
Solution. 'docker container logs nginx -volumes'
DCA Exam Question 30
In Docker Trusted Registry, is this how a user can prevent an image, such as 'nginx:latest', from being overwritten by another user with push access to the repository?
Solution: Use the DTR web Ul to make all tags in the repository immutable.
Solution: Use the DTR web Ul to make all tags in the repository immutable.
