nerdexam
HashiCorp

TA-002-P · Question #181

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

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

Read, generate, and modify configuration

Question

You have created a terraform script that uses a lot of new constructs that have been introduced in terraform v0.12. However, many developers who are cloning the script from your git repo, are using v0.11, and getting errors. What can be done from your end to solve this problem?

Options

  • AForce developer to use v0.12 by using terraform setting `required_version' and set it
  • BRefactor the code to support both v0.11, and v0.12. It might be a difficult process, but
  • CAdd a condition in front of each such specific construct, to check whether the running
  • DAdd comments in your code to tell developers to use v0.12 . If they use v0.11 , that

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

#Terraform versioning#required_version#Configuration management#Compatibility
Full TA-002-P Practice