Skip to main content

Kubernet Interview Cheat Sheet

Top 50 interview questions with concise answers. Print this page or save as PDF for offline study.

View All Kubernet Questions

1. What problem does Kubernetes fundamentally solve compared to running containers manually?

2. What is a Kubernetes Cluster made of?

3. What is a Pod in Kubernetes and why isn’t a container scheduled directly?

4. What is the role of the Kubelet on every worker node?

5. Why does every Pod get its own IP address?

6. What is a Deployment used for?

7. What is the difference between a Deployment and a StatefulSet?

8. What is a Service in Kubernetes?

9. What does a ClusterIP Service do?

10. Why is a NodePort Service rarely used in production?

11. What is the purpose of an Ingress Controller?

12. What is etcd and why is it critical to Kubernetes?

13. How does Kubernetes handle container restarts inside Pods?

14. What does desired state mean in Kubernetes?

15. What is a ReplicaSet and how does it relate to Deployments?

16. Why should ConfigMaps not be used for sensitive data?

17. What is a Kubernetes Secret?

18. What is the purpose of a Namespace?

19. What is a Node in Kubernetes?

20. What happens when a Node becomes NotReady?

21. How does Kubernetes ensure Pods are rescheduled automatically when a node fails?

22. Why do Pods restart even when their containers exit with code 0?

23. What is the role of kube-proxy in networking?

24. How do readiness probes differ from liveness probes?

25. What is the Kubernetes API Server responsible for?

26. Why is using latest tag dangerous in Kubernetes deployments?

27. What is the difference between a DaemonSet and a Deployment?

28. How does a Horizontal Pod Autoscaler know when to scale?

29. Why do StatefulSets require a Headless Service?

30. What is a PersistentVolume (PV)?

31. What is the difference between PV and PVC?

32. What is a StorageClass used for?

33. Why do Pods sometimes remain in a Terminating state indefinitely?

34. How does Kubernetes perform rolling updates without downtime?

35. What is the purpose of a Pod Disruption Budget?

36. Why are jobs used instead of Deployments for batch tasks?

37. What is the role of a CronJob?

38. What is image pull policy and why does it matter?

39. Why is RBAC important in Kubernetes?

40. What is a ServiceAccount?

41. Why disable auto-mount of ServiceAccount tokens in some Pods?

42. How do Kubernetes Labels differ from Annotations?

43. What is tainting a node and why is it used?

44. What are Node Selectors?

45. Why is node affinity more powerful than node selectors?

46. What is Pod Affinity/Anti-Affinity?

47. Why is Ingress preferred over multiple LoadBalancer Services?

48. How does Kubernetes handle service discovery internally?

49. What is the difference between a Secret of type Opaque and DockerConfigJson?

50. Why avoid large ConfigMaps?

Ready to level up? Start Practice