Free Terraform-Associate-003 Actual Exam Questions - Question 1 Discussion

Question No. 1
[Understand Terraform Basics and CLI]
If you update the version constraint in your Terraform configuration, Terraform will update your lock
file the next time you run terraform Init.
Select one option, then reveal solution.
US
RT
Ryan T.
2026-02-17

B, because only newer Terraform versions update the lock file automatically on init.

0
ZJ
Zain J.
2026-02-12

This one feels like it’s B because changing the version constraint in the config doesn’t automatically trigger a lock file update every time you run terraform init, especially if you’re below 0.14. The question doesn’t mention the Terraform version, so you can’t just assume the lock file updates on init.

0
ZJ
Zain J.
2026-02-11

D imo, I’d say B still fits better since the question is kinda vague about which Terraform version it’s referring to. The lock file update behavior changed around 0.14, but older versions need a manual refresh for the lock file after changing constraints. So unless it clearly says it’s for newer versions, don’t assume init updates the lock file on its own.

0
SC
Shoaib C.
2026-02-11

It’s B for me since without a clear version context, you can’t assume the lock file updates automatically. Older Terraform versions don’t do that on init after changing version constraints.

0
SC
Shoaib C.
2026-02-10

B, because the question doesn’t specify Terraform 0.14+, so can’t assume it always updates.

0
DQ
Daniel Q.
2026-01-24

B imo, because if you’re using an older Terraform version before 0.14, the lock file doesn’t update automatically when you change the version constraint. So it’s not universally true.

0
AI
Adeel I.
2026-01-15

A tbh

0