Terraform interview question

Write a reusable Terraform module for a private, encrypted S3 bucket, and show how it's used.

Hands-on Asked in DevOps Engineer · Cloud Engineer · Site Reliability Engineer (SRE) interviews

Members can save this page, take notes and track progress. See membership · Sign in

Summary

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 it with one block per bucket, so every bucket gets the same secure defaults.

Keep reading with a membership

The full answer with examples, key points and comparisons is part of the membership, along with every other interview answer, progress tracking and Daily Review. Most-asked answers stay free to read.

See plans and free trial Already a member? Sign in

More Terraform questions

← All Terraform questions

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake