CI/CD & Deployment interview question
What are self-hosted vs managed CI runners, and when do you choose each?
Comparison Asked in DevOps Engineer · Site Reliability Engineer (SRE) · QA Engineer / SDET interviews
Summary
Managed runners (GitHub-hosted, GitLab SaaS runners) are maintained by the CI provider — no infrastructure to manage, but limited customisation and potentially slower for large builds. Self-hosted runners run on your own infrastructure — full control over hardware, network and software, but you maintain them.
Keep reading with a membership
The full answer with examples, key points and comparisons is part of the membership, along with every other interview answer, progress tracking and Daily Review. Most-asked answers stay free to read.
More CI/CD & Deployment questions
- What is shift-left testing, and what security scanning belongs in a CI pipeline?
- What are best practices for writing Dockerfiles?
- How do you handle flaky tests in CI?
- How would you design CI/CD for a microservices architecture?
- What's the difference between continuous integration, continuous delivery and continuous deployment?
- How do you promote a single build artifact from development through staging to production?
- Compare rolling, blue-green and canary deployments.
- What stages does a typical CI/CD pipeline contain?