exam questions

Exam Terraform Associate All Questions

View all questions & answers for the Terraform Associate exam

Exam Terraform Associate topic 1 question 79 discussion

Actual exam question from HashiCorp's Terraform Associate
Question #: 79
Topic #: 1
[All Terraform Associate Questions]

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

  • A. On disk in the /tmp directory
  • B. In memory
  • C. On disk in the .terraform sub-directory
  • D. They are not cached
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Eltooth
Highly Voted 2 years, 1 month ago
Selected Answer: 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
upvoted 12 times
...
amrith501
Highly Voted 2 years, 2 months ago
Selected Answer: C
on disk for sure for sure
upvoted 5 times
Eltooth
2 years, 1 month ago
On disk in the .terraform sub-directory - just to clarify.
upvoted 1 times
...
...
shefulacertificari
Most Recent 7 months ago
Answer - C. It's stored in the .terraform directory.
upvoted 1 times
...
Ni33
1 year, 3 months ago
Selected Answer: C
C is the correct option
upvoted 1 times
...
Power123
1 year, 4 months ago
Answer is C
upvoted 1 times
...
vadeemkaa
1 year, 8 months ago
Answer C. On disk in the .terraform sub-directory
upvoted 1 times
...
eduvar4
1 year, 11 months ago
Selected Answer: C
https://developer.hashicorp.com/terraform/language/modules/sources
upvoted 1 times
...
Ahmad_Terraform
2 years, 1 month ago
C. On disk in the .terraform sub-directory
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago