nerdexam
HashiCorp

TERRAFORM-ASSOCIATE-004 · Question #217

terraform init retrieves and caches the configuration for all remote modules.

The correct answer is B. False. terraform init retrieves and caches providers and modules, but only for explicitly declared modules in the configuration. If a module is added or updated, terraform init needs to be re-run to download the new version. Terraform does not automatically cache all remote modules…

Submitted by dimitri_ru· Apr 18, 2026Use Terraform CLI

Question

terraform init retrieves and caches the configuration for all remote modules.

Options

  • ATrue
  • BFalse

How the community answered

(16 responses)
  • A
    25% (4)
  • B
    75% (12)

Explanation

terraform init retrieves and caches providers and modules, but only for explicitly declared modules in the configuration. If a module is added or updated, terraform init needs to be re-run to download the new version. Terraform does not automatically cache all remote modules unless they are explicitly referenced in the configuration.

Topics

#terraform init#modules#module installation#caching

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-004 Practice