DockerDocker
DCA · Question #117
DCA Question #117: Real Exam Question with Answer & Explanation
The correct answer is B: No. The kubectl logs command retrieves output from a container's stdout/stderr, not Kubernetes object events.
Submitted by kev92· Apr 18, 2026Container Orchestration
Question
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
Options
- AYes
- BNo
Explanation
The kubectl logs command retrieves output from a container's stdout/stderr, not Kubernetes object events.
Common mistakes.
- A.
kubectl logsshows application output from containers, not system-level events for Kubernetes resources.
Concept tested. Kubernetes object events vs. container logs
Reference. https://kubernetes.io/docs/reference/kubectl/cheatsheet/#inspecting-and-debugging
Topics
#kubectl#Kubernetes Deployments#Kubernetes Events#Troubleshooting
Community Discussion
No community discussion yet for this question.