Exam Terraform Associate All QuestionsBrowse all questions from this exam
Question 261

The Terraform binary version and provider versions must match each other in a single configuration.

    Correct Answer: B

    The Terraform binary version and provider versions do not need to match each other in a single configuration. Terraform manages provider versions independently from its core binary, and it is common for the version numbers to be different. It is important, however, to use compatible versions to ensure expected features and functionalities are supported, but there is no strict requirement for them to match exactly.

Discussion
FyssyOption: B

If the versions are incompatible or if a required provider is missing, Terraform will prompt you to update the provider versions or download the necessary provider plugins.

LemonadeSoftwareOption: B

B Not necessarily. In Terraform, the version of the Terraform binary itself doesn't have to match the versions of the providers being used within a configuration file. However, it's generally recommended to use compatible versions. Terraform typically manages provider versions independently from its core binary. Each Terraform provider (e.g., AWS, Azure, etc.) has its own versioning that may differ from the version of the Terraform core. Using compatible versions helps ensure that the features and functionalities expected by your configuration are available and supported by both the Terraform binary and the specified providers. But it's not a strict requirement that they must match exactly.