Docker DCA Practice Test - Questions Answers, Page 15
List of questions
Question 141
The following Docker Compose file is deployed as a stack:
Is this statement correct about this health check definition?
Solution. Health checks lest for app health ten seconds apart. Three failed health checks transition the container into 'unhealthy' status.
Question 142
Will this Linux kernel facility limit a Docker container's access to host resources, such as CPU or memory?
Solution. capabilities
Question 143
Does this command create a swarm service that only listens on port 53 using the UDP protocol?
Solution. 'docker service create -name dns-cache -p 53:53 -udp dns-cache'
Question 144
Are these conditions sufficient for Kubernetes to dynamically provision a persistentVolume, assuming there are no limitations on the amount and type of available external storage?
Solution: A persistentVolumeClaim is created that specifies a pre-defined storageClass.
Question 145
Is this an advantage of multi-stage builds?
Solution: simultaneously creates and tags multiple images
Question 146
Is this an advantage of multi-stage builds?
Solution: faster image builds by allowing parallel execution of Docker builds
Question 147
Is this a supported user authentication method for Universal Control Plane?
Solution. LDAP
Question 148
You configure a local Docker engine to enforce content trust by setting the environment variable
DOCKER_CONTENT_TRUST=1.
If myorg/myimage: 1.0 is unsigned, does Docker block this command?
Solution: docker image inspect myorg/myimage: 1.0
Question 149
You configure a local Docker engine to enforce content trust by setting the environment variable
DOCKER_CONTENT_TRUST=1.
If myorg/myimage: 1.0 is unsigned, does Docker block this command?
Solution: docker container run myorg/myimage:1.0
Question 150
Is this a type of Linux kernel namespace that provides container isolation?
Solution. Host
Question