Docker Exam Prep Questions and Answers 100% Pass
Docker Exam Prep Questions and Answers 100% Pass MTLS stands for what in the Docker security space? - Answer️️ -Mutual Transport Layer Security Mutual Transport Layer Security, or MTLS, is used to secure communications between the manager and nodes in a Docker Swarm cluster. Which Docker variable determines whether a host will ONLY download Docker trusted images? - Answer️️ -DOCKER_CONTENT_TRUST=1 The variable DOCKER_CONTENT_TRUST set to '1' will inform the Docker daemon to only pull trusted content within the shell it is set in. A UCP Client Bundle provides which of the following items to a client that intends to use or manage the cluster? - Answer️️ -account security key, UCP certificate files to trust., Environment variables to set the connection destination. The bundle provides the keys, certificates, and environment variables for a client to use when interacting with UCP and Docker from a client system. What do you use to gracefully remove a node from a swarm cluster? - Answer️️ - Docker swarm leave ( on the node you want to remove) What is the command used to initialize 'swarm mode'? - Answer️️ -docker swarm init How do you push the new image called 'httpd:new' to the default repo? - Answer️️ - Docker push httpd:new (prompt for username/password). What is the command to initialize a single replica? - Answer️️ -docker service create [image] How do you create a Docker image from a Dockerfile in the current directory, naming the image 'myimage:v1' - Answer️️ -docker build -t myimage:v1 . What is the 'docker swarm unlock-key --rotate' command for? - Answer️️ -It performs a key rotation for security on a regular basis. What is the command to remove a service from your swarm cluster? - Answer️️ - docker service rm [SERVICE NAME] 'docker volume ls' - Answer️️ -- Lists created volumes. - Will propagate on service creation. The directive in a Dockerfile that instantiated containers will listen on the indicated port at launch - Answer️️ -EXPOSE 'docker network create' - Answer️️ -- --driver=overlay - --subnet=[network/mask] - --gateway=[IP] - --ip-range=[subnet/mask] - only good to further divide ne
Written for
- Institution
- DCA
- Course
- DCA
Document information
- Uploaded on
- May 23, 2024
- Number of pages
- 12
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
docker exam prep questions and answers 100 pass
Also available in package deal