Hands-on Projects — Build It End to End›CI/CD pipelines · Cheat sheet & self-check

CI/CD pipelines · wrap-up

Cheat sheet & self-check

6 questions across 2 lessons. Each answer links back to the lesson it came from.

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

  1. Q1. Why tag images with the Git commit SHA instead of `latest`?

    Show answer

    B. With a mutable `latest`, the Deployment spec doesn't change, so no rollout happens, and you can't tell what's running.

    From lesson 01 · AWS VMs → kubeadm → Cilium → Jenkins deploys from Git
  2. Q2. Your kubeadm nodes on EC2 can't pull images from a private ECR repository. Why, and what fixes it?

    Show answer

    B. EKS nodes handle this for you; self-managed clusters must configure it.

    From lesson 01 · AWS VMs → kubeadm → Cilium → Jenkins deploys from Git
  3. Q3. Why give Jenkins a namespace-scoped ServiceAccount instead of admin.conf?

    Show answer

    B. CI systems are high-value targets. The next project removes cluster credentials from CI entirely (GitOps).

    From lesson 01 · AWS VMs → kubeadm → Cilium → Jenkins deploys from Git
  4. Q4. What's the key security difference between project 1 and this design?

    Show answer

    B. Pull-based delivery keeps cluster credentials inside the cluster.

    From lesson 02 · The same pipeline, GitOps style with Argo CD
  5. Q5. Why keep a separate GitOps repo instead of putting manifests in the app repo?

    Show answer

    B. Separating 'code changed' from 'desired state changed' keeps both clean. (A single repo works for small setups with care.)

    From lesson 02 · The same pipeline, GitOps style with Argo CD
  6. Q6. How do you roll back in this setup?

    Show answer

    B. Git is the source of truth; roll back where the truth lives.

    From lesson 02 · The same pipeline, GitOps style with Argo CD