nerdexam
HashiCorpHashiCorp

TA-002-P · Question #192

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

The correct answer is D: Modules. Modules are reusable configuration packages that Terraform can share through a variety of sources including Terraform Registries, GitHub, and Amazon S3 buckets. A module is a container for multiple resources that are used together. Modules can be used to create lightweight abstra

Interact with Terraform modules

Question

You are reviewing Terraform configurations for a big project in your company. You noticed that there are several identical sets of resources that appear in multiple configurations. What feature of Terraform would you recommend to use to reduce the amount of cloned configuration between the different configurations?

Options

  • APackages
  • BBackends
  • CProvisioners
  • DModules

Explanation

Modules are reusable configuration packages that Terraform can share through a variety of sources including Terraform Registries, GitHub, and Amazon S3 buckets. A module is a container for multiple resources that are used together. Modules can be used to create lightweight abstractions, so that you can describe your infrastructure in terms of its architecture, rather than directly in terms of physical objects. Modules are reusable configuration packages that Terraform can share through a variety of sources including Terraform Registries, GitHub, and Amazon S3 buckets.

Topics

#Terraform modules#Configuration reuse#DRY principle

Community Discussion

No community discussion yet for this question.

Full TA-002-P PracticeBrowse All TA-002-P Questions