nerdexam
HashiCorpHashiCorp

TA-002-P · Question #20

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

Sign in or unlock TA-002-P to reveal the answer and full explanation for question #20. 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 provisioned some virtual machines (VMs) on Google Cloud Platform (GCP) using the gcloud command line tool. However, you are standardizing with Terraform and want to manage these VMs using Terraform instead. What are the two things you must do to achieve this? (Choose two.)

Options

  • AProvision new VMs using Terraform with the same VM names
  • BUse the terraform import command for the existing VMs
  • CWrite Terraform configuration for the existing VMs
  • DRun the terraform import-gcp command

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 Import#GCP#Existing Resources#CLI
Full TA-002-P PracticeBrowse All TA-002-P Questions