Become Docker Certified with updated DCA exam questions and correct answers
Does this command display all the pods in the cluster that are labeled as 'env: development'? Solution: 'kubectl get pods --all-namespaces -label env=development'
What is the purpose of multi-stage builds?
What behavior is expected when a service is created with the following command: 'docker service create -- publish 8000:80 nginx'
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 8080 will be routed to port 80 in a random pod with the
label aPP: nginx.
Will this command list all nodes in a swarm cluster from the command line? Solution: 'docker swarm nodes'
© Copyrights DumpsCertify 2026. All Rights Reserved
We use cookies to ensure your best experience. So we hope you are happy to receive all cookies on the DumpsCertify.