Effective monitoring, logging, and debugging are essential for maintaining healthy Kubernetes clusters and ensuring the high availability of applications. Kubernetes offers built-in tools along with integrations like Prometheus, Grafana, Fluentd, and tools like kubectl for real-time diagnosis.
These multiple-choice questions (MCQs) are designed to help you master core concepts and practical commands used for observability in Kubernetes. This comprehensive MCQ collection is perfect for beginners to advanced learners preparing for interviews, certifications, or real-world troubleshooting.
1.) Which tool is commonly used with Kubernetes for monitoring metrics?
2.) What is the default logging mechanism in Kubernetes?
3.) Which tool provides visual dashboards for Prometheus metrics?
4.) What does the command kubectl logs show?
5.) Which command retrieves logs from a previous container instance?
6.) What is the purpose of Fluentd in the EFK stack?
7.) Which command helps you get detailed information about a pod?
8.) How can you view real-time logs from a Kubernetes pod?
9.) Which tool is used to debug network connectivity between pods?
10.) Which Kubernetes component exposes metrics for kubelet and cAdvisor?