Exam Terraform-Associate-004 Topic 2 Question 181 Discussion

Actual exam question for HashiCorp's Terraform-Associate-004 exam
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

by Diana at Aug 07, 2026, 07:11 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
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.

0
0
0
10