Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
HashiCorp logo

HashiCorp Certified:Terraform Associate

Domain 2Objective 1

2a Install and Version Terraform Providers TERRAFORM-ASSOCIATE-004 Practice Questions (Page 3)

Part of the Terraform fundamentals domain, which makes up ~12% of our current practice bank. HashiCorp does not publish an official question count, but from its 60-minute exam (~25–40 total, ~3–5 in this domain), expect 1–1 from this objective — we provide 17 practice questions to prepare you well beyond it. (estimate)

17questions here
4free pages
5concepts

Questions 11–15

  1. 11foundation · easy

    When you run terraform init for the first time in a configuration that declares a provider in required_providers, what does Terraform do by default?

    Select an answer first
  2. 12application · medium

    A team uses Terraform with a provider constraint of `version = "~> 3.0"`. The lock file records version 3.2.0. A new version 3.5.0 is released, and the team wants to upgrade. They run `terraform init -upgrade`. What version will be installed?

    Select an answer first
  3. 13application · medium

    A team uses Terraform with a provider constraint of `version = ">= 1.0, < 2.0"`. The current installed version is 1.2.0. A new version 1.9.0 is released and the team wants to upgrade. They run `terraform init -upgrade`. What version will be installed?

    Select an answer first
  4. 14application · medium

    A DevOps engineer is troubleshooting a Terraform configuration that works locally but fails in the CI pipeline with an error about a provider checksum mismatch. The local `.terraform.lock.hcl` file was generated on a Linux machine, and the CI pipeline runs on Windows. What is the most likely cause of the checksum mismatch?

    Select an answer first
  5. 15foundation · easy

    Which version constraint operator in Terraform means 'any version greater than or equal to 4.0.0 and less than 5.0.0'?

    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-ASSOCIATE-004” is a trademark of its owner, used for identification only.