System design interviews for senior .NET engineers: a repeatable method from requirements to capacity estimates, API, data, caching, scaling and failure design; the classic systems to design; and the trade-offs, bottlenecks and costs a senior is expected to discuss.
-
Design a file storage and sharing service on Azure Blob Storage, like the document area of a client portal: users upload files up to a few gigabytes, share them with links that expire, and every file is scanned for malware before anyone can download it. Walk me through uploads, downloads, sharing links, scanning, quotas and keeping it secure.
A full file storage and sharing design: requirements and storage estimates, direct-to-blob uploads with user delegation SAS and block blobs, metadata in Azure SQL, a quarantine-then-scan pipeline with Defender for Storage, expiring share links checked by the API, quotas, lifecycle tiers, and security and privacy controls, on Azure with .NET.
Senior
SystemDesign
Systems to Design
Β· π 3 follow-ups Β· π 1 real-world
-
Design an order management system for a retailer that sells online and in stores: orders flow through payment, stock allocation, fulfilment from a warehouse or store, shipping, cancellations and returns, and several services own those steps. Walk me through the order lifecycle, how services communicate with events, how you keep them consistent without distributed transactions, and how customer service sees where an order is.
A full order management system design: requirements and order-volume estimates, an explicit order state machine, service boundaries, the transactional outbox and Azure Service Bus for events, an orchestrated saga with compensations and timeouts, idempotent consumers, ordering per order, a read model for order tracking, and failure handling, on Azure with .NET.
Senior
SystemDesign
Systems to Design
Β· π 3 follow-ups Β· π 1 real-world
-
Design an audit logging system for a financial services platform: every change to customer records and every access to sensitive data must be recorded, the log must be tamper-evident so even an administrator can't quietly alter it, investigators must be able to search years of history quickly, and the main application must not slow down. Walk me through capture, storage, integrity, search and retention.
A full audit logging design: requirements and event-volume estimates, what an audit event contains, reliable capture with an outbox or SaveChanges interceptor, an append-only store with hash chaining and immutable (WORM) storage or SQL Server ledger tables, a separate search index, access control on the audit log itself, and retention under Australian obligations, on Azure with .NET.
Senior
SystemDesign
Systems to Design
Β· π 3 follow-ups Β· π 1 real-world
-
Design a background job system for a SaaS platform: jobs such as sending invoices, generating reports and syncing with partner APIs are triggered by users, by events and on schedules, some are urgent and some can wait, they fail and must be retried, and some must never run twice in a way the customer can see. Walk me through scheduling, queues and priorities, workers, retries, and how you get exactly-once effects.
A full background job system design: requirements and job-volume estimates, a job table plus Azure Service Bus queues, priorities and per-tenant fairness, a scheduler that is safe on many instances, competing-consumer workers with leases, retries with backoff and dead-lettering, at-least-once delivery with idempotent handlers for exactly-once effects, long jobs, observability, and build vs Hangfire or Durable Functions, on Azure with .NET.
Senior
SystemDesign
Systems to Design
Β· π 3 follow-ups Β· π 1 real-world
-
Your company runs a dozen products with separate sign-ins and wants one identity platform for customers, staff and partner integrations: single sign-on, social logins, MFA, APIs secured with tokens, and machine-to-machine access. Would you build an authentication server yourself, run one such as Duende IdentityServer or Keycloak, or buy a managed service like Microsoft Entra External ID or Auth0? Design the platform and justify the choice.
A staff-level identity platform design and build-vs-buy decision: requirements and sign-in estimates, OAuth 2.0 and OpenID Connect flows (authorisation code with PKCE, client credentials), token design and lifetimes, signing keys and rotation, workforce vs customer identity (Entra ID vs Entra External ID), migration from separate user stores, availability and security (MFA, Essential Eight), and the costs of building versus running versus buying.
Staff / Architect
SystemDesign
Systems to Design
Β· π 3 follow-ups Β· π 1 real-world
-
Design a distributed cache from scratch, as if Redis didn't exist: it must hold hundreds of gigabytes, serve hundreds of thousands of reads per second at sub-millisecond latency, survive node failures and let you add nodes without a full reshuffle. Walk me through partitioning, replication, eviction, client routing and failure handling, and then tell me what you would actually build and what you would buy.
A staff-level distributed cache design and build-vs-buy decision: requirements and memory and throughput estimates, consistent hashing or hash slots, replication and failover, eviction (LRU/LFU approximations) and TTLs, client-side routing, hot keys and the thundering herd, consistency with the database, multi-region, and why you would buy Azure Managed Redis and build only the client-side layer (HybridCache, key design, invalidation) in .NET.
Staff / Architect
SystemDesign
Systems to Design
Β· π 3 follow-ups Β· π 1 real-world
-
You've drawn a design on the whiteboard and the interviewer asks: "Where does this break first as load grows?" How do you find the bottlenecks in a design? Walk me through the usual suspects — the single database, hot partitions, synchronous call chains and shared locks — how you spot each one from the diagram and the numbers, and what you do about it.
Finding bottlenecks in a system design: utilisation from capacity estimates, the single database, hot partitions, synchronous call chains, shared locks and serialisation points, and the fix for each.
Mid-Level
Theory
Senior Design Focus
Β· π 3 follow-ups Β· π 1 real-world
-
Your design has outgrown a single database. How do you partition and shard the data? Explain how you choose a shard key, what hot keys are and how you deal with them, how you reshard when you need more capacity, and what happens to queries that need data from more than one shard. Use Azure SQL and Cosmos DB as examples.
Partitioning and sharding in system design: choosing a shard key from access patterns, hash vs range vs directory sharding, hot keys, resharding with consistent hashing or a shard map, cross-shard queries, and Azure SQL vs Cosmos DB.
Senior
Theory
Senior Design Focus
Β· π 3 follow-ups Β· π 1 real-world
-
Your product manager says the new platform must have "five nines". What does that actually mean? Explain how availability is measured, how serial and parallel dependencies combine, what downtime 99.9%, 99.95% and 99.99% allow per month, and how you would design to hit a realistic target on Azure.
Availability maths for system design: the nines and allowed downtime, composite availability for serial and parallel dependencies, redundancy across zones and regions, SLA vs SLO, MTTR and MTBF, and designing to a realistic Azure target.
Senior
Theory
Senior Design Focus
Β· π 3 follow-ups Β· π 1 real-world
-
In a design interview you've proposed a cache, a read model and a few services that talk through events. The interviewer asks: "So which parts of this are strongly consistent and which aren't?" How do you decide where a design needs strong consistency and where eventual consistency is fine, how do you make the eventual parts safe, and how do you explain the trade-off to a product owner?
Consistency trade-offs in system design: classifying data by the cost of staleness, invariants that need strong consistency, where eventual consistency is safe, read-your-writes and other session guarantees, compensations, and explaining it to stakeholders.
Senior
Theory
Senior Design Focus
Β· π 3 follow-ups Β· π 1 real-world
-
Your team wants to redesign a growing system around events: every service publishes what happened and the others react. When do events actually simplify a system, and when do they just hide the complexity somewhere harder to see? Walk me through how you would decide, what you would make event-driven and what you would keep as direct calls, and how you keep an event-driven design understandable and debuggable.
Event-driven design trade-offs: decoupling and temporal independence vs hidden flows, eventual consistency, ordering, duplicates and schema evolution; notification vs state-carried events; choreography vs orchestration; and keeping it observable on Azure.
Senior
Architecture
Senior Design Focus
Β· π 3 follow-ups Β· π 1 real-world
-
Your design works, but finance says the projected Azure bill is too high. How do you treat cost as a design constraint? Walk me through how you estimate the monthly cost of a design from the capacity numbers, which components usually dominate, and the techniques you use to design the cost down without hurting reliability or security.
Cost as a system design constraint: estimating monthly Azure cost from capacity numbers, the usual cost drivers (compute, database, egress, telemetry, idle environments), design and commercial levers, unit economics, and FinOps practice.
Senior
Architecture
Senior Design Focus
Β· π 3 follow-ups Β· π 1 real-world
-
The interviewer points at your design diagram and asks: "Where are the security boundaries?" How do you design security boundaries into a system? Explain trust zones, private networking, how services prove their identity to each other, and how you limit the blast radius when one component is compromised, using Azure as the example.
Security boundaries in system design: trust zones and where to enforce them, private networking (VNets, private endpoints, egress control), workload identity between services, least privilege, data segmentation and blast-radius reduction on Azure.
Senior
Architecture
Senior Design Focus
Β· π 3 follow-ups Β· π 1 real-world
-
You're the architect for a new consumer product on Azure. It launches with about 1,000 users, but the business plan says 10 million within a few years. How would the design evolve from 1,000 to 10 million users? Tell me what you would build on day one, what changes at roughly each 10× step, what triggers each change, and what you would deliberately not build yet.
Evolving a system design from 1,000 to 10 million users: a simple day-one architecture, the changes at each order of magnitude (caching, replicas, async work, CDN, partitioning, multi-region, cells), the metrics that trigger each step, and avoiding premature scale.
Staff / Architect
Architecture
Senior Design Focus
Β· π 3 follow-ups Β· π 1 real-world