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

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

Which of the following is not a valid Terraform variable type?

  • A. list
  • B. map
  • C. array
  • D. string
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
InformationOverload
Highly Voted 1 year, 10 months ago
Selected Answer: C
Array is not a variable type. Variable types in terraform are: string: A sequence of Unicode characters number: A numeric value, either an integer or a floating-point number bool: A Boolean value of either true or false list: An ordered collection of values, all of which must be of the same type map: A collection of key-value pairs, where the keys and values can be of any type set: An unordered collection of unique values, all of which must be of the same type object: A complex structure that can contain other objects, lists, and scalar values tuple: A fixed-length array of specific types. (Terraform version 0.13 and later) https://developer.hashicorp.com/terraform/language/expressions/types
upvoted 6 times
...
Derag
Most Recent 1 year, 2 months ago
C, array is not a variable type.
upvoted 1 times
...
Jlee7
1 year, 5 months ago
C is the correct answer.
upvoted 1 times
...
agmesas
1 year, 9 months ago
Selected Answer: C
array is not
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 ...