Exam Terraform-Associate-004 Topic 2 Question 181 Discussion
Actual exam question for HashiCorp's Terraform-Associate-004 exam
Question #: 181
Topic #: 2
Question #: 181
Topic #: 2
The Terraform binary version and provider versions must match each other in a single configuration.
Suggested Answer: B Vote an answer
The Terraform binary version and provider versions do not have to match each other in a single configuration.
Terraform allows you to specify provider version constraints in the configuration's terraform block, which can be different from the Terraform binary version1. Terraform will use the newest version of the provider that meets the configuration's version constraints2. You can also use the dependency lock file to ensure Terraform is using the correct provider version3. References =
*1: Providers - Configuration Language | Terraform | HashiCorp Developer
*2: Multiple provider versions with Terraform - Stack Overflow
*3: Lock and upgrade provider versions | Terraform - HashiCorp Developer
Terraform allows you to specify provider version constraints in the configuration's terraform block, which can be different from the Terraform binary version1. Terraform will use the newest version of the provider that meets the configuration's version constraints2. You can also use the dependency lock file to ensure Terraform is using the correct provider version3. References =
*1: Providers - Configuration Language | Terraform | HashiCorp Developer
*2: Multiple provider versions with Terraform - Stack Overflow
*3: Lock and upgrade provider versions | Terraform - HashiCorp Developer
by Diana at Aug 07, 2026, 07:11 AM
0
0
0
10
Comments
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.
Report Comment
Commenting
You can sign-up / login (it's free).