HashiCorp
TA-002-P · Question #330
You want to define multiple data disks as nested blocks inside the resource block for a virtual machine. What Terraform feature would help you define the blocks using the values in a variable?
Sign in or unlock TA-002-P to reveal the answer and full explanation for question #330. The question stem and answer options stay visible for context.
Read, generate, and modify configuration
Question
You want to define multiple data disks as nested blocks inside the resource block for a virtual machine. What Terraform feature would help you define the blocks using the values in a variable?
Options
- ALocal values
- BDynamic blocks
- CCount arguments
- DCollection functions
Unlock TA-002-P to see the answer
You've previewed enough free TA-002-P questions. Unlock TA-002-P for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Dynamic blocks#Nested blocks#Variables#Configuration language