HashiCorpHashiCorp
TA-002-P · Question #4
TA-002-P Question #4: Real Exam Question with Answer & Explanation
Sign in or unlock TA-002-P to reveal the answer and full explanation for question #4. 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
What is the workflow for deploying new infrastructure with Terraform?
Options
- Aterraform plan to import the current infrastructure to the state file, make code changes,
- BWrite a Terraform configuration, run terraform show to view proposed changes, and
- Cterraform plan to import the current infrastructure to the state file, make code changes,
- DWrite a Terraform configuration, run terraform init, run terraform plan to view planned
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 workflow#terraform init#terraform plan#terraform apply#CLI commands