Exam DCA Topic 1 Question 84 Discussion
Actual exam question for Docker's DCA exam
Question #: 84
Topic #: 1
Question #: 84
Topic #: 1
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
Does this command display it?
Solution: kubectl describe deployment api
Suggested Answer: A Vote an answer
Explanation
= The command kubectl describe deployment api displays the events table for the deployment object called api, along with other information such as labels, replicas, strategy, conditions, and pod template. The events table shows the history of actions that have affected the deployment, such as scaling, updating, or creating pods. This can help troubleshoot any issues with the deployment. To see only the events table, you can use the flag --show-events=true with the command. References:
* Deployments | Kubernetes
* kubectl - How to describe kubernetes resource - Stack Overflow
* Kubectl: Get Deployments - Kubernetes - ShellHacks
* kubernetes - Kubectl get deployment yaml file - Stack Overflow
= The command kubectl describe deployment api displays the events table for the deployment object called api, along with other information such as labels, replicas, strategy, conditions, and pod template. The events table shows the history of actions that have affected the deployment, such as scaling, updating, or creating pods. This can help troubleshoot any issues with the deployment. To see only the events table, you can use the flag --show-events=true with the command. References:
* Deployments | Kubernetes
* kubectl - How to describe kubernetes resource - Stack Overflow
* Kubectl: Get Deployments - Kubernetes - ShellHacks
* kubernetes - Kubectl get deployment yaml file - Stack Overflow
by Astrid at Jun 03, 2026, 03:32 PM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).