Courseiva
CGOA
Gitops PatternsmediumMultiple ChoiceObjective-mapped

CGOA Gitops Patterns Practice Question

You want to promote a microservice from staging to production using the 'Git Branch' strategy. Which configuration allows you to ensure the exact same container image SHA is used across both environments?

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 a common Helm chart with environment-specific values files.

Using image tags like 'latest' is non-deterministic. Referencing the specific SHA in the Git manifest for the production branch ensures consistency.

Answer analysis

Option-by-option breakdown

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

  • Manually update the container image using kubectl edit.

    Why it's wrong here

    Manual changes bypass the GitOps reconciliation loop and will be overwritten.

  • Use a common Helm chart with environment-specific values files.

    Why this is correct

    Keeping the chart constant and varying the values (including the image SHA) is the standard GitOps practice for promotion.

  • Use a different container registry for production.

    Why it's wrong here

    Registry location does not guarantee image consistency or content addressability.

  • Change the image tag to 'production' in the deployment manifest.

    Why it's wrong here

    Mutable tags like 'production' can be overwritten, breaking GitOps immutability principles.

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 →

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.