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 80 discussion

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

You write a new Terraform configuration and immediately run terraform apply in the CLI using the local backend.
Why will the apply fail?

  • A. Terraform needs you to format your code according to best practices first
  • B. Terraform needs to install the necessary plugins first
  • C. The Terraform CLI needs you to log into Terraform cloud first
  • D. Terraform requires you to manually run terraform plan first
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
nez15
Highly Voted 2 years, 6 months ago
Selected Answer: B
Need to run Terraform Init first to install the plugins
upvoted 26 times
...
camps
Highly Voted 1 year, 7 months ago
Selected Answer: B
B. Terraform needs to install the necessary plugins first. When running terraform apply for a new Terraform configuration, Terraform needs to install the necessary provider plugins and any dependencies before it can create or modify any resources. Without the necessary plugins, Terraform cannot fully understand the resources that are defined in the configuration file.
upvoted 6 times
...
godie44
Most Recent 7 months ago
Selected Answer: B
Has to run terraform init first
upvoted 1 times
...
shefulacertificari
10 months, 1 week ago
Answer - B. You need to run 'terraform init' command first to initialize the terraform plugins.
upvoted 3 times
...
LunarPhobia
1 year, 4 months ago
Selected Answer: B
B. You need to run init for required plugins
upvoted 3 times
...
Ni33
1 year, 6 months ago
Selected Answer: B
B for sure.
upvoted 2 times
...
Power123
1 year, 7 months ago
B is correct
upvoted 2 times
...
Rybitska
1 year, 8 months ago
Selected Answer: B
it's B
upvoted 2 times
...
vadeemkaa
1 year, 11 months ago
Answer B. terraform init
upvoted 2 times
...
adouban
1 year, 11 months ago
Selected Answer: B
B is the correct, terraform init to download required plugins
upvoted 1 times
...
karapet
2 years ago
First of all: terraform init
upvoted 2 times
...
kopper2019
2 years, 3 months ago
it is B
upvoted 1 times
...
Ahmad_Terraform
2 years, 4 months ago
init required Terraform needs to install the necessary plugins first
upvoted 2 times
...
Ahmad_Terraform
2 years, 4 months ago
B plugins first
upvoted 2 times
...
Eltooth
2 years, 4 months ago
Selected Answer: B
B is correct answer. You need to run terraform init before running apply.
upvoted 3 times
...
rfd
2 years, 5 months ago
Selected Answer: B
terraform init needs to be run first so it can download required modules and setup backend.
upvoted 1 times
...
bp339
2 years, 5 months ago
Selected Answer: B
B for sure
upvoted 2 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 ...