DCA Exam Question 21
Is this an advantage of multi-stage builds?
Solution: better caching when building Docker images
Solution: better caching when building Docker images
DCA Exam Question 22
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.
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.
DCA Exam Question 23
You want to create a container that is reachable from its host's network. Does this action accomplish this?
Solution: Use either EXPOSE or --publish to access the containers on the bridge network
Solution: Use either EXPOSE or --publish to access the containers on the bridge network
DCA Exam Question 24
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: Create one pod and add all the resources needed for each application
Is this a way to accomplish this?
Solution: Create one pod and add all the resources needed for each application
DCA Exam Question 25
Can this set of commands identify the published port(s) for a container?
Solution: docker container inspect', 'docker port'
Solution: docker container inspect', 'docker port'
