exam questions

Exam Terraform Associate All Questions

View all questions & answers for the Terraform Associate exam

Exam Terraform Associate topic 1 question 89 discussion

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

Which of the following is allowed as a Terraform variable name?

  • A. count
  • B. name
  • C. source
  • D. version
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Eltooth
Highly Voted 1 year, 2 months ago
Selected Answer: B
B is correct answer : name "The name of a variable can be any valid identifier except the following: source, version, providers, count, for_each, lifecycle, depends_on, locals." https://www.terraform.io/language/values/variables
upvoted 13 times
...
Zam88
Highly Voted 1 year, 2 months ago
The name of a variable can be any valid identifier except the following: source , version , providers , count , for_each , lifecycle , depends_on , locals . These names are reserved for meta-arguments in module configuration blocks, and cannot be declared as variable names. B
upvoted 5 times
...
Ni33
Most Recent 4 months ago
Selected Answer: B
B is correct one.
upvoted 1 times
...
Power123
5 months, 1 week ago
B is correct. name
upvoted 1 times
...
kopper2019
1 year, 1 month ago
Selected Answer: B
name is OK
upvoted 4 times
...
Ahmad_Terraform
1 year, 1 month ago
name is right
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago