Courseiva

CGOA · domain

Gitops Principles

Practise Certified GitOps Associate (CGOA, CNCF/Linux Foundation) (CGOA) Gitops Principles practice questions — original exam-style scenarios with answer choices, explanations, and analysis of common mistakes.

98 questions20 easy46 medium32 hard

Focused practice

Practice Gitops Principles questions

Scored sessions drawing only from this domain — pick a length below.

Start 20-question practice test →

What this domain covers

What to know about Gitops Principles

Gitops Principles questions test whether you can apply the concept in context, not just recognise a definition.

How the topic appears in realistic exam-style scenarios.

Which detail in the question changes the correct answer.

How to eliminate plausible but wrong options.

How to connect the question back to the wider exam objective.

Watch out for

Common Gitops Principles exam traps

  • Answering from memory before reading the full scenario.
  • Missing a constraint such as cost, availability, security, scope or command context.
  • Choosing a broad answer when the question asks for the most specific fix.
  • Ignoring why the wrong options are tempting.

Question index

All Gitops Principles questions (98)

Click any question to see the full explanation, or start a practice session above.

1

Which THREE of the following are core requirements for adopting a GitOps-based workflow?

Hard
2

Which TWO of the following are core principles of GitOps?

Medium
3

Which of the following is considered an 'Anti-pattern' in a GitOps workflow?

Easy
4

When configuring a GitOps tool, what is the purpose of a 'webhook' in relation to the Git repository?

Medium
5

Which of the following best describes the 'Declarative' principle in GitOps?

Easy
6

Which TWO are common strategies for GitOps repo structure?

Medium
7

When implementing a GitOps workflow with Argo CD, what is the role of the 'AppProject' custom resource?

Medium
8

Why must the desired state be 'versioned' in Git in a GitOps architecture?

Medium
9

When using Argo CD, what does the 'Sync Status' 'OutOfSync' indicate?

Medium
10

A team is transitioning to GitOps. Which action best aligns with the principle of Declarative Desired State?

Easy
11

Which statement best defines 'immutable state' in the context of GitOps?

Easy
12

In a multi-cluster environment, how does the GitOps principle of 'Declarative Desired State' simplify cluster management?

Hard
13

In a GitOps architecture, why is it critical that the entire state of the system is declarative?

Hard
14

A DevOps team is storing its Kubernetes manifests in a Git repository. To adhere strictly to the principle of versioned and immutable desired state in Git, how should the team manage changes to an existing deployment's container image tag?

Easy
15

When considering the GitOps principle of 'Declarative Desired State', which TWO of the following statements accurately reflect why manifests should be stored in Git?

Medium
16

In an Argo CD deployment, a developer notices that manual changes made via kubectl are being reverted automatically. What feature is responsible for this behavior?

Medium
17

In GitOps, what is a 'Merge Request' (or Pull Request) used for?

Easy
18

Which of these is NOT a principle of GitOps?

Easy
19

Why is 'pull-based' reconciliation considered more secure than 'push-based' CI/CD?

Hard
20

Which THREE components are typically involved in a GitOps reconciliation loop?

Medium
21

When syncing a Git repository to a cluster, what is the 'Sync Policy' in Argo CD?

Medium
22

A team is reviewing their deployment practices against OpenGitOps standards. Which THREE conditions are required to satisfy the 'Declarative Desired State' and 'Versioned and Immutable State' principles?

Easy
23

Your team is using a pull-based GitOps pattern. Which component is responsible for initiating the communication to the Git repository to check for updates?

Hard
24

Which TWO are common pitfalls in a GitOps implementation?

Medium
25

In the context of GitOps, what is meant by 'Pull-based' architecture?

Medium
26

Which THREE actions occur when a GitOps controller detects drift?

Hard
27

A platform team manages 50 Kubernetes clusters using GitOps. They need to ensure that an emergency rollback of an application across all clusters can be executed cleanly and audited effectively. What is the standard GitOps mechanism to achieve this rollback?

Medium
28

Which THREE of these are valid methods for handling configuration differences across environments (e.g., Dev vs Prod)?

Hard
29

A platform engineer wants to configure an application state declaratively. They write an imperative script containing commands like 'kubectl scale deployment --replicas=5' and push this script into a Git repository for execution by a cron job. Why does this approach fail to satisfy the core GitOps principle of 'Declarative Desired State'?

Hard
30

Your organization requires an audit trail of all changes to infrastructure. Why is GitOps superior to imperative 'kubectl' commands for this?

Hard
31

Which THREE activities are part of the 'Automated Pull-Based Reconciliation' process?

Hard
32

Which TWO scenarios represent 'drift' in a GitOps environment?

Hard
33

Which TWO of the following are primary benefits of storing the entire desired state of a system in a versioned Git repository?

Medium
34

What is the primary function of a 'GitOps Pipeline' versus a 'GitOps Controller'?

Medium
35

Which TWO items are typically included in a GitOps repository?

Medium
36

In a GitOps workflow, where does the 'source of truth' reside?

Medium
37

During an audit, an organization discovers that a secret was accidentally committed to a Git repository managed by Flux. An engineer deletes the commit containing the secret using 'git push --force' with a rewritten history. Why is this action problematic in a production GitOps environment?

Hard
38

Which TWO of the following are considered advantages of the GitOps approach?

Medium
39

Which THREE factors should be considered when choosing a GitOps controller?

Hard
40

Your team is using Flux CD to manage Kubernetes resources. You notice that the application status is 'Suspended'. What is the most likely reason for this state in the context of GitOps principles?

Medium
41

Why should you avoid using 'latest' as a container image tag in GitOps?

Medium
42

Which THREE items should be excluded from a GitOps repository?

Hard
43

Which TWO aspects of GitOps help ensure 'Continuous Drift Detection'?

Medium
44

What is the purpose of 'Image Tagging' in a GitOps workflow?

Medium
45

Which of these is a typical 'Desired State' artifact in GitOps?

Easy
46

What is the primary risk of a 'Push-based' deployment model compared to 'Pull-based'?

Hard
47

What is the primary function of the 'reconciliation loop' in GitOps?

Easy
48

If a GitOps controller detects that an image tag has been changed in the cluster but not in Git, what does the controller do?

Hard
49

How does GitOps help with disaster recovery?

Medium
50

Which THREE of the following are essential components of an effective GitOps 'Continuous Drift Detection and Correction' strategy?

Hard
51

Which of these is a valid 'GitOps' approach for multi-environment management?

Easy
52

An organization uses Argo CD to manage Kubernetes clusters. A developer manually modifies a Deployment's replica count via kubectl. Which mechanism in Argo CD ensures this manual change is identified as non-compliant with the GitOps repository?

Medium
53

You are using Argo CD. A developer manually scales a Deployment replica count using 'kubectl scale'. What happens next in a standard GitOps implementation?

Medium
54

A developer pushes a change to Git, but the cluster does not update. Which log source is most effective for debugging the pull-based mechanism?

Medium
55

What is the primary role of an 'Immutable' state in a GitOps repository?

Easy
56

Why does GitOps encourage the use of small, frequent commits?

Medium
57

An organization is migrating to GitOps using Argo CD. During an audit, you notice that manual changes made directly to the Kubernetes cluster via kubectl are being reverted within minutes. Which component of the GitOps pipeline is performing this action?

Medium
58

When should you use Kustomize in a GitOps workflow?

Medium
59

Which of the following is a primary benefit of using a GitOps pull-based model over a push-based CI/CD model?

Easy
60

You are implementing a GitOps workflow where the desired state is stored in a private repository. The Argo CD controller requires access to this repository. What is the most secure GitOps-compliant way to provide this access?

Medium
61

What is the primary role of the 'Git' repository in the GitOps cycle?

Easy
62

Which THREE features of Kubernetes are commonly used to support GitOps?

Hard
63

Which of these is the most suitable tool to use as the 'Git' component of GitOps?

Easy
64

You are configuring an automated GitOps pipeline. How do you prevent 'drift' from occurring due to out-of-band changes?

Hard
65

An application is failing because a developer accidentally edited a ConfigMap in the cluster directly. Which GitOps feature prevents this from recurring?

Medium
66

