CGOA Gitops Principles Practice Question
Which TWO practices are recommended when managing Git repositories for GitOps?
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 directory structures to separate environmental configurations.
Best practices include using small, focused repositories and clear directory structures for environment separation.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Using directory structures to separate environmental configurations.
Why this is correct
Organizes state for different environments.
- ✓
Structuring manifests logically for readability and maintenance.
Why this is correct
Improves manageability of the declarative state.
- ✗
Hardcoding all credentials in the manifest.
Why it's wrong here
Credentials should be managed via Secrets or tools like Sealed Secrets.
- ✗
Committing direct changes to the 'main' branch.
Why it's wrong here
PRs should be used for review and auditability.
- ✗
Storing all environments (dev/prod) in a single file.
Why it's wrong here
This makes separation and security difficult.
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.