What service mode is used to deploy a single task of a service to each node?
A. replicated
B. spread
C. universal
D. distributed
E. global
The following Docker Compose file is deployed as a stack: Is this statement correct about this health check definition?
Solution: Health checks test for app health ten seconds apart. Three failed health checks transition the container into "unhealthy" status.
A. Yes
B. No
Will this action upgrade Docker Engine CE to Docker Engine EE? Solution: Manually download the 'docker-ee' package
A. Yes
B. No
After creating a new service named 'http', you notice that the new service is not registering as healthy. How do
you view the list of historical tasks for that service by using the command line?
A. 'docker inspect http'
B. 'docker service inspect http'
C. 'docker service ps http'
D. 'docker ps http'
Your organization has a centralized logging solution, such as Splunk.
Will this configure a Docker container to export container logs to the logging solution?
Solution: Set the log-driver and log-oPt keys to values for the logging solution (Splunk) In the daemon.json
file.
A. Yes
B. No
Which networking drivers allow you to enable multi-host network connectivity between containers?
A. macvlan, ipvlan, and overlay
B. bridge, user-defined, host
C. bridge, macvlan, ipvlan, overlay
D. host, macvlan, overlay, user-defined
Some Docker images take time to build through a Continuous Integration environment. You want to speed up builds and take advantage of build caching.
Where should the most frequently changed part of a Docker image be placed in a Dockerfile?
A. at the bottom of the Dockerfile
B. after the FROM directive
C. at the top of the Dockerfile
D. in the ENTRYPOINT directive
Two pods bear the same label, app: dev.
Will a label selector matching app: dev match both of these pods?
A. Yes, as long as all the containers in those pods are passing their livenessProbes and readinessProbes.
B. Yes, if both pods were pre-existing when the label selector was declared.
C. Yes, if the pods are in the same Kubernetes namespace as the object bearing the label selector
D. Yes, if the pods are in the same Kubernetes namespace as the object bearing the label selector and both pods were preexisting when the label selector was declared.
What is the docker command to setup a swarm?
A. docker swarm init
B. docker swarm create
C. docker init swarm
D. docker create swarm
A user is having problems running Docker. Which of the following will start Docker in debug mode?
A. Set the debug key to true in the 'daemon.json' file.
B. Start the 'dockerd' process manually with the '--logging' flag set to debug
C. Set the logging key to debug in the 'daemon.json' file.
D. Start the 'dockerd' process manually with the '--raw-logs' flag set to debug