1. The exam #
Format and objectives.
Format #
| Item | Indicative value |
|---|---|
| Questions | About 57 (multiple choice, true/false, short answers) |
| Duration | 1 hour |
| Price | USD 70.50 |
| Validity | 2 years |
To check: Indicative data: consult HashiCorp's official page before registering.
2. What to master #
The essentials.
Summary #
- Commands: init, validate, fmt, plan, apply, destroy, output, state (list, show, mv, rm), import, workspace, console, providers, force-unlock.
- Language: variables (types, validation, sensitive), locals, outputs, data, count, for_each, dynamic, common functions, implicit dependencies and depends_on.
- State: backends, locking, drift, refresh-only, import, moved and removed blocks.
- Modules: sources, versions, inputs and outputs, registry.
- HCP Terraform: workspaces, remote runs, variables, policies, private registry.
Plan #
- Week 1: concepts, workflow, language.
- Week 2: state, modules, workspaces.
- Week 3: HCP Terraform, labs and mock exams until you consistently reach 80%.
3. Pitfalls #
The classic confusions.
Tell apart #
- CLI workspaces (several states) and HCP Terraform workspaces (complete units of work).
- terraform refresh (deprecated) and plan -refresh-only.
- count (index) and for_each (keys).
- Provider (plugin) and module (reusable code).
- Provider version constraints (~>) and the .terraform.lock.hcl file.
My progress
Sign in to track your progress and take notes. Sign in
💬 Questions about this lesson
No questions yet: be the first to ask for help or share your configuration.
Recommended Articles
Preparing for the AWS Certified Solutions Architect – Associate certification (SAA-C03)
Preparation guide for the AWS Solutions Architect Associate: format, the four domains (security, ...
Preparing for the Azure Administrator Associate certification (AZ-104)
Preparation guide for the AZ-104: format, the five domains (identities and governance, storage, c...
Preparing for the AWS Certified Cloud Practitioner certification (CLF-C02)
Preparation guide for the AWS Certified Cloud Practitioner: exam format, domains and weightings, ...
Terraform state: remote backends, locking, import and refactoring
Manage Terraform state: the role of the state file, sensitive data, remote backends (S3, azurerm,...
Terraform: principles, architecture and workflow
Understand Terraform: declarative infrastructure as code, architecture (core, providers, state), ...
Terraform modules: designing, versioning and reusing
Structure Terraform with modules: root module and child modules, inputs and outputs, sources (loc...
Terraform multi-environment, workspaces and repository organization
Organize Terraform for several environments: one folder per environment, tfvars files, CLI worksp...
Testing and securing Terraform: validate, terraform test, tflint, Checkov and policies
Ensure the quality of Terraform code: fmt and validate, native terraform test tests with mocked p...
Terraform in CI/CD: pipelines, plan review, OIDC and GitOps
Automate Terraform: plan pipeline on merge requests and apply after approval, posting the plan as...