nerdexam
HashiCorp

TA-002-P · Question #132

You have created a custom variable definition file testing.tfvars. How will you use it for provisioning infrastructure?

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

Use the Terraform CLI (terraform plan, apply, destroy, fmt, init, validate, workspace, import, taint, providers, output)

Question

You have created a custom variable definition file testing.tfvars. How will you use it for provisioning infrastructure?

Options

  • Aterraform apply -var-state-file ="testing.tfvars"
  • Bterraform plan -var-file="testing.tfvar"
  • Cterraform apply -var-file="testing.tfvars"
  • Dterraform apply var-file="testing.tfvars"

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 CLI#Variables#terraform apply#tfvars files
Full TA-002-P Practice