Interview Prep/Real-World Interview/CI/CD pipeline deep-dive

How did you secure your CI runners?

AdvancedBehavioralCI/CD pipeline deep-dive
Answer

Good answer looks like → "Ephemeral self-hosted runners on Kubernetes via Actions Runner Controller, one pod per job, destroyed after. No Docker socket mounted; image builds used BuildKit rootless. Runners for public repos were separate and never ran on fork PRs with secrets. Runner IAM roles were scoped per repo through OIDC, not attached to the node."

Follow-ups to expect → Why not persistent runners? What about pull_request_target? How did you stop runners reaching production networks?

Red flags → A persistent shared runner with Docker socket access and admin credentials on disk.

All Real-World Interview questions Roadmap: Interview readiness

More on CI/CD pipeline deep-dive