ExamGecko
Home / HashiCorp / Terraform Associate 003 / Practice Test 2
Ask Question

HashiCorp Terraform Associate 003 Practice Test 2

00:00:00
Show Answer
Report Issue   Restart test

Question 1 / 40

What type of block is used to construct a collection of nested configuration blocks?

Dynamic
Dynamic
For_each
For_each
Nesting
Nesting
repeated.
repeated.
Comment (0)
Suggested answer: A
Explanation:

This is the type of block that is used to construct a collection of nested configuration blocks, by using afor_eachargument to iterate over a collection value and generate a nested block for each element. For example, you can use a dynamic block to create multiple ingress rules for a security group resource.

asked 18/09/2024
Meghan Crofford
43 questions