BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

HashiCorp Exam VA-002-P Topic 7 Question 22 Discussion

Actual exam question for HashiCorp's VA-002-P exam
Question #: 22
Topic #: 7
[All VA-002-P Questions]

What is the result of the following terraform function call?

zipmap(["a", "b"], [1, 2])

Show Suggested Answer Hide Answer
Suggested Answer: C

zipmap constructs a map from a list of keys and a corresponding list of values. A map is denoted by { } whereas a list is donated by [ ].

https://www.terraform.io/docs/configuration/functions/zipmap.html


Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel