CI/CD Interview Questions
Pipeline design and speed, testing strategy, artifacts and supply chain, deployment strategies from rolling to canary, secrets and CI security, and the observability that makes rollback fast.
Showing 1–20 of 100
#1What is continuous integration, and what does it actually require?
#2What is the difference between continuous delivery and continuous deployment?
#3What makes a CI pipeline trustworthy?
#4What should run on every commit versus on merge to main?
#5Why does pipeline speed matter so much?
#6What is a build artifact and why does immutability matter?
#7What does a reproducible build mean and why is it hard?
#8What belongs in version control and what does not?
#9What is the difference between a pipeline stage, a job, and a step?
#10What is the difference between a self-hosted and a managed CI runner?
#11How do you handle a monorepo in CI?
#12What is a merge queue and what problem does it solve?
#13How would you structure a pipeline for a typical backend service?
#14How do you make a pipeline faster?
#15How does caching work in CI and what are the pitfalls?
#16What is the difference between a matrix build and parallel jobs?
#17How should pipelines handle database migrations?
#18What is pipeline as code and why does it matter?
#19How do you handle environment-specific configuration?
#20What is a deployment gate and when is a manual approval useful?
Showing 1–20 of 100
Ask Aria about CI/CD
Sign in to chat with Aria
All 100 CI/CD questions at a glance
- What is continuous integration, and what does it actually require?(Medium)
- What is the difference between continuous delivery and continuous deployment?(Medium)
- What makes a CI pipeline trustworthy?(Medium)
- What should run on every commit versus on merge to main?(Medium)
- Why does pipeline speed matter so much?(Medium)
- What is a build artifact and why does immutability matter?(Medium)
- What does a reproducible build mean and why is it hard?(Hard)
- What belongs in version control and what does not?(Easy)
- What is the difference between a pipeline stage, a job, and a step?(Easy)
- What is the difference between a self-hosted and a managed CI runner?(Medium)
- How do you handle a monorepo in CI?(Hard)
- What is a merge queue and what problem does it solve?(Hard)
- How would you structure a pipeline for a typical backend service?(Medium)
- How do you make a pipeline faster?(Medium)
- How does caching work in CI and what are the pitfalls?(Medium)
- What is the difference between a matrix build and parallel jobs?(Medium)
- How should pipelines handle database migrations?(Hard)
- What is pipeline as code and why does it matter?(Medium)
- How do you handle environment-specific configuration?(Medium)
- What is a deployment gate and when is a manual approval useful?(Medium)
- How do you structure pipelines for multiple environments?(Medium)
- What should happen when the pipeline fails on main?(Medium)
- How do you version and tag releases in a pipeline?(Medium)
- What is GitOps?(Hard)
- How do you test the pipeline itself?(Medium)
- How do you handle a pipeline that needs to deploy several services together?(Hard)
- What is a flaky test and why is it worse than a failing one?(Medium)
- How should tests be split across a pipeline?(Medium)
- How do you run integration tests that need a database?(Medium)
- What is code coverage good for and how is it misused?(Medium)
- How do you handle tests that need external services?(Medium)
- What are contract tests and when do you need them?(Hard)
- How do you keep end-to-end tests useful rather than a burden?(Medium)
- What is the difference between smoke tests and full test suites in deployment?(Medium)
- How do you test infrastructure as code?(Hard)
- How do you deal with a slow test suite you inherited?(Medium)
- What is shift-left testing?(Medium)
- How do you prevent a pipeline check from becoming a rubber stamp?(Medium)
- How do you test a change that only manifests under load?(Hard)
- What is the role of static analysis and linting in CI?(Medium)
- How do you write an efficient Dockerfile for CI?(Medium)
- What is a multi-stage Docker build and why use one?(Medium)
- How do you handle build secrets without baking them into an image?(Hard)
- How should you tag container images?(Medium)
- What is an artifact repository and why do you need one?(Medium)
- Why do dependency lock files matter for CI?(Medium)
- What is an SBOM and why does it matter?(Hard)
- How do you handle a dependency with a known vulnerability?(Medium)
- What is the difference between a build and a release?(Medium)
- How do you manage versioning for a library versus a service?(Medium)
- What is supply chain security in a CI context?(Hard)
- Why should you pin CI actions and base images by digest?(Hard)
- What is a rolling deployment and what can go wrong?(Medium)
- What is blue-green deployment?(Medium)
- What is a canary deployment and how do you decide whether to proceed?(Hard)
- How do feature flags change deployment?(Medium)
- What is a shadow or dark launch?(Hard)
- How do you achieve zero-downtime deployment?(Hard)
- How do you roll back safely?(Hard)
- What is expand and contract for database changes?(Hard)
- How do you deploy to multiple regions?(Hard)
- What is progressive delivery?(Medium)
- How do you handle deployment of a stateful service?(Hard)
- What health checks does a deployment need?(Medium)
- What is the difference between imperative and declarative deployment?(Medium)
- How do you deploy configuration changes safely?(Medium)
- What is immutable infrastructure?(Medium)
- How do you decide between rolling, blue-green and canary?(Medium)
- What makes a good container image for production?(Medium)
- How does Docker layer caching work and how do you use it well?(Medium)
- How do you scan container images for vulnerabilities?(Medium)
- What is image signing and provenance?(Hard)
- What is a registry retention policy and why does it matter?(Medium)
- How do you build container images inside a container?(Hard)
- Why should containers run as non-root?(Medium)
- What is the difference between CMD and ENTRYPOINT, and why does it matter for signals?(Hard)
- How do you handle logs from containers?(Medium)
- What resource requests and limits should a container have?(Hard)
- How should secrets be handled in a pipeline?(Medium)
- What is OIDC federation for CI and why is it better than stored credentials?(Hard)
- What are the security risks of running CI on pull requests?(Hard)
- How do you prevent secrets being committed?(Medium)
- What permissions should a pipeline have?(Medium)
- What is SAST, DAST and SCA, and where do they belong?(Medium)
- How do you secure a self-hosted runner?(Hard)
- What is the risk of third-party CI actions and how do you manage it?(Hard)
- How do you handle compliance requirements in a pipeline?(Hard)
- What should never be logged by a pipeline?(Medium)
- How do you handle an emergency deployment safely?(Medium)
- What is the blast radius of compromising a CI system?(Hard)
- What are the DORA metrics and what do they tell you?(Medium)
- How do you know a deployment succeeded?(Medium)
- How do you correlate a production problem with a deployment?(Medium)
- What is automated rollback and when should it trigger?(Hard)
- What should be monitored about the pipeline itself?(Medium)
- How do you debug a pipeline failure that does not reproduce locally?(Medium)
- What is a post-incident review and how does it relate to the pipeline?(Medium)
- How do you reduce the time to restore service?(Medium)
- How do you introduce CI/CD to a team that has none?(Medium)
- What distinguishes a good pipeline from one that merely works?(Medium)