Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
HashiCorp logo

HashiCorp Certified:Terraform Authoring and Operations Professional

Domain 2Objective 5

2e TERRAFORM-AUTHORING-AND-OPERATIONS-PROFESSIONAL Practice Questions (Page 3)

Part of the Develop and troubleshoot dynamic configuration domain, which makes up ~20% of our current practice bank. HashiCorp does not publish an official question count, but from its 240-minute exam (~95–160 total, ~19–32 in this domain), expect 3–5 from this objective — we provide 18 practice questions to prepare you well beyond it. (estimate)

18questions here
4free pages
6concepts

Questions 11–15

  1. 11foundation · easy

    Which complex type in Terraform represents an unordered collection of unique values of the same type?

    Select an answer first
  2. 12application · medium

    An operator runs `terraform apply` with the following commands in sequence: `export TF_VAR_instance_type=t3.micro`, then `terraform apply -var='instance_type=t3.large' -var-file=prod.tfvars`. The `prod.tfvars` file sets `instance_type = "m5.large"`. The variable has no default. What instance type will be used?

    Select an answer first
  3. 13foundation · easy

    Which complex type in Terraform allows elements of different types within a single collection?

    Select an answer first
  4. 14application · medium

    A network team defines a variable to hold subnet configurations. Each subnet needs a name, a CIDR block, and a map of tags. They want to enforce that the CIDR block is a valid IPv4 CIDR and that the name is non-empty. They also need to output the full subnet configuration for use in other modules. Which variable type and validation approach is most appropriate?

    Select an answer first
  5. 15foundation · easy

    Which command-line flag is used to assign a value to an input variable when running `terraform plan` or `terraform apply`?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by HashiCorp. “TERRAFORM-AUTHORING-AND-OPERATIONS-PROFESSIONAL” is a trademark of its owner, used for identification only.