Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Terraform Associate All Questions

View all questions & answers for the Terraform Associate exam

Exam Terraform Associate topic 1 question 327 discussion

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

When does Terraform create the .terraform.lock.hcl file?

  • A. After your first terraform plan
  • B. After your first terraform apply
  • C. After your first terraform init
  • D. Whenever you enable state locking
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Colz
Highly Voted 8 months, 2 weeks ago
Answer C Terraform automatically creates or updates the dependency lock file each time you run the terraform init command.
upvoted 9 times
...
Amargcp
Most Recent 2 months, 2 weeks ago
Selected Answer: C
Answer C. It will be created or updated after init command is issued.
upvoted 1 times
...
iamabhi
8 months, 3 weeks ago
answer D is correct.
upvoted 2 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 ...