Courseiva
CGOA
Gitops PatternshardMultiple ChoiceObjective-mapped

CGOA Gitops Patterns Practice Question

Your organization uses a 'Git-branch-per-environment' strategy. You notice that hotfixes applied to the 'production' branch are being overwritten by automatic merges from the 'staging' branch. Which GitOps promotion pattern should you adopt to prevent this drift?

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

Switch to a repository structure using Kustomize overlays with a single branch.

The 'Pull Request based promotion' pattern ensures that changes are explicitly reviewed and merged from staging to production, rather than relying on automated long-running branch merges that cause conflicts.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Enable Argo CD 'automated.allowEmpty' sync options.

    Why it's wrong here

    This option allows syncs for empty states and does not solve Git merge strategy issues.

  • Switch to a repository structure using Kustomize overlays with a single branch.

    Why this is correct

    Using Kustomize overlays allows you to keep one branch as the source of truth, avoiding merge conflicts between environment branches.

  • Implement an automated CI job to force push the staging branch to production.

    Why it's wrong here

    This would exacerbate the overwriting of production-specific configurations.

  • Use Argo CD ApplicationSets with a 'git' generator to deploy only from the main branch.

    Why it's wrong here

    While this simplifies deployment, it doesn't solve the core issue of environmental promotion drift caused by conflicting branches.

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 →

How Courseiva writes practice questions · Editorial policy

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.