nerdexam
HashiCorp

TERRAFORM-ASSOCIATE-004 · Question #171

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 TERRAFORM-ASSOCIATE-004 to reveal the answer and full explanation for question #171. The question stem and answer options stay visible for context.

Submitted by kevin_r· Apr 18, 2026Work with Terraform Configurations

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
  • BCount arguments
  • CCollection functions
  • DDynamic blocks

Unlock TERRAFORM-ASSOCIATE-004 to see the answer

You've previewed enough free TERRAFORM-ASSOCIATE-004 questions. Unlock TERRAFORM-ASSOCIATE-004 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#Resource Configuration#Variables
Full TERRAFORM-ASSOCIATE-004 Practice