You have just executed 'docker swarm leave' on a node. What command can be run on the same node to
confirm it has left the cluster?
A.
docker node ls
B.
docker system info
C.
docker system status
D.
docker system status
docker system info
Which of these swarm manager configurations will cause the cluster to be in a lost quorum state?
A.
4 managers of which 2 are healthy
B.
1 manager of which 1 is healthy
C.
3 managers of which 2 are healthy
D.
5 managers of which 3 are healthy
4 managers of which 2 are healthy
Which statement is true?
A.
CMD shell format uses this form ["param", param", "param"]
B.
ENTRYPOINT cannot be used in conjuction with CMD
C.
CMD is used to run the software is the image along with any arguments
D.
ENTRYPOINT cannot be overriden in the "docker container run" command
CMD shell format uses this form ["param", param", "param"]
Wha is the purpose of Docker Content Trust?
A.
Signing and verification of image tags
B.
Enabling mutual TLS between the Docker client and server
C.
Docker registry TLS verification and encryption
D.
Indicating an image on Docker Hub is an official image
Signing and verification of image tags
The following health check exists in a Dockerfile:
'HEALTCHECK
CMD curl -fail http://localhost/health || exit 1'
Which of the following describes its purpose?
A.
Defines the action taken when container health fails, which in this case will kill the container with exit
status 1 B. Defines the health check endpoint on the localhost interface for external monitoring tools to
monitor the health of the docker engine.
B.
Defines the health check endpoint on the local host interface for containers to monitor the health of the
docker engine.
C.
Defines the health check for the containerized application so that the application health can be
monitored by the Docker engine
Defines the action taken when container health fails, which in this case will kill the container with exit
status 1 B. Defines the health check endpoint on the localhost interface for external monitoring tools to
monitor the health of the docker engine.
Page 6 out of 34 Pages |
Previous |