Advanced Interview #terraform #iac #pulumi #interview-prep

Infrastructure as Code Engineer Interview Questions

5 exercises — choose the best-structured answer to common IaC Engineer interview questions covering Terraform, Pulumi, CDK, state management, and secrets handling.

Structure for IaC interview answers
  • Name the concept precisely: define before comparing (immutable vs mutable, remote vs local state)
  • Describe failure modes: what breaks without the best practice and why
  • Name concrete tools and patterns: S3+DynamoDB, Terragrunt, Sentinel/OPA, OIDC federation
  • Give decision criteria: when to use Terraform vs Pulumi vs CDK — with conditions, not preferences
0 / 5 completed
1 / 5
The interviewer asks: "Explain the difference between mutable and immutable infrastructure, and how IaC supports immutable patterns."
Which answer best demonstrates architectural understanding?