Quiz — Why Terraform and How It Works

27 min

Validation Quiz · Module 1 — Why Terraform, and a First Local Project · Individual Multiple Choice

Content evaluated: what Terraform does that a console, a script or a runbook do not (declarative, idempotence, drift, state); the four pieces (configuration, CLI, providers, state); reading an HCL block (resource "type" "name", arguments, path.module, required_providers); the cycle init → fmt → validate → plan → apply → state → destroy and the exact sentences each command displays; reading a plan (+, -/+, # forces replacement, (known after apply), Plan: N to add, N to change, N to destroy.); the state (state list, state show, terraform.tfstate, why never edit or share it); files created by init; error messages from Project 01 and the two fundamental workshops.

Instructions: 40 multiple choice questions. One correct answer per question. All outputs cited are from Project 01 and the module workshops, captured with Terraform 1.12.2. Detailed answer key displays after submission.

40 questionsPassing score: 70 %

Sign in to save your results and track your progress.