AWS provider Terraform Modules Practice Question
Which THREE actions are best practices when publishing a module to a private registry?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Use Semantic Versioning (SemVer) for all releases.
Best practices include versioning, documentation, and specific naming conventions.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Use Semantic Versioning (SemVer) for all releases.
Why this is correct
SemVer allows consumers to pin to safe versions.
- ✓
Include a 'examples/' directory to show usage.
Why this is correct
Examples are critical for developer adoption.
- ✗
Keep all files in the root folder, including tests.
Why it's wrong here
Tests should ideally be in a 'tests' directory.
- ✓
Include a README.md file in the root of the module.
Why this is correct
READMEs are essential for documentation in the registry.
- ✗
Prefix the repository name with 'terraform-provider-'.
Why it's wrong here
This is for providers, not modules.
About these practice questions
One of 193 original AWS provider practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official HashiCorp exam blueprint
This AWS provider practice question is part of Courseiva's free HashiCorp certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AWS provider exam.