最新的Docker Certified Associate (DCA) - DCA免費考試真題

問題1
Will this action upgrade Docker Engine CE to Docker Engine EE?
Solution: Uninstall 'docker-ce' package before installing 'docker-ee' package.

正確答案: B
說明:(僅 VCESoft 成員可見)
問題2
Is this a type of Linux kernel namespace that provides container isolation?
Solution: Network

正確答案: A
說明:(僅 VCESoft 成員可見)
問題3
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.

正確答案: A
說明:(僅 VCESoft 成員可見)
問題4
The Kubernetes yaml shown below describes a clusterIP service.

Is this a correct statement about how this service routes requests?
Solution: Traffic sent to the IP of this service on port 80 will be routed to port 8080 in a random pod with the label app:
nginx.

正確答案: B
說明:(僅 VCESoft 成員可見)
問題5
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'

正確答案: A
說明:(僅 VCESoft 成員可見)
問題6
You are troubleshooting a Kubernetes deployment called api, and want to see the events table for this object.
Does this command display it?
Solution:kubectl get deployment api

正確答案: B
說明:(僅 VCESoft 成員可見)
問題7
Will this command display a list of volumes for a specific container?
Solution: 'docker container inspect nginx'

正確答案: A
說明:(僅 VCESoft 成員可見)
問題8
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 import <tarball> myorg/myimage:1.0

正確答案: A
說明:(僅 VCESoft 成員可見)
問題9
Will this command ensure that overlay traffic between service tasks is encrypted?
Solution:docker service create --network --encrypted

正確答案: B
說明:(僅 VCESoft 成員可見)
問題10
Will this action upgrade Docker Engine CE to Docker Engine EE?
Solution.Disable the Docker service via 'chkconfig' or 'systemctl'.

正確答案: B
說明:(僅 VCESoft 成員可見)
問題11
Will this action upgrade Docker Engine CE to Docker Engine EE?
Solution: Delete '/var/lib/docker' directory.

正確答案: B
說明:(僅 VCESoft 成員可見)
問題12
Is this a way to configure the Docker engine to use a registry without a trusted TLS certificate?
Solution: Pass the '--insecure-registry' flag to the daemon at run time.

正確答案: A
說明:(僅 VCESoft 成員可見)