exam questions

Exam Terraform Associate 003 All Questions

View all questions & answers for the Terraform Associate 003 exam

Exam Terraform Associate 003 topic 1 question 78 discussion

Actual exam question from HashiCorp's Terraform Associate 003
Question #: 78
Topic #: 1
[All Terraform Associate 003 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 (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
ShakthiGCP
3 weeks, 1 day ago
Selected Answer: C
Terraform automatically creates or updates the dependency lock file each time you run the terraform init command.
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 ...