KCNA Cloud Native Observability Practice Question
What does the 'kubectl logs' command retrieve?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Container logs
kubectl logs fetches the standard output and standard error logs from a container in a pod.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Audit logs
Why it's wrong here
Audit logs are managed by the API server, not kubectl logs.
- ✗
Cluster events
Why it's wrong here
Cluster events are retrieved via kubectl get events.
- ✓
Container logs
Why this is correct
kubectl logs shows the logs of a single container.
- ✗
Node logs
Why it's wrong here
Node logs are not directly accessible via kubectl logs.
Go deeper
Related to this question
About these practice questions
One of 833 original KCNA practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This KCNA practice question is part of Courseiva's free CNCF certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the KCNA exam.