Bird
0
0

Which of the following is the correct path where container logs are stored on a Kubernetes node by default?

easy📝 Syntax Q3 of 15
Kubernetes - Monitoring and Logging
Which of the following is the correct path where container logs are stored on a Kubernetes node by default?
A/var/log/containers/
B/etc/kubernetes/logs/
C/usr/local/bin/logs/
D/home/kube/logs/
Step-by-Step Solution
Solution:
  1. Step 1: Recall default log storage path

    Kubernetes stores container logs under /var/log/containers/ on each node.
  2. Step 2: Verify other paths

    Other paths are unrelated to container logs in Kubernetes.
  3. Final Answer:

    /var/log/containers/ -> Option A
  4. Quick Check:

    Default log path = /var/log/containers/ [OK]
Quick Trick: Container logs default path is /var/log/containers/ [OK]
Common Mistakes:
  • Assuming logs are in /etc or user home directories
  • Confusing executable paths with log paths

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes