Interview Q&A · questions with model answers

CI/CD & Deployment Interview Questions

Part of the study plan for: DevOps Engineer · Site Reliability Engineer (SRE) · QA Engineer / SDET

Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.

  1. Most asked What's the difference between continuous integration, continuous delivery and continuous deployment?

    Continuous integration merges small changes frequently and verifies each with automated builds and tests. Continuous delivery keeps the main branch always releasable, with deployment to production a…

  2. Most asked Compare rolling, blue-green and canary deployments.

    Rolling deployments replace instances gradually; blue-green deploys a full new environment and switches traffic at once (instant rollback by switching back); canary releases send a small percentage…

  3. Most asked What's the difference between liveness and readiness probes?

    Readiness says whether an instance should receive traffic (dependencies ready, warmed up); failing removes it from load balancing without restarting. Liveness says whether the process is stuck;…

  4. What are self-hosted vs managed CI runners, and when do you choose each?

    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…

  5. What are the CI/CD trade-offs of monorepos vs polyrepos?

    Monorepos simplify atomic cross-project changes and shared tooling but need build tools that detect affected projects (Nx, Turborepo, Bazel) to keep CI fast. Polyrepos give independent pipelines and…

  6. When would you choose serverless functions vs containers vs VMs for deployment?

    Serverless suits event-driven, spiky or low-traffic workloads with minimal ops (but has cold starts, time limits, and vendor coupling); containers suit long-running services with consistent…

Was this page helpful?

Report a mistake