Docker Certified Associate (DCA) - DCA 模擬練習

Are these conditions sufficient for Kubernetes to dynamically provision a persistentVolume, assuming there are no limitations on the amount and type of available external storage?
Solution: A volume is defined in a pod specification with the key persistentVolume: default.

正解: A
Will this action upgrade Docker Engine CE to Docker Engine EE?
Solution.Run docker engine activate.

正解: B
解説: (PassTest メンバーにのみ表示されます)
Two development teams in your organization use Kubernetes and want to deploy their applications while ensuring that Kubernetes-specific resources, such as secrets, are grouped together for each application.
Is this a way to accomplish this?
Solution: Add all the resources to the default namespace.

正解: A
解説: (PassTest メンバーにのみ表示されます)
Does this describe the role of Control Groups (cgroups) when used with a Docker container?
Solution: isolation between resources used by containers

正解: B
解説: (PassTest メンバーにのみ表示されます)
Is this a Linux kernel namespace that is disabled by default and must be enabled at Docker engine runtime to be used?
Solution: net

正解: A
解説: (PassTest メンバーにのみ表示されます)
Is this a supported user authentication method for Universal Control Plane?
Solution.LDAP

正解: B
解説: (PassTest メンバーにのみ表示されます)
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.

正解: A
解説: (PassTest メンバーにのみ表示されます)
Can this set of commands identify the published port(s) for a container?
Solution: docker container inspect', 'docker port'

正解: B
解説: (PassTest メンバーにのみ表示されます)
One of several containers in a pod is marked as unhealthy after failing its livenessProbe many times. Is this the action taken by the orchestrator to fix the unhealthy container?
Solution: The unhealthy container is restarted.

正解: B
解説: (PassTest メンバーにのみ表示されます)
The Kubernetes yaml shown below describes a networkPolicy.

Will the networkPolicy BLOCK this trafftc?
Solution. a request issued from a pod bearing only the tier: frontend label, to a pod bearing the tier: backend label

正解: B
解説: (PassTest メンバーにのみ表示されます)
Will this command ensure that overlay traffic between service tasks is encrypted?
Solution:docker network create -d overlay --secure

正解: A
解説: (PassTest メンバーにのみ表示されます)
Which networking drivers allow you to enable multi-host network connectivity between containers?

正解: D
解説: (PassTest メンバーにのみ表示されます)
Will this command display a list of volumes for a specific container?
Solution: docker volume logs nginx --containers'

正解: A
解説: (PassTest メンバーにのみ表示されます)
Your organization has a centralized logging solution, such as Sptunk.
Will this configure a Docker container to export container logs to the logging solution?
Solution.docker system events- -filter splunk

正解: A
解説: (PassTest メンバーにのみ表示されます)