nerdexam
HashiCorp

TA-002-P · Question #256

A variable az has the following default value. What will be the datatype of the variable? az=["us- west-1a","us-east-1a"]

The correct answer is B. List. See the full explanation below for the reasoning.

Understand Terraform basics

Question

A variable az has the following default value. What will be the datatype of the variable? az=["us- west-1a","us-east-1a"]

Options

  • AObject
  • BList
  • CMap
  • DString

How the community answered

(31 responses)
  • A
    6% (2)
  • B
    90% (28)
  • D
    3% (1)

Topics

#Terraform variables#HCL data types#List type#Configuration syntax

Community Discussion

No community discussion yet for this question.

Full TA-002-P Practice