nerdexam
HashiCorp

TERRAFORM-ASSOCIATE-003 · Question #17

What is the workflow for deploying new infrastructure with Terraform?

The correct answer is A. Write Terraform configuration, run terraform init to initialize the working directory or workspace. This is the workflow for deploying new infrastructure with Terraform, as it will create a plan and apply it to the target environment. The other options are either incorrect or incomplete.

Tools for Test Analysts

Question

What is the workflow for deploying new infrastructure with Terraform?

Options

  • AWrite Terraform configuration, run terraform init to initialize the working directory or workspace,
  • BWrite Terraform configuration, run terraform show to view proposed changes, and terraform apply
  • CWrite Terraform configuration, run terraform apply to create infrastructure, use terraform validate
  • DWrite Terraform configuration, run terraform plan to initialize the working directory or workspace,

How the community answered

(46 responses)
  • A
    76% (35)
  • B
    2% (1)
  • C
    7% (3)
  • D
    15% (7)

Explanation

This is the workflow for deploying new infrastructure with Terraform, as it will create a plan and apply it to the target environment. The other options are either incorrect or incomplete.

Topics

#Terraform#deployment workflow#init plan apply#working directory

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-003 Practice