nerdexam
HashiCorpHashiCorp

TA-002-P · Question #31

TA-002-P Question #31: Real Exam Question with Answer & Explanation

Sign in or unlock TA-002-P to reveal the answer and full explanation for question #31. The question stem and answer options stay visible for context.

Interact with Terraform modules

Question

Which of the following is the correct way to pass the value in the variable num_servers into a module with the input servers?

Options

  • Aservers = num_servers
  • Bservers = variable.num_servers
  • Cservers = var(num_servers)
  • Dservers = var.num_servers

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

#Terraform modules#Module inputs#Variable assignment
Full TA-002-P PracticeBrowse All TA-002-P Questions