Docker DCA Practice Test - Questions Answers, Page 15
List of questions
Related questions
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.
Yes
No
Will this Linux kernel facility limit a Docker container's access to host resources, such as CPU or memory?
Solution. capabilities
Yes
No
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'
Yes
No
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.
Yes
No
Is this an advantage of multi-stage builds?
Solution: simultaneously creates and tags multiple images
Yes
No
Is this an advantage of multi-stage builds?
Solution: faster image builds by allowing parallel execution of Docker builds
Yes
No
Is this a supported user authentication method for Universal Control Plane?
Solution. LDAP
Yes
No
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
Yes
No
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
Yes
No
Is this a type of Linux kernel namespace that provides container isolation?
Solution. Host
Yes
No
Question