CGOA Gitops Principles Practice Question
You are implementing a GitOps pipeline for a complex microservices architecture. To satisfy the principle of 'versioned and immutable state', how should you handle environment-specific configurations while maintaining a single source of truth?
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 Kustomize overlays to manage environment-specific patches stored in the same repository
Using Kustomize bases and overlays allows for a single declarative base while versioning environment-specific patches separately in Git, maintaining immutability.
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 Kustomize overlays to manage environment-specific patches stored in the same repository
Why this is correct
Kustomize allows for a declarative, versioned approach to managing variants while keeping a single source of truth.
- ✗
Use a CI pipeline to inject environment variables into the cluster via API calls
Why it's wrong here
This violates the GitOps principle of declarative state stored in Git.
- ✗
Execute helm install --set commands during the deployment phase
Why it's wrong here
Imperative commands bypass the GitOps reconciliation loop.
- ✗
Maintain separate Git repositories for every environment
Why it's wrong here
While possible, it complicates drift detection and breaks the single-source-of-truth model.
About these practice questions
Courseiva writes every CGOA question from scratch — 325 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.