InterviewStack.io LogoInterviewStack.io

Kubernetes and Container Orchestration Fundamentals Questions

Core knowledge of container orchestration with a focus on Kubernetes fundamentals and everyday operations. Candidates should understand the role of orchestration and why it is used at scale, and be familiar with core Kubernetes objects including pods as the smallest deployable unit, deployments and replica management, replica sets, services for inter pod communication and service discovery, config maps and secrets for configuration and secret management, and the basic lifecycle of containerized applications. Coverage includes deployment and scaling workflows, rolling update and rollout strategies including rollbacks, common deployment patterns such as blue green and canary, and basic health checks and probe concepts. Practical operational skills include common kubectl commands for deploying, inspecting, scaling and debugging applications, reading pod logs and events, describing resources, port forwarding, and diagnosing common failure modes. Candidates should also understand high level trade offs between using managed cloud provider Kubernetes services and operating self managed clusters including operational overhead, upgrades, cost, and reliability considerations. The scope focuses on fundamentals and day to day operations and excludes advanced cluster administration topics such as custom operators, admission controllers, control plane internals, and deep platform level configuration.

EasyTechnical
72 practiced
Explain the relationship between a Deployment and its ReplicaSet in Kubernetes. What responsibilities does each object have regarding desired state, reconciliation, scaling, and rollouts, and why should teams typically operate against Deployments instead of directly manipulating ReplicaSets?
HardTechnical
75 practiced
A production pod is being OOMKilled intermittently. Walk through diagnostics to determine whether this is caused by a memory leak, misconfigured limits, or node-level memory pressure. Include commands, metrics to observe, and how you would implement and roll out a fix with minimal customer impact.
HardSystem Design
84 practiced
Design a safe upgrade process for both application images and node software such as OS patches and kubelet upgrades in a production Kubernetes environment. Explain sequencing, how to canary upgrades on a subset of nodes or pods, cordon and drain procedures, validation steps, and rollback options if upgraded nodes or pods exhibit regressions.
MediumTechnical
78 practiced
Write a basic Kubernetes Ingress description in words for nginx-ingress that routes path /api to service api-svc port 80 and / to frontend-svc port 80. Additionally, discuss when to use Ingress versus using Service type LoadBalancer in cloud environments and the pros and cons of each approach.
EasyTechnical
102 practiced
Describe what a Pod is in Kubernetes and why it is considered the smallest deployable unit. Explain when you would run multiple containers in a single pod, how containers inside a pod share network and volumes, and trade-offs of co-locating containers such as sidecar patterns versus separate pods.

Unlock Full Question Bank

Get access to hundreds of Kubernetes and Container Orchestration Fundamentals interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.