GitOps with Argo CD›Modules · Cheat sheet & self-check
Learning Hub / Delivery & Infrastructure as Code / GitOps with Argo CD

Modules · wrap-up

Cheat sheet & self-check

21 questions across 7 lessons. Each answer links back to the lesson it came from.

Pick an answer to see if you got it, and why.

  1. Q1. What's the key difference between push-based CD and GitOps (pull-based)?

    Show answer

    B. Pull keeps cluster credentials inside the cluster and corrects drift continuously, not only when a pipeline runs.

    From lesson 01 · GitOps principles & Argo CD architecture
  2. Q2. Someone runs kubectl edit on a Deployment that Argo CD manages. What happens?

    Show answer

    B. Git is the source of truth. Drift is detected, and with self-heal it's corrected automatically.

    From lesson 01 · GitOps principles & Argo CD architecture
  3. Q3. Which Argo CD component renders Helm charts and Kustomize overlays into plain manifests?

    Show answer

    B. The repo-server clones the repository and produces the manifests the controller compares with the live cluster.

    From lesson 01 · GitOps principles & Argo CD architecture
  4. Q4. What does `prune: true` in an automated sync policy do?

    Show answer

    B. Without prune, resources deleted from Git stay in the cluster (the app shows OutOfSync). With prune, Argo CD deletes them.

    From lesson 02 · Installing Argo CD & the first app
  5. Q5. What does `selfHeal: true` add to automated sync?

    Show answer

    B. Automated sync alone reacts to new commits; self-heal also reverts manual changes.

    From lesson 02 · Installing Argo CD & the first app
  6. Q6. With automated sync enabled, what's the GitOps way to roll back a bad release?

    Show answer

    B. Rolling back in the cluster without changing Git gets undone by the next sync. (Argo CD's rollback command is refused while automated sync is on.)

    From lesson 02 · Installing Argo CD & the first app
  7. Q7. What is the App-of-Apps pattern?

    Show answer

    B. Adding a child is a Git commit; the root app syncs it into existence. One manual apply bootstraps everything.

    From lesson 03 · App-of-Apps pattern
  8. Q8. Why put apps in AppProjects instead of 'default'?

    Show answer

    B. The default project allows everything. Projects are Argo CD's multi-tenancy guard rails.

    From lesson 03 · App-of-Apps pattern
  9. Q9. You delete a child Application that has the resources finalizer. What happens?

    Show answer

    B. With the finalizer, deletion cascades. Without it, the resources are left running but unmanaged.

    From lesson 03 · App-of-Apps pattern
  10. Q10. How does Argo CD apply a Helm chart?

    Show answer

    B. Argo CD owns the lifecycle. Helm hooks are mapped to Argo CD hooks, and `helm list` won't show the app.

    From lesson 04 · Helm & Kustomize with Argo CD
  11. Q11. What's a clean way to keep dev, staging and prod differences with Kustomize?

    Show answer

    B. Overlays keep the common part in one place, and the diff between environments is small and reviewable.

    From lesson 04 · Helm & Kustomize with Argo CD
  12. Q12. How do you promote a new image from staging to prod in GitOps?

    Show answer

    B. Promotion is a Git change, so it's reviewed, recorded and revertible.

    From lesson 04 · Helm & Kustomize with Argo CD
  13. Q13. What does an ApplicationSet do?

    Show answer

    B. One ApplicationSet can create hundreds of Applications, and it adds or removes them as clusters or folders come and go.

    From lesson 05 · Multi-cluster management
  14. Q14. You label a newly registered cluster env=prod. With a cluster generator selecting env=prod, what happens?

    Show answer

    B. Labels become the interface: the fleet's shape is described by data, not by hand-made Applications.

    From lesson 05 · Multi-cluster management
  15. Q15. Hub-and-spoke (one Argo CD managing many clusters) vs Argo CD in every cluster: a key trade-off?

    Show answer

    B. Many fleets mix both: a hub for central clusters and local Argo CD (or pull agents) for disconnected edge sites.

    From lesson 05 · Multi-cluster management
  16. Q16. Your app needs a database migration Job to finish before the new Deployment rolls out. How?

    Show answer

    B. PreSync hooks run before the main sync, and a failed hook stops the sync, so the new version never starts against an unmigrated database.

    From lesson 06 · Sync policies, hooks & waves
  17. Q17. An HPA scales a Deployment to 7 replicas, but Git says 3, and Argo CD keeps resetting it. Fix?

    Show answer

    B. When another controller owns a field, tell Argo CD to ignore it. Otherwise self-heal and the HPA fight forever.

    From lesson 06 · Sync policies, hooks & waves
  18. Q18. How does Argo CD order resources inside a sync phase?

    Show answer

    B. Waves give you explicit control on top of the built-in kind ordering.

    From lesson 06 · Sync policies, hooks & waves
  19. Q19. How should teams log in to a production Argo CD?

    Show answer

    B. SSO gives individual identity and offboarding; group-based RBAC keeps permissions manageable.

    From lesson 07 · Production patterns
  20. Q20. A commit removed a folder, and prune deleted a namespace with a database PVC. What prevents this next time?

    Show answer

    B. Prune is correct behaviour given the commit. Guard critical objects explicitly, and make deletions visible in review.

    From lesson 07 · Production patterns
  21. Q21. What's the GitOps-friendly way to handle secrets?

    Show answer

    B. Git history is permanent and widely read. Store only encrypted data or references.

    From lesson 07 · Production patterns