Interview Q&A · questions with model answers
Terraform Interview Questions
Part of the study plan for: DevOps Engineer · Cloud Engineer · Site Reliability Engineer (SRE)
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.
-
Write a reusable Terraform module for a private, encrypted S3 bucket, and show how it's used.
The module takes a name and tags, creates the bucket with public access blocked, encryption (SSE-KMS or SSE-S3), versioning and ownership controls, and outputs the bucket name and ARN. Callers use…