InterviewStack.io LogoInterviewStack.io

Kubernetes Architecture, Operations, and Troubleshooting Questions

How Kubernetes works, how to run it, and how to debug it. Covers control-plane and node components, the scheduler and API server, cluster design, high availability and multi-cluster topologies, and platform-level operations; the workload primitives (pods, deployments, services, controllers), cluster upgrades, and designing Kubernetes as an internal platform; and the operational depth inside a cluster including pod and service networking, ingress and the CNI model, service mesh, persistent volumes and storage classes, resource requests and limits, and systematically diagnosing scheduling, networking, and storage failures. The full architecture-through-day-two-operations span of Kubernetes.

EasyTechnical
51 practiced

Explain PersistentVolume (PV) and PersistentVolumeClaim (PVC) in Kubernetes. Describe how binding works, what reclaimPolicy means, how StorageClass enables dynamic provisioning, and scenarios where PVCs are preferable to ephemeral volumes for stateful apps.

EasyTechnical
48 practiced

Describe the Kubernetes pod lifecycle and common pod states (Pending, ContainerCreating, Running, Succeeded, Failed, Unknown, CrashLoopBackOff). For each state explain what it implies and list kubectl commands and API resources you would inspect to diagnose a pod that is not in Running state.

EasyTechnical
54 practiced

Explain the differences between ConfigMap and Secret objects. Show two ways to make a Secret available to a pod (environment variables and mounted files). Discuss basic security considerations for storing secrets and recommended best practices for CI/CD pipelines.

EasyTechnical
40 practiced

Explain the differences between a Pod, ReplicaSet, Deployment, StatefulSet, and DaemonSet in Kubernetes. For each resource, describe its primary use cases, how it manages lifecycle and scaling, how updates/rollbacks are handled, and provide concrete examples of when you'd choose each resource (stateless web service, per-node agent, stateful database, etc.).

EasyTechnical
51 practiced

You observe a Pod in CrashLoopBackOff in production. List the kubectl commands and investigative steps you would take to diagnose and resolve the issue. Cover use of kubectl describe, kubectl logs (including -p for previous logs), events, container exit codes, image and config checks, liveness/readiness probe failures, and strategies to reproduce and test fixes.

Unlock Full Question Bank

Get access to all 13 Kubernetes Architecture, Operations, and Troubleshooting interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.