SYSTEM DESIGN
System design
The design questions DevOps, SRE, platform and MLOps interviews really ask. Each one has a clear architecture diagram, quick numbers, the key decisions, what breaks, and what the interviewer listens for.
16 designs
A highly available web app on AWS
The classic starter design: load balancer, app servers in two zones, a database with a standby, cache and object storage.
URL shortener (like bit.ly)
Short codes, a read-heavy cache, unique IDs at scale and click analytics. A favourite warm-up question.
API rate limiter
Token buckets in Redis at the gateway: protect services, share limits across many servers, and fail safely.
Monitoring and alerting for 100 services
Prometheus per cluster, long-term storage, logs and traces, SLO dashboards and alert routing that pages only for what matters.
Centralized logging pipeline
Agents on every node, a Kafka buffer, processing that redacts and routes, hot search for days and cheap archives for months.
CI/CD platform for 500 microservices
Shared pipelines, autoscaling runners, caching, security scans, an artifact registry and GitOps deploys across environments.
Container and artifact registry
Content-addressed blobs in object storage, a metadata database, pull-through caches, CVE rescans and replication to other regions.
Secrets management platform
Workload identity instead of passwords, a highly available Vault, KMS auto-unseal, short-lived dynamic credentials and full audit logs.
Safe deployments: canary and feature flags
Shift traffic step by step, compare the canary with stable using real metrics, roll back automatically, and decouple deploy from release with flags.
Multi-region active-active service
Serve users from the nearest region, survive a whole region failing, and choose your data consistency on purpose.
Distributed job scheduler (cron at scale)
Run millions of scheduled jobs exactly when due, once, with leader election, a work queue, retries and a dead-letter queue.
Internal developer platform (IDP)
A portal, golden-path templates, self-service infrastructure, shared CI/CD and built-in guardrails, run as a product for developers.
Multi-tenant Kubernetes platform
Many teams on shared clusters, safely: namespaces, RBAC, quotas, network policies, admission policies, node pools and cost per team.
GitOps for a fleet of 100 clusters
One repo, a hub Argo CD with ApplicationSets, cluster labels for targeting, rollout waves and fleet-wide health.
ML training platform and feature store
Feature pipelines feeding offline and online stores, orchestrated GPU training, experiment tracking and a model registry that hands off to serving.
LLM inference platform
An AI gateway, per-model queues, GPU servers with continuous batching, caching, autoscaling on tokens and smart routing between models.