CI/CD Interview Questions
Continuous integration & delivery pipelines, Jenkins, GitHub Actions and GitLab CI, build artifacts & caching, blue-green/canary/rolling deployments, automated testing, quality gates, rollbacks, secrets management and pipeline security.
61 questions
Popular Searches
1. What is CI/CD and what problems does it solve in software delivery?
easyCI/CD Fundamentals 6 mins2. What is the difference between continuous integration, continuous delivery, and continuous deployment?
mediumCI/CD Concepts 6 mins3. What is a CI/CD pipeline and what are its typical stages?
mediumPipelines 6 mins4. What is Jenkins and how does it fit into a CI/CD workflow?
easyJenkins 5 mins5. What is the difference between a Jenkins freestyle project and a pipeline?
mediumJenkins 6 mins6. What is a Jenkinsfile and what is pipeline as code?
mediumPipeline as Code 6 mins7. What is the difference between a declarative and a scripted Jenkins pipeline?
mediumJenkins Pipelines 6 mins8. What are Jenkins agents (nodes) and how does distributed builds work?
mediumJenkins Architecture 6 mins9. How do Jenkins stages, steps, and post conditions work?
easyJenkins Pipelines 5 mins10. What is GitHub Actions and how do workflows, jobs, and steps work?
easyGitHub Actions 6 mins11. What is a GitHub Actions runner and what is the difference between hosted and self-hosted runners?
mediumRunners 7 mins12. What are GitHub Actions secrets and how do you manage them securely?
mediumSecurity 7 mins13. What is GitLab CI and how does the .gitlab-ci.yml file work?
mediumGitLab CI 7 mins14. What is the difference between a build artifact and a cache in CI/CD?
mediumPipeline Optimization 7 mins15. How do you handle secrets and credentials in a CI/CD pipeline?
hardPipeline Security 8 mins16. What is a build matrix in CI/CD and why is it useful?
mediumPipelines 6 mins17. What is the difference between blue-green deployment and canary deployment?
mediumDeployment Strategies 7 mins18. What is a rolling deployment and how does it minimize downtime?
mediumDeployment Strategies 6 mins19. How do you implement automated testing in a CI/CD pipeline?
mediumPipeline Testing 7 mins20. What is the difference between a smoke test and a full regression test in CI/CD?
easyTest Strategy 6 mins21. How do you handle rollbacks in a CI/CD pipeline?
hardDeployment Strategy 8 mins22. What is trunk-based development and how does it relate to CI/CD?
mediumBranching Strategy 6 mins23. What is the difference between a webhook trigger and a scheduled trigger in CI/CD?
easyPipeline Triggers 5 mins24. How do you speed up a slow CI/CD pipeline?
hardPipeline Optimization 7 mins25. What is a deployment environment (dev, staging, production) and how do promotions work?
easyEnvironments 6 mins26. What is infrastructure as code's role in CI/CD?
mediumInfrastructure as Code 7 mins27. How do you enforce quality gates in a CI/CD pipeline?
mediumQuality Gates 7 mins28. What is the difference between a self-hosted and a cloud-hosted CI/CD system?
mediumCI/CD Infrastructure 6 mins29. How do you monitor and observe a CI/CD pipeline?
mediumObservability 7 mins30. What are common security best practices for CI/CD pipelines?
hardPipeline Security 8 mins31. How do you triage and eliminate flaky tests in a CI pipeline?
hardPipeline Testing 9 mins32. How do you design CI caching keys and prevent cache poisoning?
hardPipeline Performance 9 mins33. How do you promote one immutable artifact across environments instead of rebuilding per stage?
hardRelease Engineering 9 mins34. How do you give CI runners cloud access without long-lived static credentials?
hardPipeline Security 9 mins35. How do you establish build provenance and protect the CI supply chain?
hardPipeline Security 10 mins36. How do rollback mechanics differ between blue-green and canary deployments in practice?
hardDeployment Strategies 10 mins37. How do you build only the affected projects in a monorepo pipeline?
hardPipeline Architecture 9 mins38. How do you isolate and harden self-hosted CI runners?
hardPipeline Security 9 mins39. How do you instrument a CI/CD pipeline so you can debug it like a production system?
hardPipeline Operations 10 mins40. How do you run database migrations safely in a continuous deployment pipeline?
hardRelease Engineering 10 mins41. How does a merge queue keep a busy main branch green, and where does it break down?
hardPipeline Operations 9 mins42. How do you version, test and safely roll out shared reusable pipeline components?
hardPipeline Architecture 9 mins43. A build passes locally but fails in CI. How do you diagnose and permanently fix that class of problem?
hardPipeline Debugging 10 mins44. How do you make container image builds both fast and reproducible inside CI?
hardBuild Optimisation 10 mins45. How do you implement auditable change approvals in a pipeline without reverting to manual releases?
hardGovernance and Compliance 10 mins46. How do you split testing between pre-merge and post-merge stages when the full suite is too slow to gate every change?
hardPipeline Architecture 10 mins47. How do you manage feature flags in a continuous deployment pipeline, including retiring them?
hardProgressive Delivery 10 mins48. Developers say CI is slow but job durations are unchanged. How do you diagnose and fix runner capacity problems?
hardPipeline Performance 10 mins49. How do you automate version numbering and release notes without letting the pipeline publish the wrong thing?
mediumRelease Engineering 9 mins50. How does GitOps pull-based delivery differ from pipeline-push deployment, and when would you choose each?
hardDeployment Models 10 mins51. How do you automate dependency updates without letting the automation become a supply-chain weak point?
hardSupply Chain Security 10 mins52. A CI job intermittently fails with an out-of-memory kill or no space left on device. How do you debug and fix it?
hardPipeline Debugging 10 mins53. How do you run a flaky-test quarantine policy without quietly losing coverage?
hardTest Reliability 9 mins54. Why must a pull request from a fork never receive your pipeline secrets?
hardPipeline Security 10 mins55. How do you make a build reproducible bit-for-bit, and why does it matter for release integrity?
hardBuild Integrity 10 mins56. How does progressive delivery with automated analysis work, and what makes the rollout abort correctly?
hardDeployment Strategies 10 mins57. How do you roll back a deployment when the database migration cannot be undone?
hardDatabase Delivery 10 mins58. How do you measure lead time for changes and change failure rate honestly?
mediumDelivery Metrics 9 mins59. Trunk-based development or long-lived branches — which actually delivers faster, and why?
mediumBranching Strategy 9 mins60. How do you decide what to cache versus rebuild in CI, and when does caching make things worse?
mediumPipeline Performance 9 mins61. How do you debug tests that pass individually but fail when the suite runs in parallel in CI?
hardPipeline Debugging 10 mins