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 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 🗳️
Reference:
https://www.terraform.io/docs/cli/commands/init.html

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
elvancedonzy
Highly Voted 1 year, 10 months ago
Selected Answer: D
D is correct
upvoted 12 times
...
DarrylNg
Most Recent 2 days, 17 hours 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
...
SilentH
2 weeks, 1 day ago
Selected Answer: D
Finally ExamTopics got 1 right!
upvoted 2 times
...
Bere
9 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
11 months, 3 weeks ago
I think A is the correct answer.
upvoted 3 times
Bolgarwow
3 weeks, 6 days ago
terraform init not perform
upvoted 1 times
...
...
Ni33
12 months ago
Selected Answer: A
A is the correct answer.
upvoted 1 times
...
camps
1 year 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 ago
Ans is C. init doesn't validate all variables are present
upvoted 2 times
...
bwahdi
1 year, 4 months ago
why isn't it A?
upvoted 2 times
FarziWaliMarzi
1 year, 4 months ago
focus on the key word "not"
upvoted 2 times
...
...
Burakko
1 year, 7 months ago
Selected Answer: D
terraform plan or apply does "validates all required variables are present"
upvoted 1 times
...
flaviu888
1 year, 9 months ago
yes, should be D
upvoted 2 times
...
Eltooth
1 year, 10 months ago
Selected Answer: D
D is correct answer.
upvoted 2 times
...
Ahmad_Terraform
1 year, 10 months ago
yes INIT does not validate variables
upvoted 1 times
...
habros
1 year, 11 months ago
Looks like C to me
upvoted 2 times
Oskar_Madin
1 year, 10 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 ...