CGOA Gitops Principles Practice Question
A team is transitioning to GitOps. Which action best aligns with the principle of Declarative Desired State?
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
✓
Storing YAML manifests in Git representing the target environment state
Declarative configuration defines the end state, allowing tools to converge the system rather than executing imperative scripts.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Running a pipeline to execute terraform apply on demand
Why it's wrong here
While Infrastructure as Code, without persistent reconciliation, this is not GitOps.
- ✗
Writing a bash script to update image tags on all clusters
Why it's wrong here
This is an imperative approach.
- ✗
Using kubectl edit to modify running pod replicas
Why it's wrong here
This is manual, imperative intervention.
- ✓
Storing YAML manifests in Git representing the target environment state
Why this is correct
This represents the desired state declaratively in version control.
About these practice questions
One of 325 original CGOA 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 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.