Skip to content

GitOps Questions

Practice questions for GitOps topic in Kubernetes and Cloud Native Associate. 16 questions covering this domain.

16 questions1 easy8 medium7 hard
Q1
medium

In a pull-based GitOps model, what typically applies the desired state to the cluster?

Q2
medium

Which statement best captures the source of truth in GitOps?

Q3
easy

What distinguishes a GitOps workflow from traditional CI/CD push deployments?

Q4
hard

A platform team adopts Argo CD for GitOps. A developer directly patches a Deployment in the production cluster using kubectl without updating the Git ...

Q5
medium

An engineer manually patches a Deployment with kubectl, but Flux is actively reconciling the environment from Git. What should happen if the Kustomiza...

Q6
hard

A team wants to bring up a brand new cluster and install Flux in a way that follows GitOps principles from the start. Which Flux action best fits?

Q7
medium

A Flux user wants to know which objects fetch content such as a Git repository and make an artifact available for later reconciliation. What are those...

Q8
hard

An operator needs to hotfix a live cluster object manually and does not want Flux to correct that drift for one application until later. What should t...

Q9
hard

A Flux Kustomization has a dependency on another Kustomization (spec.dependsOn). The dependent Kustomization is configured with a custom health check ...

Q10
medium

A Flux Kustomization is configured with spec.prune: true. An admin manually deletes a Deployment that was previously applied by Flux. What happens whe...

Q11
hard

A Flux Kustomization references another Kustomization via spec.dependsOn and specifies a custom readyExpr (CEL expression) to check readiness. The ref...

Q12
medium

A Flux Kustomization has multiple resources (Deployment, ConfigMap, Service). The Deployment depends on the ConfigMap for configuration data. A resour...

Q13
medium

In a GitOps workflow, where is the desired state of the system typically defined?

Q14
hard

A Flux-managed Deployment is also scaled by an HPA. The team wants Flux to stop reverting only the replica count while still reconciling the rest of t...

Q15
hard

A Flux Kustomization in namespace apps needs to use a GitRepository object stored in namespace shared. What must be set for that reference when cross-...

Q16
medium

A team adopts GitOps because manual changes keep causing configuration drift between environments. What is the core GitOps response to that problem?

Sign in to see all 16 questions

Create a free account to browse the questions included with the free plan.