DevOps interview questions 2026: system design infrastructure and troubleshooting guide

By Johnny Mai, Amazon AI/Robotics Lead PM & Ex-Microsoft Product Leader

---

TL;DR: The 2026 Bar for Elite Infra Talent

In 2026, the traditional boundaries of DevOps have dissolved. Standard infrastructure questions—like setting up a basic Jenkins pipeline or writing a terraform script for a three-tier app—are now junior-level tasks delegated to AI agents.

To land Staff, Principal, or Lead SRE/Platform positions at tier-1 tech firms (Amazon, Microsoft, Netflix, OpenAI), you must demonstrate mastery over:

  • Platform Engineering & IDPs (Internal Developer Platforms): Designing self-service developer portals (e.g., Backstage-driven ecosystems) running on Kubernetes with eBPF-based service meshes.
  • FinOps & Resource Optimization: Managing the exorbitant cost of compute. You must know how to architect for Graviton4/Cobalt 100 architectures and balance spot vs. on-demand allocations down to the millisecond.
  • GPU & LLMOps Infrastructure: Orchestrating dynamic training and inference clusters (NVIDIA H100/B200 fleets) using Kubernetes (Karpenter/KubeShare) with sub-millisecond network topologies (InfiniBand vs. RoCEv2).
  • Zero-Trust, Multi-Cloud Resiliency: High-availability system designs that tolerate entire cloud provider outages with zero RTO/RPO objectives.

This guide provides the exact system design scenarios, live troubleshooting patterns, and financial frameworks I use to evaluate candidates at Amazon.

---

Section 1: The 2026 DevOps & Platform Engineering Landscape

The role of the DevOps engineer has completed its transition to Platform Engineer. If you enter an interview loop in 2026 talking about manual Ansible deployments, you have already lost the role.

[Traditional DevOps: Ops Silo] ──> [Platform Engineering 2026: Self-Service Ecosystem]
                                        ├── IDP (Internal Developer Platform)
                                        ├── eBPF Observability (Cilium)
                                        └── Dynamic Cloud/GPU Provisioning (Karpenter)

At scale, enterprise infrastructure is managed via Internal Developer Platforms (IDPs) built on top of Kubernetes, backed by GitOps (ArgoCD) and automated using infrastructure-as-code control planes (Crossplane/Terraform).

Furthermore, AIOps and eBPF (Extended Berkeley Packet Filter) have transformed observability. We no longer inject bloated sidecars into every pod; we monitor at the kernel level.

Modern Compute & Infrastructure Comparison (2026 Baseline)

| Parameter | AWS (Graviton4 / Trainium2) | Azure (Cobalt 100 / Maia 100) | GCP (Axion / TPU v5p) |

| :--- | :--- | :--- | :--- |

| Primary Use Case | Ultra-low latency microservices, dynamic AI workloads | Enterprise Microsoft-heavy workloads, massive-scale LLMs | High-performance AI training, data-heavy analytics |

| Compute Cost Efficiency | Up to 40% better price-performance vs. x86 | ~35% efficiency gain over Intel Sapphire Rapids | Highly optimized for native Tensorflow/JAX ML pipelines |

| Default Container Engine | EKS + Karpenter | AKS + KEDA | GKE + Autopilot |

| Observability Standard | eBPF (Cilium) + Amazon Managed Prometheus | eBPF + Azure Monitor Container Insights | eBPF + Google Cloud Managed Service for Prometheus |

---

Section 2: High-Yield System Design Scenarios

During system design panels, we look for your ability to design systems that are resilient, fiscally responsible, and highly automated. Below are two architectures frequently tested in modern interviews.

Scenario 1: Designing a Globally Distributed, Active-Active Multi-Region API Gateway with 99.999% Availability

#### The Challenge

Design a system capable of handling 10 million requests per second (RPS) with sub-50ms global latency. The system must gracefully survive the complete blackout of an entire AWS/Azure region without dropping active connections.

#### The Architecture

                         [ Global Anycast IP (Cloudflare / AWS Global Accelerator) ]
                                      /                                \
                 (Region A - us-east-1)                                (Region B - eu-west-1)
                /                      \                              /                      \
      [NLB (Network Load Balancer)] [Private Link]          [NLB (Network Load Balancer)] [Private Link]
                  |                                                     |
       [Cilium eBPF Service Mesh]                                [Cilium eBPF Service Mesh]
                  |                                                     |
       [EKS Cluster (API Gateway)]                               [EKS Cluster (API Gateway)]
         /                    \                                    /                    \
  [Local Cache (Redis)]  [Global DB Write Link]            [Local Cache (Redis)]  [Global DB Write Link]
        \                      /                                  \                      /
     [ CockroachDB / Spanner Multi-Region Global Store (Strongly Consistent Active-Active Hub) ]

#### Detailed Component Breakdown

1. Traffic Routing & Edge Security:

  • Utilize Anycast DNS coupled with AWS Global Accelerator / Cloudflare Magic Transit. This avoids standard DNS TTL caching issues. If Region A goes down, traffic is rerouted at the BGP layer to Region B within 3 seconds.

2. Ingress & Layer 4/7 Load Balancing:

  • Deploy AWS Network Load Balancers (NLB) at the edge, terminating TCP connections close to the user. NLBs route to an Envoy-based API Gateway managed via an eBPF-powered control plane (e.g., Cilium Service Mesh). This bypasses the iptables overhead, reducing tail latency (P99) by up to 35%.

3. The Compute Layer:

  • Kubernetes clusters running in multiple regions on Graviton4 ARM64 nodes. Clusters use Karpenter for autoscaling, utilizing a blended purchasing strategy: 80% Spot instances (for predictable load) and 20% On-Demand instances as a safety buffer.

