nerdexam
HashiCorp

TA-002-P · Question #251

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

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

Read, generate, and modify configuration

Question

John is writing a module and within the module, there are multiple places where he has to use the same conditional expression but he wants to avoid repeating the same values or expressions multiple times in a configuration,. What is a better approach to dealing with this?

Options

  • ALocal Values
  • BExpressions
  • CFunctions
  • DVariables

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

#Local Values#Configuration Reuse#DRY Principle#Module Development
Full TA-002-P Practice