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 Trunk-based development or GitFlow: which do you prefer, and why?

    Trunk-based development (short-lived branches merged to main at least daily, kept releasable, with unfinished work behind feature flags) supports continuous delivery and is associated with higher…

  2. Most asked Explain the difference between L4 and L7 load balancers and when to use each.

    An L4 (transport-layer) load balancer forwards TCP/UDP connections based on IPs and ports without understanding the protocol: very fast, protocol-agnostic, preserves end-to-end TLS. An L7…

  3. Most asked What is the difference between continuous integration, continuous delivery and continuous deployment, in practice?

    Continuous integration: everyone merges small changes to the main branch frequently, and each merge is built and tested automatically. Continuous delivery: every change that passes the pipeline is…

  4. Most asked Which Linux skills matter most for a DevOps engineer?

    Processes and signals, systemd services and logs (journalctl), file permissions and users, package management, networking tools (ip, ss, dig, curl, tcpdump), disk and filesystem management,…

  5. Mutable or immutable infrastructure: what is the difference?

    Mutable infrastructure is changed in place (SSH in, run updates, apply configuration management); immutable infrastructure is never modified after deployment: to change anything you build a new…

  6. What is the difference between a canary release, a feature flag and an A/B test?

    A canary release sends a small share of traffic to a new version of the software to check it is healthy before full rollout (a deployment safety technique). A feature flag turns functionality on or…

Was this page helpful?

Report a mistake