Introduction
Terraform interviews rarely test whether you have memorised flags. They test whether you have actually run Terraform in a team: whether you understand state, why a remote backend matters, how you refactor without destroying production, and what you do when an apply fails halfway through.
This article gives 20 questions in the form interviewers ask them, grouped from easy to advanced, with model answers that show reasoning β not just definitions. Each answer is written so you can adapt it to your own experience. If you have never used a concept in production, say so and explain how you would approach it; interviewers respect honesty far more than a rehearsed definition that falls apart on the first follow-up.
Version note (25 Nov 2026): the latest Terraform release is 1.17.2 (11 Nov 2026); 1.17.0 was released 21 Oct 2026. S3 native locking uses use_lockfile = true ; DynamoDB locking is the older pattern.β¦