Interview Q&A · questions with model answers
EKS Interview Questions
Part of the study plan for: 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.
-
Most asked How does the Amazon VPC CNI work, and why do EKS clusters run out of IP addresses?
The VPC CNI gives every pod a real IP address from the VPC subnet by attaching elastic network interfaces (ENIs) with secondary IPs to nodes. Pods are directly routable in the VPC, which is simple…
-
Most asked How do you make workloads on EKS highly available?
Run nodes in several Availability Zones, run several replicas per service spread across zones (topology spread constraints), use PodDisruptionBudgets, health probes and graceful shutdown, put…
-
Most asked How do you handle disaster recovery for applications on EKS?
Treat clusters as replaceable: everything needed to rebuild them (IaC and GitOps repositories, container images in replicated ECR, secrets in Secrets Manager) must exist outside the cluster. Back up…
-
How does persistent storage work on EKS?
Through CSI drivers installed as add-ons: the EBS CSI driver for block volumes (one Availability Zone, ReadWriteOnce), the EFS CSI driver for shared file storage across AZs (ReadWriteMany), and the…
-
How are Kubernetes Secrets protected on EKS?
EKS encrypts the etcd volumes at rest, and envelope encryption of Kubernetes API data with an AWS KMS key adds a second layer, so Secrets in etcd are encrypted with a data key protected by KMS…
-
How do you migrate workloads to EKS from EC2 or ECS?
Containerise (if needed) and make services cloud-native (stateless, configuration from the environment, health endpoints, graceful shutdown); build the cluster and platform add-ons with IaC; deploy…
-
How do you connect EKS workloads to RDS or other AWS services privately and securely?
Keep the database in private subnets of the same VPC (or a peered/Transit Gateway-connected VPC), allow traffic from the nodes' or pods' security groups (security groups for pods give per-workload…
-
How do topology-aware routing and AZ placement reduce cost and latency on EKS?
Cross-AZ traffic adds latency and AWS charges for data transferred between AZs. Topology-aware routing (Service trafficDistribution: PreferClose or topology hints) keeps Service traffic within the…
-
How does authentication with kubectl work on EKS under the hood?
aws eks update-kubeconfig writes a kubeconfig whose user entry runs aws eks get-token, which creates a presigned AWS STS GetCallerIdentity request encoded as a bearer token. The EKS authenticator…
-
How do you limit the blast radius of a misbehaving workload on a shared EKS cluster?
Namespaces with ResourceQuota and LimitRange (so it cannot consume all capacity), PodDisruptionBudgets and priorities for critical services, NetworkPolicies (so it cannot reach everything),…
-
How do CoreDNS and DNS scaling issues show up on EKS, and how do you fix them?
Symptoms are intermittent DNS timeouts and slow requests under load. Causes include too few CoreDNS replicas for the query volume, the ndots:5 default multiplying queries for external names, and…