You need to ensure that no one can modify cluster resources manually. How can you implement this in a GitOps-mature organization?

Hard
67

You are implementing GitOps for a legacy application. Why might this be challenging?

Hard
68

Which TWO practices are recommended when managing Git repositories for GitOps?

Medium
69

An organization is implementing GitOps across its infrastructure using Kubernetes and Flux. Which TWO statements accurately describe core characteristics of the 'Automated Pull-Based Reconciliation' principle?

Medium
70

Which TWO tools are commonly associated with the 'GitOps' ecosystem?

Medium
71

In a large enterprise, why is GitOps preferred for multi-cluster environments?

Medium
72

A developer updates a Helm release values file in Git to change a ConfigMap key. How does the GitOps pull-based agent determine that reconciliation is necessary?

Easy
73

Which THREE of the following are common GitOps tools used in the CNCF ecosystem?

Easy
74

What is the recommended way to handle secrets in GitOps?

Medium
75

In GitOps, what does 'Self-Healing' mean?

Hard
76

Which THREE mechanisms can be used to notify a GitOps controller of a change in Git?

Hard
77

You are debugging a GitOps deployment. The controller shows 'OutOfSync' but the cluster seems to be running correctly. What is the most likely cause?

Hard
78

Which THREE are standard ways to implement GitOps with Helm?

Hard
79

An administrator notices that an engineer manually modified a Service loadBalancerIP in the Kubernetes live cluster using 'kubectl edit'. The cluster is managed by an automated GitOps engine configured in a pull-based model. What will happen during the next reconciliation cycle?

Medium
80

Which of the following is NOT a benefit of the GitOps model?

Easy
81

What is a 'GitOps Operator'?

Hard
82

What is the relationship between the 'desired state' and the 'actual state' in GitOps?

Easy
83

Which TWO of the following are primary benefits of storing immutable state in Git?

Medium
84

Which TWO are examples of 'Drift' in a GitOps environment?

Medium
85

A senior cloud architect is designing a multi-tenant platform using GitOps. They want to ensure that continuous drift detection and correction operate reliably without causing system instability. Which TWO practices help mitigate risks associated with automated continuous drift correction?

Hard
86

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?

Hard
87

In a GitOps environment, an engineer manually deletes a Deployment via 'kubectl'. What should happen next to maintain the desired state?

Medium
88

You are troubleshooting a Flux controller that is not reconciling changes. The Git repository is updated, but the cluster remains unchanged. Which component should you inspect first to verify the 'automated pull-based reconciliation'?

Hard
89

Which of the following actions best aligns with the GitOps principle of 'Automated Pull-Based Reconciliation'?

Easy
90

What is the primary advantage of storing Kubernetes manifests in a version-controlled repository?

Medium
91

A company is choosing between a push-based CI/CD pipeline (e.g., executing 'kubectl apply' from GitHub Actions) and a pull-based GitOps controller (e.g., Argo CD or Flux). Which security advantage is uniquely provided by adopting the pull-based architecture?

Medium
92

What happens when you delete an application from the Argo CD dashboard without deleting the Git repository?

Hard
93

When utilizing Git as the 'Source of Truth' for a cluster, what happens if the cluster state diverges from Git?

Medium
94

Which THREE components are essential for a robust pull-based GitOps deployment?

Hard
95

When defining a declarative desired state in Kubernetes, which attribute is essential to satisfy the 'declarative' principle?

Medium
96

Which TWO benefits does GitOps provide for team collaboration?

Medium
97

Which THREE principles are foundational to the GitOps model as defined by the CNCF GitOps Working Group?

Hard
98

Which TWO characteristics help ensure a GitOps repository is auditable?

Medium

Frequently asked questions

What does the Gitops Principles domain cover on the CGOA exam?
Gitops Principles questions test whether you can apply the concept in context, not just recognise a definition.
How many questions are in this domain?
This page lists all 98 Gitops Principles questions in the CGOA question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
What is the best way to practise this domain?
Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
Can I practise only Gitops Principles questions?
Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.
Certified GitOps Associate (CGOA, CNCF/Linux Foundation) (CGOA) Gitops Principles Practice Questions