Home/Interview prep/DevOps Tools

Walk into the interview already prepared.

Timed mock tests and model answers written by working engineers, for every level from fresher to lead. Pick any of our 75 courses below.

Topic: DevOps & CI/CD. Questions are shared by related courses. View the DevOps Tools course →

All DevOps Tools interview questions at a glance+

Fresher (0–3 years): Junior DevOps Engineer

  1. Describe a CI/CD pipeline you would build for a web app.
  2. What is the difference between git merge and git rebase?
  3. What is Docker and why use it?
  4. What is infrastructure as code and what are its benefits?
  5. What is the main goal of DevOps?
  6. Which command creates a new branch and switches to it?
  7. What does continuous integration mean?
  8. What is a Docker image?
  9. What does infrastructure as code mean?
  10. git pull is equivalent to…
  11. What does a Jenkinsfile define?
  12. Continuous delivery vs continuous deployment?

Mid-level (3–8 years): DevOps Engineer

  1. A deployment broke production. Walk me through your response.
  2. How do you manage secrets in CI/CD pipelines?
  3. How do you structure Terraform for multiple environments?
  4. Compare blue/green, canary and rolling deployments.
  5. What does the Terraform state file store?
  6. How should a team share Terraform state?
  7. A pipeline takes 40 minutes. What is the best first fix?
  8. How do you produce smaller, safer container images?
  9. Which strategy sends a small percentage of traffic to the new version first?
  10. What is trunk-based development?
  11. Ansible is best described as…
  12. Which DORA metric measures how long a commit takes to reach production?

Experienced (8–15 years): Senior DevOps / Platform Lead

  1. How would you lead a DevOps transformation in a traditional IT organisation?
  2. Design a CI/CD platform for 100 developers.
  3. How do you reduce the change failure rate?
  4. How do you decide whether to build or buy DevOps tooling?
  5. What is the best sign that a DevOps transformation is working?
  6. How do you stop non-compliant infrastructure before it is applied?
  7. A monorepo with 50 services rebuilds everything on every commit. Best fix?
  8. How do you establish trust in the container supply chain?
  9. What is a platform team's main product?
  10. How do you manage releases across many teams?
  11. Drift is detected in production infrastructure. What do you do?
  12. The error budget for a service is used up. What happens?