4. Database & State Management:

  • Traditional active-passive multi-region databases fail the 99.999% availability metric due to manual failover times. We deploy a multi-region, distributed SQL database like CockroachDB or Google Spanner.
  • We use a Read-Local, Write-Global pattern. Writes are executed against regional replicas using Raft consensus, maintaining strict serializability, while local reads are served from regional caches with <5ms latency.

#### Interview Pro-Tip

**Johnny's Warning:** If a candidate suggests using classic MySQL cross-region replication for a 99.999% SLA system without explaining how they handle split-brain scenarios and replication lag, I immediately flag them. Show you understand the **CAP theorem** and trade latency for consistency where required.

---

Scenario 2: Massive-Scale LLM Inference Pipeline & GPU Orchestration Platform

#### The Challenge

Design an infrastructure pipeline that serves a multi-modal LLM (e.g., 70B parameter model) to millions of active users. The platform must optimize GPU utilization (which costs $3-$4 per hour per GPU) and dynamic autoscaling while maintaining a P99 Time-to-First-Token (TTFT) under 100ms.

#### The Architecture

                                   [ User Request ]
                                          │
                            [ Envoy Load Balancer (L7) ]
                                          │
                     [ Ray Cluster / vLLM Inference Routers ]
                                          │
       ┌──────────────────────────────────┴──────────────────────────────────┐
       ▼ (Node 1 - H100 NVLink Pod)                         ▼ (Node 2 - H100 NVLink Pod)
 ┌───────────┐   ┌───────────┐                        ┌───────────┐   ┌───────────┐
 │GPU (vLLM) │<─>│GPU (vLLM) │                        │GPU (vLLM) │<─>│GPU (vLLM) │
 └───────────┘   └───────────┘                        └───────────┘   └───────────┘
       ▲               ▲                                    ▲               ▲
       └───────┬───────┘                                    └───────┬───────┘
  [ InfiniBand / RoCEv2 (800 Gbps Interconnect) ]      [ InfiniBand / RoCEv2 (800 Gbps Interconnect) ]
                                          │
                       [ Distributed S3 / FSx for Lustre ]
                     (Model Weights Cached via Local NVMe)

#### Detailed Component Breakdown

1. Orchestration & Serving Engine:

  • Instead of standard raw Docker containers, use vLLM hosted on a Ray cluster running inside EKS/AKS. vLLM utilizes PagedAttention, which optimizes GPU memory allocation by preventing fragmentation.

2. GPU Virtualization & Bin-Packing:

  • GPU resource allocation is the highest operational cost. We implement Run:ai or KubeShare to enable fractional GPU sharing for smaller models (e.g., 8B parameters), while using NVIDIA NVLink and NVSwitch for multi-GPU distributed tensor parallelism across physical nodes for 70B+ parameter models.

3. Inter-Node Connectivity:

  • Distributed LLM inference requires extremely fast inter-node communication. Standard TCP/IP is a massive bottleneck. The infrastructure must be designed using RoCEv2 (RDMA over Converged Ethernet) or dedicated InfiniBand switches operating at 800 Gbps.

4. Autoscaling Strategy:

  • Traditional HPA (Horizontal Pod Autoscaler) based on CPU/Memory is useless for GPU workloads. We scale based on custom Prometheus metrics: GPU Duty Cycle, Queue Delay (Queue Time), and KV Cache Usage.
  • When queue delay exceeds 50ms, the cluster triggers pre-provisioned GPU nodes from a warm pool to bypass the 5-minute cold start time of physical GPU servers.

---

Section 3: Real-World Infrastructure Cost & ROI Calculations (FinOps)

In 2026, a DevOps leader must be a financial steward. During a design review or an interview, you must justify your architectural choices with exact cost-benefit analyses.

Case Study: Cloud Cost Optimization for a High-Scale SaaS Platform

Let's compare two strategies for hosting a high-throughput microservices application processing 50 Petabytes (PB) of data egress per month and requiring 5,000 CPU cores of compute.

#### Option A: Unoptimized Legacy Cloud Design

  • Standard x86 architecture (AWS `m6i.4xlarge` instances).
  • Public internet egress directly from the NAT Gateways.
  • Standard EBS GP3 block storage volumes with unmonitored IOPS allocation.

#### Option B: Optimized 2026 Cloud Design

  • ARM64 architecture (AWS `m7g.4xlarge` powered by Graviton4).
  • Egress routed through Cloudflare Bandwidth Alliance (private peering links), dropping egress fees from $0.05/GB to $0.005/GB.
  • Compute scaling using Karpenter with a strict 70% Spot / 30% On-Demand allocation policy.

#### Financial ROI Breakdown (Monthly)

Option A: Legacy Design ────────────────────────────────────── $810,000 /mo
Option B: Optimized Design ── $313,000 /mo  (61.3% Monthly Savings)

| Expense Category | Option A (Legacy) Cost | Option B (Optimized) Cost | Monthly Savings | Calculation & Logic |

| :--- | :--- | :--- | :--- | :--- |

| Compute Cost | $270,000 | $113,000 | $157,000 (58%) | Graviton4 is 20% cheaper than x86. Karpenter Spot integration cuts instance cost by a blended average of 55%. |

| Data Egress (50 PB) | $450,000 | $150,000 | $300,000 (66%) | direct-to-internet NAT egress charged at $0.09/GB vs. Private Link peering + Cloudflare egress rates at $0.03/GB. |

| Storage & IOPS | $90,000 | $50,000 | **$40,0