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.
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 architectureQ2. 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 architectureQ3. 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 architectureQ4. 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 appQ5. 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 appQ6. 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 appQ7. 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 patternQ8. 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 patternQ9. 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 patternQ10. 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 CDQ11. 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 CDQ12. 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 CDQ13. 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 managementQ14. 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 managementQ15. 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 managementQ16. 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 & wavesQ17. 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 & wavesQ18. 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 & wavesQ19. 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 patternsQ20. 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 patternsQ21. 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