BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

HashiCorp Exam VA-002-P Topic 5 Question 80 Discussion

Actual exam question for HashiCorp's VA-002-P exam
Question #: 80
Topic #: 5
[All VA-002-P Questions]

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)

Show Suggested Answer Hide Answer
Suggested Answer: A, B, D

The list below contains all the requirements for publishing a module. Meeting the requirements for publishing a module is extremely easy. The list may appear long only to ensure we're detailed, but adhering to the requirements should happen naturally.

GitHub. The module must be on GitHub and must be a public repo. This is only a requirement for the public registry. If you're using a private registry, you may ignore this requirement.

Named terraform-<PROVIDER>-<NAME>. Module repositories must use this three-part name format, where <NAME> reflects the type of infrastructure the module manages, and <PROVIDER> is the main provider where it creates that infrastructure. The <NAME> segment can contain additional hyphens. Examples: terraform-google-vault or terraform-aws-ec2-instance.

Repository description. The GitHub repository description is used to populate the short description of the module. This should be a simple one-sentence description of the module.

Standard module structure. The module must adhere to the standard module structure. This allows the registry to inspect your module and generate documentation, track resource usage, parse submodules and examples, and more.

x.y.z tags for releases. The registry uses tags to identify module versions. Release tag names must be a semantic version, which can optionally be prefixed with a v. For example, v1.0.4 and 0.9.2. To publish a module initially, at least one release tag must be present. Tags that don't look like version numbers are ignored.

https://www.terraform.io/docs/registry/modules/publish.html#requirements


Contribute your Thoughts:

Veronika
5 months ago
I agree, it might limit the number of modules available on the registry if that requirement is mandatory.
upvoted 0 times
...
Karan
5 months ago
I'm not sure about requirement C, I don't think it's necessary for all modules to be PCI/HIPAA compliant.
upvoted 0 times
...
Mira
5 months ago
Yes, having a naming convention helps with organization and searchability.
upvoted 0 times
...
Jarod
5 months ago
I think requirement B is also valid because it enforces a specific naming convention for modules.
upvoted 0 times
...
Sheldon
5 months ago
I agree, having a standardized versioning format is important for clarity.
upvoted 0 times
...
Jessenia
5 months ago
I think requirement A is valid because it ensures consistent versioning of modules.
upvoted 0 times
...
Annice
5 months ago
I agree, it might limit the number of modules available on the registry if that requirement is mandatory.
upvoted 0 times
...
Cordelia
6 months ago
I'm not sure about requirement C, I don't think it's necessary for all modules to be PCI/HIPAA compliant.
upvoted 0 times
...
Annmarie
6 months ago
Yes, having a naming convention helps with organization and searchability.
upvoted 0 times
...
Vicente
6 months ago
I think requirement B is also valid because it enforces a specific naming convention for modules.
upvoted 0 times
...
Rex
6 months ago
I agree, having a standardized versioning format is important for clarity.
upvoted 0 times
...
Bobbye
7 months ago
I think requirement A is valid because it ensures consistent versioning of modules.
upvoted 0 times
...
Yuki
7 months ago
Alright, so I think the valid requirements here are A, B, and D. C is just too much. Unless we're building a module for the NSA, PCI/HIPAA compliance is not necessary.
upvoted 0 times
Maybelle
7 months ago
D) The module must be on GitHub and must be a public repo
upvoted 0 times
...
Emmanuel
7 months ago
B) Module repositories must use this three-part name format, terraform--.
upvoted 0 times
...
Alline
7 months ago
A) The registry uses tags to identify module versions. Release tag names must be for the format x.y.z, and can optionally be prefixed with a v.
upvoted 0 times
...
...
Sonia
7 months ago
Hah, good point, Gianna. Maybe they should just say 'a public version control repository' instead of forcing GitHub. Although, let's be real, who doesn't use GitHub these days? *rolls eyes*
upvoted 0 times
...
Gianna
7 months ago
You got that right, Leana. I feel like they're just trying to trip us up sometimes. But hey, at least it keeps us on our toes!
upvoted 0 times
...
Leana
7 months ago
Agreed. Time to submit our answers and hope we get this one right. Though, I have to say, these Terraform certification exams sure do love their trick questions, don't they?
upvoted 0 times
...

Save Cancel