DCA Exam Question 41

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 42

    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.
  • DCA Exam Question 43

    The following Docker Compose file is deployed as a stack:

    Is this statement correct about this health check definition?
    Solution: Health checks test for app health ten seconds apart. Three failed health checks transition the container into "unhealthy" status.
  • DCA Exam Question 44

    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 logs deployment api
  • DCA Exam Question 45

    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 describe deployment api