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

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

Which of the following should you put into the required_providers block?

  • A. version >= 3.1
  • B. version = “>= 3.1”
  • C. version ~> 3.1
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
090200f
3 months, 3 weeks ago
Selected Answer: B
b is correct there is no '=' sign for other 2 options terraform { required_providers { aws = { source = "hashicorp/aws" version = "~> 5.42" } } required_version = ">= 1.2.0" }
upvoted 3 times
...
bella
5 months, 3 weeks ago
well B and C are correct. the question isn't clear about required provider... did they mean terraform version or hashicorp provider terraform { required_providers { aws = { source = "hashicorp/aws" version = "~> 5.42" } } required_version = ">= 1.2.0" }
upvoted 1 times
...
Alandt
10 months ago
Selected Answer: B
B is correct, others have wrong syntax
upvoted 2 times
...
Tronko86
1 year ago
Selected Answer: B
B is the only answer with a correct syntax: version parameter wants a string
upvoted 3 times
...
bajwa360
1 year, 1 month ago
terraform { required_providers { mycloud = { source = "mycorp/mycloud" version = "~> 1.0" } } }
upvoted 1 times
...
arun00028
1 year, 1 month ago
Selected Answer: C
C is the answer
upvoted 1 times
...
arun00028
1 year, 1 month ago
Selected Answer: C
C is correct
upvoted 1 times
...
Sathisgm
1 year, 6 months ago
I choose B
upvoted 1 times
...
MarshalLaw
1 year, 6 months ago
Selected Answer: B
B since this syntax is correct. If you go back to the previous questions you'll see a screenshot where a relevant question is being asked.
upvoted 2 times
...
sdm13168
1 year, 6 months ago
Selected Answer: B
B https://developer.hashicorp.com/terraform/language/providers/requirements
upvoted 4 times
...
Oleg_gol
1 year, 6 months ago
Selected Answer: C
I choose "С"
upvoted 2 times
...
Oleg_gol
1 year, 6 months ago
Selected Answer: A
A and C - correct (
upvoted 1 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 ...