HashiCorp Certified: Terraform Associate (003) — Question 23

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

Answer options

Correct answer: B, C

Explanation

The 'init' command initializes the Terraform working directory, downloading the necessary provider plugins and preparing the environment. The 'apply' command then provisions the infrastructure as defined in the configuration files. The other options, such as 'import', 'plan', and 'validate', serve different purposes in the Terraform workflow but are not required for the initial provisioning step.