GitHub Actions — Level by Level›Level 2 · Cheat sheet & self-check

Level 2 — Secure and scale · wrap-up

Cheat sheet & self-check

12 questions across 4 lessons. Each answer links back to the lesson it came from.

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

  1. Q1. In ARC's scale-set mode, what happens when a job is queued?

    Show answer

    B. One job per fresh runner pod: clean state every time and autoscaling from minRunners to maxRunners.

    From lesson 05 · Actions Runner Controller
  2. Q2. Why is a GitHub App preferred over a personal access token for ARC?

    Show answer

    B. Organisation infrastructure shouldn't depend on one person's account and long-lived token.

    From lesson 05 · Actions Runner Controller
  3. Q3. A job needs to build a container image. Which trade-off comes with ARC's dind (Docker-in-Docker) mode?

    Show answer

    B. Privileged containers can reach the node. Choose the mode deliberately, and isolate runner nodes (lesson 06).

    From lesson 05 · Actions Runner Controller
  4. Q4. How does OIDC federation remove stored cloud keys from CI?

    Show answer

    B. No static secret exists to leak. Credentials last minutes and only match the workflows you trust.

    From lesson 06 · OIDC federation & secret hygiene
  5. Q5. Your AWS role trusts `repo:acme/*`. What's the risk?

    Show answer

    B. The subject condition is the whole security boundary. Make it as specific as possible.

    From lesson 06 · OIDC federation & secret hygiene
  6. Q6. Which secrets still need managing even with OIDC everywhere?

    Show answer

    B. OIDC removes cloud keys, but not every integration supports it, so secret hygiene still matters.

    From lesson 06 · OIDC federation & secret hygiene
  7. Q7. What does keyless signing with cosign in GitHub Actions use instead of a long-lived private key?

    Show answer

    B. No key to store or leak. Verification checks WHO signed (which repo/workflow) rather than which key.

    From lesson 07 · Supply chain: sign, attest, scan, verify
  8. Q8. What is build provenance?

    Show answer

    B. Provenance lets consumers check that an image came from the expected repo and pipeline (SLSA's central idea).

    From lesson 07 · Supply chain: sign, attest, scan, verify
  9. Q9. Where must signatures be verified to actually protect you?

    Show answer

    B. Signing without verification is decoration. Enforce it where images are admitted.

    From lesson 07 · Supply chain: sign, attest, scan, verify
  10. Q10. Why should self-hosted runners not be used for public repositories that accept fork PRs?

    Show answer

    B. A self-hosted runner executes whatever the workflow says. For untrusted code, use GitHub-hosted runners or heavily isolated, ephemeral ones with no network access to internal systems.

    From lesson 08 · Hardening the runner
  11. Q11. What makes ephemeral runners safer than long-lived ones?

    Show answer

    B. Persistence between jobs is how one compromised build poisons later ones, including release builds.

    From lesson 08 · Hardening the runner
  12. Q12. A runner pod on EKS uses the node's IAM role. What's wrong?

    Show answer

    B. Jobs should get only the credentials they explicitly request, never ambient node permissions.

    From lesson 08 · Hardening the runner