Amazon EKS in Production with Terraform›Operate · Cheat sheet & self-check
Learning Hub / Cloud — OpenStack, AWS & EKS / Amazon EKS in Production with Terraform

Operate · wrap-up

Cheat sheet & self-check

15 questions across 5 lessons. Each answer links back to the lesson it came from.

Pick an answer to see if you got it, and why.

  1. Q1. What replaced editing the aws-auth ConfigMap for granting cluster access?

    Show answer

    B. Access entries are AWS API objects: auditable, manageable as code, and no risk of breaking access with a malformed ConfigMap.

    From lesson 05 · Identity
  2. Q2. What does EKS Pod Identity give a pod?

    Show answer

    B. The Pod Identity Agent exchanges the pod's ServiceAccount token for role credentials. Each app gets only its own permissions.

    From lesson 05 · Identity
  3. Q3. Why not just give the node's instance role all the permissions pods need?

    Show answer

    B. Node roles are shared by everything on the node. Per-ServiceAccount roles keep a compromised pod from reaching other apps' data.

    From lesson 05 · Identity
  4. Q4. What triggers Karpenter to launch a node?

    Show answer

    B. Karpenter watches unschedulable pods, computes what capacity they need (resources, zones, architecture, taints) and launches matching instances.

    From lesson 06 · Capacity with Karpenter
  5. Q5. What does consolidation do?

    Show answer

    B. Consolidation is how Karpenter saves money continuously, bounded by disruption budgets and PDBs.

    From lesson 06 · Capacity with Karpenter
  6. Q6. Why does Karpenter need an interruption queue (SQS) for Spot?

    Show answer

    B. Spot instances get a two-minute warning. Handling it gives pods time to move gracefully.

    From lesson 06 · Capacity with Karpenter
  7. Q7. Why must the gp3 StorageClass use volumeBindingMode: WaitForFirstConsumer on EKS?

    Show answer

    B. With Immediate binding, the volume could land in an AZ where the pod can't run, leaving it stuck.

    From lesson 07 · Storage tiers
  8. Q8. Which option gives pods in different AZs a shared read-write filesystem?

    Show answer

    B. EFS is regional NFS supporting ReadWriteMany; EBS attaches to one node in one AZ.

    From lesson 07 · Storage tiers
  9. Q9. How should the EBS CSI driver get permission to create volumes?

    Show answer

    B. The controller calls EC2 APIs. A dedicated role (AWS provides a managed policy for it) keeps those permissions off every node.

    From lesson 07 · Storage tiers
  10. Q10. What does target-type: ip mean for an ALB created by the controller?

    Show answer

    B. With the VPC CNI, pods have VPC IPs, so the ALB can target them directly: fewer hops, and better health checking.

    From lesson 08 · Ingress
  11. Q11. How do several Ingresses share one ALB (and one bill)?

    Show answer

    B. IngressGroups merge rules from multiple Ingresses into one ALB. Group only Ingresses with the same trust level.

    From lesson 08 · Ingress
  12. Q12. The controller logs 'unable to resolve at least one subnet'. What's missing?

    Show answer

    B. The controller discovers subnets by tag. Tag your public and private subnets in Terraform when you create the VPC.

    From lesson 08 · Ingress
  13. Q13. What's the right order for an EKS upgrade?

    Show answer

    B. Nodes must never be newer than the control plane, and add-ons must match the new version. Upgrades go one minor at a time.

    From lesson 09 · Upgrades & add-ons
  14. Q14. How does Karpenter roll nodes onto a new AMI or version?

    Show answer

    B. Change the AMI selection (or let a pinned alias move), and drift replaces nodes respecting PDBs and disruption budgets.

    From lesson 09 · Upgrades & add-ons
  15. Q15. When is a blue/green cluster upgrade worth the extra effort?

    Show answer

    B. A new cluster built from code, with traffic shifted gradually, gives a clean rollback path. In-place is simpler for routine minor upgrades.

    From lesson 09 · Upgrades & add-ons