Interview Q&A · questions with model answers

Kubernetes Interview Questions

Part of the study plan for: DevOps Engineer · Site Reliability Engineer (SRE) · Cloud Engineer

Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.

  1. Most asked How do you make pods shut down gracefully without dropping requests?

    When a pod is deleted, Kubernetes marks it terminating, removes it from Service endpoints, runs any preStop hook, sends SIGTERM to the containers and, after terminationGracePeriodSeconds (30 by…

  2. Most asked How do you upgrade a Kubernetes cluster safely?

    Upgrade one minor version at a time: check deprecated and removed APIs first, upgrade the control plane, then add-ons (CNI, CoreDNS, kube-proxy, CSI drivers, ingress), then nodes, by replacing or…

  3. Most asked How do you monitor a Kubernetes cluster and the applications on it?

    Collect metrics with Prometheus (kube-state-metrics for object state, node exporter for nodes, cAdvisor via kubelet for containers, and application metrics), visualise and alert with Grafana and…

  4. Most asked How do you control costs in Kubernetes?

    Right-size requests from real usage (requests drive node count), use autoscaling at both the pod and node level, bin-pack with tools such as Karpenter consolidation, run interruption-tolerant…

  5. How do you give pods access to cloud resources such as S3 or a database without static credentials?

    Use workload identity: map the pod's Kubernetes ServiceAccount to a cloud identity so the pod receives short-lived credentials automatically. On AWS that is EKS Pod Identity or IAM Roles for Service…

  6. How do you organise multi-tenancy in a Kubernetes cluster?

    Usually with namespaces per team or application, plus guardrails: RBAC scoped to namespaces, ResourceQuota and LimitRange for fair resource use, NetworkPolicies for isolation, Pod Security…

  7. How do you back up a Kubernetes cluster?

    Back up two things: cluster state (etcd snapshots for self-managed control planes, or the manifests and Helm values in Git, which GitOps already gives you) and application data in persistent volumes…

  8. How do you manage TLS certificates in Kubernetes?

    Typically with cert-manager: you declare Certificate resources (or annotate Ingress/Gateway resources), and cert-manager obtains certificates from an issuer (Let's Encrypt via ACME, a private CA,…

Was this page helpful?

Report a mistake