Terraform Associate Exam QuestionsBrowse all questions from this exam

Terraform Associate Exam - Question 9


What command does Terraform require the first time you run it within a configuration directory?

Show Answer
Correct Answer: B

The 'terraform init' command is used to initialize a working directory containing Terraform configuration files. This step is required before any other Terraform commands can be run in a new configuration directory, as it prepares the directory by installing required modules and providers.

Discussion

11 comments
Sign in to comment
softarts
May 16, 2022

it is B

javibadilloOption: B
May 24, 2022

Agree with B

Ahmad_Terraform
Jun 22, 2022

B is correct , init starts the backend and prepare terraform

EltoothOption: B
Jun 26, 2022

B is correct answer.

chanelno1Option: B
Nov 21, 2022

init downloads things from git so it can be used when you run terraform apply.

Power123
Mar 28, 2023

B is correct terraform init

wsyhOption: B
May 15, 2023

Vote B

Busi57Option: B
Jul 23, 2023

init b

Jayanth
Jul 28, 2023

B. terraform init

090200f
Jul 8, 2024

B. terraform init is correct answer it initializes all resource config need to current directory (path)

hrajkuma
Jul 12, 2024

B is the answer, terraform init