A DevOps roadmap can feel endless: a new tool ships every week. The good news is that DevOps interviews keep coming back to the same fundamentals: Linux and networking, containers, Kubernetes, CI/CD, infrastructure as code and monitoring. Above all, they test how you think when something breaks in production. This roadmap is ordered the way it's worth learning, and each step says what interviews test and where to practice.
TL;DR
- Linux
- Networking: DNS, TCP and TLS
- Docker and containers
- CI/CD
- Kubernetes
- Infrastructure as code
- Cloud
- Monitoring, SRE and incidents
Step 1: Linux
Everything runs on Linux. You should feel at home in a terminal: processes and signals, permissions, disk and memory, reading logs, and writing Bash scripts.
What interviews test: "the server is slow, what are your first steps?". They want a methodical approach: top, df, free, logs, and only then hypotheses.
Where to practice: Linux processes, troubleshooting a slow server.
Step 2: Networking
DNS, TCP, TLS and HTTP, load balancers and subnets. The classic "what happens when you type a URL?" gets asked in DevOps interviews down to packets and handshakes.
Where to practice: DNS, TCP and TLS.
Step 3: Docker and containers
How a container differs from a VM, how an image is built from layers, and how to write a small, fast and secure Dockerfile (multi-stage builds, a non-root user, layer caching).
Where to practice: containers vs. VMs, Dockerfile best practices.
Step 4: CI/CD
A typical pipeline (build, test, scan, deploy) and deployment strategies: rolling, blue-green and canary, and when each fits. GitOps with tools like Argo CD comes up more and more.
Where to practice: CI/CD fundamentals, deployment strategies, GitOps.
Step 5: Kubernetes
The topic most DevOps interviews focus on. Understand the architecture (control plane and nodes), workloads (Deployment, StatefulSet, DaemonSet), Services and Ingress, probes, requests and limits, ConfigMaps and Secrets.
What interviews test: failure scenarios. "A pod is in CrashLoopBackOff, what do you do?", "a Service isn't responding", "the rollout is stuck". They expect an order of operations: kubectl describe, kubectl logs, events, probes.
Where to practice: Kubernetes architecture, workloads, Kubernetes networking, probes and CrashLoopBackOff, scaling and resources, config and secrets.
Step 6: Infrastructure as code
Terraform is the standard: providers, modules and above all state. Why state matters, where to store it, and what happens when two people run apply at the same time. Terraform vs. Ansible is another common question.
Where to practice: Terraform state, Terraform vs. Ansible.
Step 7: Cloud
Pick one cloud (AWS is the most common in Israel, followed by GCP and Azure) and learn the core services: compute, networking (VPC, subnets, security groups), storage, and above all IAM and permissions.
Where to practice: cloud networking and IAM.
Step 8: Monitoring, SRE and incidents
Metrics, logs and traces, writing alerts that don't wake people up for nothing, SLIs, SLOs and error budgets, and running an incident and a postmortem.
Where to practice: monitoring and alerting, SLIs, SLOs and error budgets, incident response.
How long does it take?
If you already work in DevOps or as a developer who touches infrastructure, focused prep takes 3-6 weeks. Starting from zero, the best way to learn is to build: take a simple app, package it with Docker, run it on a local Kubernetes cluster, give it a pipeline and provision the infrastructure with Terraform. A project like that is also the best thing to talk about in an interview.
For a week-by-week plan, see how to prepare for a tech interview.