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

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

Which task does terraform init not perform?

  • A. Sources all providers present in the configuration and ensures they are downloaded and available locally
  • B. Connects to the backend
  • C. Sources any modules and copies the configuration locally
  • D. Validates all required variables are present
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
elvancedonzy
Highly Voted 2 years, 5 months ago
Selected Answer: D
D is correct
upvoted 13 times
...
SilentH
Highly Voted 7 months, 2 weeks ago
Selected Answer: D
Finally ExamTopics got 1 right!
upvoted 6 times
...
anand0310
Most Recent 2 months, 3 weeks ago
Selected Answer: D
D is correct, validation is not performed by init command
upvoted 1 times
...
DarrylNg
7 months ago
Selected Answer: D
D is correct. You can test it out in a sample tf file. Init command goes through even if some variable that another resource is referencing is missing.
upvoted 1 times
...
Bere
1 year, 3 months ago
Selected Answer: D
terraform init performs several initialization steps to prepare your Terraform working directory to be used with Terraform commands. However, it does not validate whether all required variables are present in the configuration or provided through another method. That validation happens during the terraform plan or terraform apply stage. terraform init does: 1. Download and installs the necessary provider plugins. 2. Setup backend for storing state. 3. Download and install modules
upvoted 2 times
...
Ni33
1 year, 6 months ago
I think A is the correct answer.
upvoted 4 times
Bolgarwow
7 months, 3 weeks ago
terraform init not perform
upvoted 1 times
...
...
Ni33
1 year, 6 months ago
Selected Answer: A
A is the correct answer.
upvoted 1 times
...
camps
1 year, 7 months ago
Selected Answer: D
D. Validates all required variables are present. terraform init is a command that initializes a new or existing Terraform configuration. When you run terraform init, Terraform performs several tasks to set up the configuration for use, including: Sources all providers present in the configuration and ensures they are downloaded and available locally Connects to the backend, if one is configured, and performs any necessary setup steps Sources any modules referenced in the configuration and copies their contents locally Initializes the backend configuration and performs any necessary setup steps
upvoted 2 times
...
Power123
1 year, 7 months ago
Ans is C. init doesn't validate all variables are present
upvoted 2 times
...
bwahdi
1 year, 11 months ago
why isn't it A?
upvoted 2 times
FarziWaliMarzi
1 year, 11 months ago
focus on the key word "not"
upvoted 2 times
...
...
Burakko
2 years, 2 months ago
Selected Answer: D
terraform plan or apply does "validates all required variables are present"
upvoted 1 times
...
flaviu888
2 years, 4 months ago
yes, should be D
upvoted 2 times
...
Eltooth
2 years, 4 months ago
Selected Answer: D
D is correct answer.
upvoted 2 times
...
Ahmad_Terraform
2 years, 5 months ago
yes INIT does not validate variables
upvoted 1 times
...
habros
2 years, 5 months ago
Looks like C to me
upvoted 2 times
Oskar_Madin
2 years, 4 months ago
go and learn first no one need your looks like
upvoted 7 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 ...