nerdexam
HashiCorp

TERRAFORM-ASSOCIATE-004 · Question #86

Which two steps are required to provision new infrastructure in the Terraform workflow? Choose two correct answers.

The correct answer is D. Init E. apply. The two steps that are required to provision new infrastructure in the Terraform workflow are init and apply. The terraform init command initializes a working directory containing Terraform configuration files. It downloads and installs the provider plugins that are needed for…

Submitted by fatema_kw· Apr 18, 2026Use Terraform CLI

Question

Which two steps are required to provision new infrastructure in the Terraform workflow? Choose two correct answers.

Options

  • APlan
  • BImport
  • CAlidate
  • DInit
  • Eapply

How the community answered

(59 responses)
  • A
    2% (1)
  • B
    3% (2)
  • C
    7% (4)
  • D
    88% (52)

Explanation

The two steps that are required to provision new infrastructure in the Terraform workflow are init and apply. The terraform init command initializes a working directory containing Terraform configuration files. It downloads and installs the provider plugins that are needed for the configuration, and prepares the backend for storing the state. The terraform apply command applies the changes required to reach the desired state of the configuration, as described by the resource definitions in the configuration files. It shows a plan of the proposed changes and asks for confirmation before making any changes to the infrastructure.

Topics

#Terraform Workflow#Terraform CLI#Infrastructure Provisioning#Core Commands

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-004 Practice