Blog
50 CI/CD (Continuous Integration / Continuous Delivery & Deployment) basics interview questions
- February 6, 2026
- Posted by: InterviewExpert.org
- Category: Backend Interview Preparation Dev Ops
No Comments
Fundamental CI/CD Basics
- What is CI/CD? (Continuous Integration, Delivery, Deployment)
- What are benefits of CI/CD?
- Explain Continuous Integration (CI).
- Explain Continuous Delivery vs Continuous Deployment.
- What’s a CI/CD pipeline?
- How do version control systems (like Git) integrate into CI/CD?
- What is a build server?
- What are common CI/CD tools? (e.g., Jenkins, GitHub Actions, GitLab CI)
- How does automated testing fit into CI/CD?
- What are build artifacts?
- What is the role of version control in CI/CD?
- What constitutes a successful CI pipeline?
- What is trunk-based development?
- What are some CI/CD metrics (e.g., MTTR, change failure rate)?
- What is pipeline monitoring?
Tools, Configs & Implementation
- What is a Jenkins pipeline?
- What is a .gitlab-ci.yml file?
- Explain stages and jobs in GitLab CI/CD.
- How do you configure environment variables in CI/CD tools?
- What is a GitLab Runner?
- How do you create a basic pipeline in Jenkins?
- Explain caching in CI/CD.
- What is artifact management?
- How do you define conditional steps/execution in a CI workflow?
- What deployment tools integrate with CI/CD? (e.g., Terraform, Helm)
Deployment Strategies
- What is blue-green deployment?
- What is canary deployment?
- What is rolling deployment?
- What is feature flag deployment? (Often asked)
- How would you automate rollback?
Security & Best Practices
- How do you manage secrets in pipelines?
- What are CI/CD security best practices?
- How do you ensure compliance/audit trails? (Common in MNCs)
- Why should testing be automated in CI?
- How do you reduce flaky tests in CI?
Testing & Quality
- What types of tests are run in CI/CD? (Unit, Integration, E2E)
- How do you measure test coverage?
- What do you do when tests fail in the pipeline? (Situational)
- What’s the role of code quality analysis tools in CI/CD? (Best practice)
- When should manual approval gates be used?
Scenario & Behavioral
- Describe setting up a CI/CD pipeline from scratch.
- How would you migrate an existing project into CI/CD?
- How would you troubleshoot a broken deployment? (Very commonly asked)
- What issues have you faced with CI pipelines? (Experience-based)
- How do you ensure high availability in CI/CD tools?
- What KPIs do you track to optimize CI/CD performance?
- How do you handle database migrations in CI/CD?
- What’s your experience with cloud CI/CD (AWS / Azure / GCP)? (Often asked)
- How do microservices affect CI/CD design?
- What CI/CD challenges occur with monorepos?