TA-002-P HashiCorp Certified: Terraform Associate

Loading demo links...

Showing 13–15 of 20 questions

Question 13 (Exam Set D)

Which of the following commands will launch the Interactive console for Terraform interpolations?

Select an option, then click Submit answer.

  • terraform console

  • terraform cli

  • terraform

  • terraform cmdline

Question 15 (Exam Set D)

In terraform, most resource dependencies are handled automatically. Which of the following statements describes best how terraform resource dependencies are handled?

Select an option, then click Submit answer.

  • Resource dependencies are identified and maintained in a file called resource.dependencies. Each terraform provider is required to maintain a list of all resource dependencies for the provider and it's included with the plugin during initialization when terraform init is executed. The file is located in the terraform.d folder.

  • The terraform binary contains a built-in reference map of all defined Terraform resource dependencies. Updates to this dependency map are reflected in terraform versions. To ensure you are working with the latest resource dependency map you much be running the latest version of Terraform.

  • Resource dependencies are handled automatically by the depends_on meta_argument, which is set to true by default.

  • Terraform analyses any expressions within a resource block to find references to other objects, and treats those references as implicit ordering requirements when creating, updating, or destroying resources.