nerdexam
HashiCorpHashiCorp

TERRAFORM-ASSOCIATE-004 · Question #190

TERRAFORM-ASSOCIATE-004 Question #190: Real Exam Question with Answer & Explanation

Sign in or unlock TERRAFORM-ASSOCIATE-004 to reveal the answer and full explanation for question #190. The question stem and answer options stay visible for context.

Submitted by suresh_in· Apr 18, 2026Work with Terraform Modules

Question

Your root module contains a variable named num_servers. Which is the correct way to pass its value to a child module with an input named servers?

Options

  • Aservers = num_servers
  • Bservers = var(num_servers)
  • Cservers = var.num_servers
  • Dservers = ${var.num_servers}

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

#Terraform variables#Module inputs#HCL syntax#Variable referencing
Full TERRAFORM-ASSOCIATE-004 PracticeBrowse All TERRAFORM-ASSOCIATE-004 Questions