Interview Q&A · questions with model answers

DevOps Engineer Interview Questions

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

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 Design a CI/CD pipeline for a containerised microservice from commit to production.

    On every commit: build once, run fast checks (lint, unit tests, static analysis), build and scan the container image, publish it with an immutable tag, run integration tests against it, then promote…

  2. Most asked Design an end-to-end CI/CD and GitOps setup for 50 microservices, with testing, security scanning, artifact management and production deployment.

    Each service's CI builds once per commit: test, scan, build an image tagged with the commit SHA, sign it, attach an SBOM and push it to a registry. CD is GitOps: a separate config repository (Helm…

  3. Design an internal delivery platform so twelve product teams can deploy daily.

    Provide a golden path: templated CI pipelines (test, build once tagged by SHA, scan, sign), a standard runtime with sane defaults (probes, graceful shutdown, resources), GitOps promotion of the same…

  4. How would you enforce common security controls across hundreds of CI/CD pipelines so teams can't bypass them?

    Put the controls where teams can't remove them: shared, versioned pipeline templates that run the scans, branch protection and required status checks, and, most importantly, enforcement at deploy…

  5. Your organisation manages development, QA, staging and production by hand. Design automation with Terraform, Ansible and GitOps.

    Codify each layer and make Git the only way to change it: Terraform modules provision the cloud resources per environment, Ansible (or images built with Packer) configures any VMs, and Kubernetes…

Was this page helpful?

Report a mistake