Free Terraform-Associate-003 Actual Exam Questions - Question 6 Discussion

Question No. 6
[Understand Terraform Basics and CLI]
terraform init creates an example main.tf file in the current directory.
Select one option, then reveal solution.
US
UY
Usman Y.
2026-01-18

B imo, terraform init only sets up the environment and downloads provider plugins. It doesn’t create any Terraform config files automatically.

0
AX
Ahmed X.
2026-01-16

Option B makes sense because terraform init is just for initializing the working directory, not for generating config files like main.tf.

0
SM
Sohail M.
2026-01-15

B, false. Terraform init sets up the backend and providers but doesn’t create any main.tf files itself.

0