nerdexam
HashiCorpHashiCorp

TA-002-P · Question #314

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

The correct answer is C: The registry uses tags to identify module versions.. To publish a module to the Terraform Public Module Registry, it must be hosted on a public GitHub repository, follow specific naming conventions, and use semantic versioning with tags.

Interact with Terraform modules

Question

Anyone can publish and share modules on the Terraform Public Module Registry, and meeting the requirements for publishing a module is extremely easy. Select from the following list all valid requirements. (select three)

Options

  • AThe module must be PCI/HIPPA compliant.
  • BModule repositories must use this three-part name format, terraform--.
  • CThe registry uses tags to identify module versions.
  • DRelease tag names must be for the format x.y.z, and can optionally be prefixed with a v .
  • EThe module must be on GitHub and must be a public repo.

Explanation

To publish a module to the Terraform Public Module Registry, it must be hosted on a public GitHub repository, follow specific naming conventions, and use semantic versioning with tags.

Common mistakes.

  • A. PCI/HIPAA compliance is a security and regulatory concern for the resources provisioned, not a direct requirement for publishing a module to the public registry.
  • B. The description terraform-- for the module repository naming format is too generic; the precise format required is terraform-<PROVIDER>-<NAME>.

Concept tested. Terraform Public Module Registry requirements

Reference. https://developer.hashicorp.com/terraform/registry/modules/publish

Topics

#Terraform Modules#Module Registry#Publishing Modules#Semantic Versioning

Community Discussion

No community discussion yet for this question.

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