TA-002-P HashiCorp Certified: Terraform Associate

Loading demo links...

Showing 19–20 of 20 questions

Question 19 (Exam Set C)

Multiple configurations for the same provider can be used in a single configuration file.

Select an option, then click Submit answer.

  • False

  • True

Question 20 (Exam Set D)

When using parent/child modules to deploy infrastructure, how would you export a value from one module to import into another module.

For example, a module dynamically deploys an application instance or virtual machine, and you need the IP address in another module to configure a related DNS record in order to reach the newly deployed application.

Select an option, then click Submit answer.

  • Export the value using terraform export and input the value using terraform input.

  • Configure the pertinent provider's configuration with a list of possible IP addresses to use.

  • Configure an output value in the application module in order to use that value for the DNS module.

  • Preconfigure the IP address as a parameter in the DNS module.