AI-assisted — how our quizzes are made
Terraform's declarative model, working directories, configuration files, init, validate, plan, apply, destroy, formatting, inspection, and the core infrastructure lifecycle.
36 questionsPrimitive and complex types, null and unknown values, references, operators, conditionals, for expressions, splats, dynamic blocks, templates, functions, type conversion, and expression pitfalls.
46 questionsManaged resources, data sources, resource addressing, references, implicit and explicit dependencies, graph execution, provider reads, computed attributes, and dependency troubleshooting.
42 questionscount, for_each, depends_on, provider selection, lifecycle rules, replacement behavior, preconditions, postconditions, provisioners, connection blocks, and safe resource transitions.
46 questionsInput variables, precedence, validation, local values, outputs, module interfaces, sensitive values, ephemeral values, write-only arguments, secrets handling, and accidental exposure risks.
42 questionsProvider requirements, source addresses, configuration, aliases, inheritance, lock files, version constraints, installation, upgrades, mirrors, credentials, and provider troubleshooting.
42 questionsRoot and child modules, sources and versions, inputs and outputs, composition, provider passing, count and for_each on modules, design boundaries, registries, compatibility, and maintainability.
42 questionsState purpose and structure, local and remote backends, locking, concurrency, state security, backups, sharing, remote state data, migration, recovery, and state operational practices.
48 questionsPlan modes and files, apply behavior, targeting and replacement, refresh-only operations, import blocks and CLI import, moved and removed blocks, state moves, refactoring, and change review.
46 questionsCLI workspaces, HCP Terraform workspace distinctions, environment isolation, credentials and access boundaries, directory and repository layouts, state separation, promotion, and multi-account design.
39 questionsFormatting and validation, variable validation, preconditions, postconditions, check blocks, terraform test, mock providers, static analysis, policy as code, and quality gates.
44 questionsNoninteractive execution, saved plans, automation credentials, remote runs, concurrency control, pull-request workflows, approvals, artifact security, provider caching, and safe delivery pipelines.
44 questionsDrift detection, refresh behavior, failed applies, partial changes, state and provider errors, dependency cycles, timeouts, eventual consistency, debugging, recovery, and incident-safe operations.
51 questionsWhat must be true of for_each keys during planning?
They must be known and suitable as stable, non-sensitive identities
They must be numeric and sequential
They must come from computed resource IDs
They must be marked sensitive
What is an ephemeral input variable useful for?
Passing short-lived runtime data without recording it in plan or state
Defining a stable resource name stored in state
Choosing for_each instance keys
Publishing a root output for future runs