Exam Terraform Associate All QuestionsBrowse all questions from this exam
Question 79

When you initialize Terraform, where does it cache modules from the public Terraform Module Registry?

    Correct Answer: C

    When you initialize Terraform, it caches modules from the public Terraform Module Registry on disk in the .terraform sub-directory. This directory is automatically managed by Terraform, created during initialization, and used to manage cached provider plugins and modules.

Discussion
EltoothOption: C

C is correct answer : hidden terraform directory "A hidden .terraform directory, which Terraform uses to manage cached provider plugins and modules, record which workspace is currently active, and record the last known backend configuration in case it needs to migrate state on the next run. This directory is automatically managed by Terraform, and is created during initialization." https://www.terraform.io/cli/init

amrith501Option: C

on disk for sure for sure

Eltooth

On disk in the .terraform sub-directory - just to clarify.

shefulacertificariOption: C

Answer - C. It's stored in the .terraform directory.

Ni33Option: C

C is the correct option

Power123Option: C

Answer is C

vadeemkaaOption: C

Answer C. On disk in the .terraform sub-directory

eduvar4Option: C

https://developer.hashicorp.com/terraform/language/modules/sources

Ahmad_TerraformOption: C

C. On disk in the .terraform sub-directory