CGOA Gitops Patterns Practice Question
When managing multiple environments (dev/stage/prod) in one repository, which folder structure is generally considered best practice?
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
✓
Using environment-specific folders.
Keeping environment configurations in separate folders (e.g., /overlays/dev, /overlays/prod) allows for clear separation and prevents accidental configuration bleeding.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Storing configurations in the application code folder.
Why it's wrong here
Separation of concerns dictates that infra-as-code should be separate from application code.
- ✗
Putting everything in a single root folder.
Why it's wrong here
This makes it difficult to distinguish environments.
- ✗
Using different Git repos for every single manifest.
Why it's wrong here
This creates an unmanageable number of repositories.
- ✓
Using environment-specific folders.
Why this is correct
This is the industry-standard structure for GitOps repositories.
About these practice questions
This CGOA question is part of Courseiva's 325-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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 CNCF / Linux Foundation exam blueprint
This CGOA practice question is part of Courseiva's free CNCF / Linux Foundation 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 CGOA exam.