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

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

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: C 🗳️

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 ago
Selected Answer: B
Need to run Terraform Init first to install the plugins
upvoted 24 times
...
camps
Highly Voted 1 year, 1 month 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 1 week, 3 days ago
Selected Answer: B
Has to run terraform init first
upvoted 1 times
...
shefulacertificari
3 months, 2 weeks ago
Answer - B. You need to run 'terraform init' command first to initialize the terraform plugins.
upvoted 3 times
...
LunarPhobia
9 months, 1 week ago
Selected Answer: B
B. You need to run init for required plugins
upvoted 3 times
...
Ni33
12 months ago
Selected Answer: B
B for sure.
upvoted 2 times
...
Power123
1 year, 1 month ago
B is correct
upvoted 2 times
...
Rybitska
1 year, 1 month ago
Selected Answer: B
it's B
upvoted 2 times
...
vadeemkaa
1 year, 4 months ago
Answer B. terraform init
upvoted 2 times
...
adouban
1 year, 4 months ago
Selected Answer: B
B is the correct, terraform init to download required plugins
upvoted 1 times
...
karapet
1 year, 6 months ago
First of all: terraform init
upvoted 2 times
...
kopper2019
1 year, 8 months ago
it is B
upvoted 1 times
...
Ahmad_Terraform
1 year, 9 months ago
init required Terraform needs to install the necessary plugins first
upvoted 2 times
...
Ahmad_Terraform
1 year, 10 months ago
B plugins first
upvoted 2 times
...
Eltooth
1 year, 10 months ago
Selected Answer: B
B is correct answer. You need to run terraform init before running apply.
upvoted 3 times
...
rfd
1 year, 10 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
1 year, 11 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 ...