HashiCorp Certified: Terraform Associate (003) (HCTA0-003) Questions and Answers
Question 73
In a Terraform Cloud workpace linked to a version control repository speculative plan rum start automatically commit changes to version control.
Options:
A.
True
B.
False
Answer:
A
Explanation:
When you use a remote backend that needs authentication, HashiCorp recommends that you:
Question 74
When should you run terraform init?
Options:
A.
Every time you run terraform apply
B.
Before you start coding a new Terraform project
C.
After you run terraform plan for the time in a new terraform project and before you run terraform apply
D.
After you start coding a new terraform project and before you run terraform plan for the first time.
Answer:
D
Explanation:
You should run terraform init after you start coding a new Terraform project and before you run terraform plan for the first time. This command will initialize the working directory by downloading the required providers and modules, creating the initial state file, and performing other necessary tasks. References = : Initialize a Terraform Project