HashiCorp Certified: Terraform Associate — Question 253

Which Terraform collection type should you use to store key/value pairs?

Answer options

Correct answer: C

Explanation

The correct answer is C, as a map in Terraform is specifically designed to store key/value pairs. Options A (tuple), B (set), and D (list) do not support the key/value structure essential for this requirement.