HashiCorp Certified: Terraform Associate — Question 45
Which two steps are required to provision new infrastructure in the Terraform workflow? (Choose two.)
Answer options
- A. Destroy
- B. Apply
- C. Import
- D. Init
- E. Validate
Correct answer: B, D
Explanation
The correct steps to provision new infrastructure in Terraform are 'Init' (D), which initializes the working directory by downloading the necessary provider plugins, and 'Apply' (B), which applies the changes required to reach the desired state of the infrastructure. The other options, such as 'Destroy' (A), 'Import' (C), and 'Validate' (E), are not essential for provisioning new infrastructure.