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

Automate & Recover · wrap-up

Cheat sheet & self-check

7 questions across 3 lessons. Each answer links back to the lesson it came from.

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

  1. Q1. Why use OIDC federation from CI instead of storing AWS access keys as secrets?

    Show answer

    B. The CI provider issues a signed token per job; AWS exchanges it for temporary credentials if the trust conditions match.

    From lesson 10 · CI/CD for the stack
  2. Q2. Why separate the plan role from the apply role?

    Show answer

    B. A malicious or buggy PR shouldn't be able to modify production just by running a plan job.

    From lesson 10 · CI/CD for the stack
  3. Q3. What should apply use?

    Show answer

    B. Applying a saved plan prevents surprises when something changed between review and apply.

    From lesson 10 · CI/CD for the stack
  4. Q4. Someone ran 'terraform destroy' in the wrong workspace, and the state now shows nothing, but the resources were only partly deleted. First step?

    Show answer

    B. Acting fast without understanding can make it worse. Freeze changes, preserve evidence, compare state with reality, then recover.

    From lesson 11 · Disaster recovery
  5. Q5. Why does versioning on the state bucket matter?

    Show answer

    B. Versioning is the undo button for state. Combine it with locking and restricted access.

    From lesson 11 · Disaster recovery
  6. Q6. What lets you rebuild an EKS cluster's workloads quickly after losing the cluster?

    Show answer

    B. EKS doesn't give you etcd snapshots; your recovery path is declarative code plus data backups.

    From lesson 11 · Disaster recovery
  7. Q7. What makes a platform 'hand-over ready'?

    Show answer

    B. Operability is part of the deliverable. If only the builder can run it, it isn't finished.

    From lesson 12 · Capstone: own, harden & operate