Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Terraform Associate All Questions

View all questions & answers for the Terraform Associate exam

Exam Terraform Associate topic 1 question 118 discussion

Actual exam question from HashiCorp's Terraform Associate
Question #: 118
Topic #: 1
[All Terraform Associate Questions]

You have just developed a new Terraform configuration for two virtual machines with a cloud provider. You would like to create the infrastructure for the first time.
Which Terraform command should you run first?

  • A. terraform apply
  • B. terraform plan
  • C. terraform show
  • D. terraform init
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Burakko
Highly Voted 2 years, 2 months ago
Selected Answer: D
terraform init if you want to run it for the first time.
upvoted 6 times
...
090200f
Most Recent 4 months, 1 week ago
keyword is for the first time: so terraform init is correct ans option : D
upvoted 1 times
...
Pikopo
1 year, 1 month ago
D is correct
upvoted 1 times
...
Ni33
1 year, 6 months ago
Selected Answer: D
If it is first time then Terraform init command.
upvoted 1 times
...
Ravi528
1 year, 8 months ago
Selected Answer: D
First we should run terraform init
upvoted 1 times
...
Manguu
1 year, 8 months ago
Selected Answer: D
This will initialize the working directory containing the TF config files
upvoted 1 times
...
adouban
1 year, 11 months ago
Selected Answer: D
Terraform init
upvoted 1 times
...
legendary7
2 years, 1 month ago
D You need to initialize so all the provider plugin and configurations dependencies get initialized
upvoted 1 times
...
kprod
2 years, 2 months ago
Selected Answer: D
D - init
upvoted 3 times
...
bora4motion
2 years, 2 months ago
Selected Answer: D
I go with D. init
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...