nerdexam
HashiCorpHashiCorp

TA-002-P · Question #178

TA-002-P Question #178: Real Exam Question with Answer & Explanation

Sign in or unlock TA-002-P to reveal the answer and full explanation for question #178. The question stem and answer options stay visible for context.

Read, generate, and modify configuration

Question

Why is it a good idea to declare the required version of a provider in a Terraform configuration file? 1. terraform 2. { 3. required_providers 4. { 5. aws = "~> 1.0" 6. } 7. }

Options

  • ATo remove older versions of the provider.
  • BTo ensure that the provider version matches the version of Terraform you are using.
  • CProviders are released on a separate schedule from Terraform itself; therefore a newer
  • DTo match the version number of your application being deployed via Terraform.

Unlock TA-002-P to see the answer

You've previewed enough free TA-002-P questions. Unlock TA-002-P for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Provider Versioning#Required Providers#Dependency Management#Configuration Best Practices
Full TA-002-P PracticeBrowse All TA-002-P Questions