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.

MediumTechnical
44 practiced

Explain Kubernetes namespaces and the RBAC model. Clarify the differences between Role and ClusterRole, RoleBinding and ClusterRoleBinding, how ServiceAccounts are used, and common patterns for implementing least-privilege access across multiple teams and environments.

EasyTechnical
43 practiced

Explain how imagePullSecrets, service accounts, and node-level credentials affect a pod's ability to pull images from private registries. Describe how Kubernetes resolves credentials and what you would check if pods across multiple namespaces fail to pull from a private registry.

HardTechnical
43 practiced

Describe how you would implement admission control with OPA Gatekeeper to deny creation of Pods that either run privileged containers or do not declare resource limits. Provide a concise example (high-level Rego or ConstraintTemplate/Constraint) that validates spec.containers[].securityContext.privileged == false and requires each container to specify resources.limits.cpu and resources.limits.memory. Explain how you'd roll this policy out safely.

HardTechnical
49 practiced

Describe a comprehensive Kubernetes cluster security strategy covering admission control with OPA Gatekeeper, image signing and verification using sigstore/cosign, network segmentation via NetworkPolicies, Pod Security Standards enforcement, RBAC hardening, secret encryption with KMS, and secrets rotation. Discuss the trade-offs and a gradual rollout plan.

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.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.