terraform-associate question 311 discussion

View all HashiCorp Certified: Terraform Associate Exam here
back to hashicorp forum

Question 311

Which of the following statements best describes the Terraform list(...) type?

  • A. a collection of values where each is identified by a string label.
  • B. a sequence of values identified by consecutive whole numbers starting with zero.
  • C. a collection of unique values that do not have any secondary identifiers or ordering.
  • D. a collection of named attributes that each have their own type.
Answer:

B


Explanation:
A terraform list is a sequence of values identified by consecutive whole numbers starting with zero.
https://www.terraform.io/docs/configuration/types.html#structural-types

User Votes:
A
50%
B 1 votes
50%
C
50%
D
50%
Discussions
0 / 1000
sunil123
1 day, 20 hours ago

a sequence of values identified by consecutive whole numbers starting with zero.