Docker DCA - Questions & Answers
Free preview · every answer includes a full explanation
Product page: https://prepkeys.com/dca.html
Wha is the purpose of Docker Content Trust?
When using the Docker client to push an image to a registry, what environment variable is used to instruct the client to perform signing of the image?
Is this an advantage of multi-stage builds?
Solution: better caching when building Docker images
A persistentVolumeClaim (PVC) is created with the specification storageClass: "", and size requirements that cannot be satisfied by any existing persistentVolume.
Is this an action Kubernetes takes in this situation?
Solution: The PVC remains unbound until a persistentVolume that matches all requirements of the PVC becomes available.
Does this command display all the pods in the cluster that are labeled as 'env: development'?
Solution: 'kubectl get pods --all-namespaces -I env=development'
Which of the following statements is true about secrets?
A company's security policy specifies that development and production containers must run on separate nodes in a given Swarm cluster.
Can this be used to schedule containers to meet the security policy requirements?
Solution: node taints
You have deployed a service to swarm.
Which command uses the Docker CLI to set the number of tasks of the services to 5? (choose 2)
Is this a function of UCP?
Solution: scans images to detect any security vulnerability
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'