Objective index
Every exam objective in the course, with the lessons, labs and questions that cover it.
Module 1: Infrastructure as Code with Terraform
- 1aDefine IaC and explain declarative configuration, desired state, and idempotency.
- 1bList the advantages of IaC, and the advantages of immutable over mutable infrastructure.
- 1cExplain how one Terraform workflow manages multi-cloud, hybrid, and non-cloud (service-agnostic) targets through providers. Also explain what Terraform does not abstract away.
Module 2: Terraform Fundamentals
- 2aDeclare provider requirements with source addresses and version constraints. Pin the Terraform CLI version with
required_version. Explain the dependency lock file and when to runterraform init -upgrade. - 2bExplain how Terraform finds, installs, and talks to providers. Describe provider tiers and source addresses.
- 2cConfigure several providers, including several configurations of the same provider using
alias. Select a configuration per resource, and pass configurations into modules. - 2dExplain what state is for, what it contains, and why it's sensitive.
Module 3: Core Terraform Workflow
- 3aDescribe the Write → Plan → Apply workflow for individuals and teams.
- 3bExplain what
terraform initdoes and when it must be re-run. - 3cExplain what
terraform validatechecks and what it doesn't check. - 3dGenerate, read, save, and review plans, using
-out,-refresh-only,-target,-replace,-destroy, and-var/-var-file. - 3eApply changes interactively, with
-auto-approve, or from a saved plan. Explain how partial failure behaves. - 3fDestroy all or part of the managed infrastructure safely.
- 3gFormat configuration with
terraform fmtand its-check,-recursive, and-diffflags.
Module 4: Terraform Configuration
- 4aChoose between
resourceanddatablocks, explain when data sources are read, and useterraform_data. - 4bWrite references to resource, data, variable, local, and module values, including indexed instances.
- 4cDeclare variables and outputs, apply the variable precedence order, and use
sensitive,nullable, andephemeral. - 4dUse
list,set,map,object, andtupletypes,optional()attributes, and explain type conversion. - 4eWrite
forexpressions, splats, conditionals,dynamicblocks, andlocals, use built-in functions, and test expressions interraform console. - 4fExplain implicit vs. explicit dependencies, and use
count,for_each,depends_on,provider, andlifecycle. - 4gWrite variable validation, preconditions, postconditions, and
checkblocks, and predict whether each blocks the run or only warns. - 4hExplain where secrets end up, and keep them out of state using ephemeral values, ephemeral resources, write-only arguments, Vault, and dynamic credentials.
Module 5: Terraform Modules
- 5aIdentify every module source type, write correct source strings (including subdirectories and Git refs), and explain how modules are installed.
- 5bExplain root vs. child module scope and pass data in through input variables and out through outputs.
- 5cCall modules with arguments and the
count,for_each,providers, anddepends_onmeta-arguments, and refactor existing resources into a module without destroying them. - 5dConstrain module versions, explain which sources support
version, and upgrade modules safely.
Module 6: Terraform State Management
- 6aDescribe the local backend: where state and backups live, and its limits for teams.
- 6bExplain which operations lock state, which backends support locking, and when to use
-lock-timeoutandforce-unlock. - 6cConfigure a remote backend, use partial configuration, migrate state between backends, read another configuration's outputs with
terraform_remote_state, and use CLI workspaces. - 6dDetect and resolve drift, and change state safely with refresh-only runs,
movedandremovedblocks, andterraform statesubcommands.
Module 7: Maintaining Infrastructure with Terraform
- 7aBring existing infrastructure under Terraform management with
terraform importand withimportblocks, includingfor_eachimports and-generate-config-out. - 7bInspect state and configuration with
state list,state show,show,output,graph,providers, andconsole, and know which of these are read-only. - 7cTurn on and scope verbose logging with
TF_LOG,TF_LOG_PATH,TF_LOG_CORE, andTF_LOG_PROVIDER, and know when logging helps.
Module 8: HCP Terraform
- 8aCreate infrastructure through HCP Terraform with CLI-driven and VCS-driven runs. Explain the run pipeline, workspace variables, and variable sets.
- 8bDescribe collaboration and governance features: teams and permissions, private registry, Sentinel and OPA policies, run tasks, health assessments, and state history.
- 8cOrganize work into organizations, projects, and workspaces, and distinguish HCP Terraform workspaces from CLI workspaces.
- 8dConnect a configuration to HCP Terraform with
terraform loginand thecloudblock, migrate state, and choose an execution mode.