HashiCorp Certified: Terraform Associate — Question 149

Which of the following methods, used to provision resources into a public cloud, demonstrates the concept of infrastructure as code?

Answer options

Correct answer: C

Explanation

The correct answer is C because a script containing CLI commands automates the provisioning process, aligning with the infrastructure as code philosophy. Options A and D involve manual processes, which do not embody the automation aspect, while option B, while automated, lacks the scripting component that defines infrastructure as code.