DCA Exam Question 11

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'
  • DCA Exam Question 12

    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 events deployment api
  • DCA Exam Question 13

    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: resource reservation
  • DCA Exam Question 14

    You set up an automatic pruning policy on a DTR repository to prune all images using Apache licenses. What effect does this have on images in this repository?
  • DCA Exam Question 15

    Which of the following is true about overlay networks?