KatInterview

Topic

System Design interview problems

Scalable services, storage, caching and trade-offs. 1133 original problems, each with a worked model answer.

Problems1133

43 easy720 medium370 hard

Showing 331–360 of 1133 results

  • Design an object-oriented domain model for managing multi-story parking structures, handling real-time spot assignment, pricing strategies, and concurrency control.

    Model answerobject-oriented-designdata-structure-designconcurrencysystem-design
  • Design a bitemporal data model and low-latency system architecture to track effective-dated trading compliance rules and dynamic security identifier resolutions.

    Model answersystem designbitemporaldata modelingfinancial systems
  • Present one real data pipeline you built or reworked, linking requirements to design choices, rejected options, replay and backfill handling, a hard failure, and what you would change.

    Model answerdata-pipelinearchitecture-tradeoffsbackfillidempotency
  • Design a multi-tenant engine that checks card transactions and whole trips against configurable policies, with auditable results and an API that can evolve without breaking clients.

    Model answersystem-designrules-enginemulti-tenantapi-design
  • Explain how a Kafka consumer group splits partitions, handles offsets and crashes, scales with consumer count, and behaves during a rebalance.

    Model answerkafkaconsumer-groupsrebalancingoffsets
  • Design a data model, API, reordering mechanism, and publishing/caching strategy for a fixed 3-tier learning content management system.

    Model answersystem-designcachingdatabase-designconcurrency
  • Design an in-memory topic subscription platform that handles fast ingestion, interest filtering, sliding-window rate limiting, de-duplication, and sorted feed distribution.

    Model answersystem-designdata-structuresrate-limitingpub-sub
  • Design a pipeline where clients send files straight to object storage using scoped signed URLs, with a tracked lifecycle, async scanning and processing, and cleanup of abandoned uploads.

    Model answersystem-designobject-storagepresigned-urlsmultipart-upload
  • Design a service that fires transfers at a chosen future time, moves money atomically between accounts, and skips any transfer whose source balance is too low at that moment.

    Model answersystem-designschedulerpaymentsidempotency
  • Design the derived tables and incremental pipeline behind a photo app's KPI dashboard, then extend it with cohort retention, weekly rollups and a change of reporting timezone.

    Model answerdata-modelingetlincremental-loadsretention
  • Design a read-heavy backend that returns places within a given radius of a coordinate, covering spatial indexing, caching, API shape, capacity math, and availability.

    Model answersystem-designgeospatialgeohashquadtree
  • Design the hand-off from a courier pay calculation to an external payment service so every courier is paid the correct amount exactly once, even through outages and ambiguous timeouts.

    Model answeridempotencyreliabilitypaymentsretries
  • Architect a resilient payment platform handling two-phase auth/capture flows, double-entry financial ledgering, and batch settlement reconciliation with downstream gateways.

    Model answersystem-designdistributed-systemsfinancial-systemsidempotency
  • Walk through a non-trivial system you own, from diagram and invariants to scaling, security, SLOs, a real incident, a 10x plan and a hindsight redesign.

    Model answersystem-designarchitecture-reviewscalabilityreliability
  • Design a secure, low-latency enterprise AI assistant that performs retrieval-augmented generation across internal data sources and executes tool workflows under strict access controls.

    Model answerRAGLLMAccess ControlSystem Design
  • Design a workspace-scoped labeling service with REST endpoints, a schema, a search strategy for AND/OR filtering, and handling of concurrency, idempotency and pagination.

    Model answerrest-apidata-modelingidempotencypagination
  • Design a scalable review, rating, and vote tracking service for a food ordering platform, focusing on data modeling, atomic vote mutations, and read/write path performance.

    Model answersystem-designdatabase-designcachingdistributed-systems
  • Outline a structured debugging methodology for diagnosing search and inventory state discrepancies in full-stack applications using targeted tracing and controlled AI code analysis.

    Model answerdebuggingfull-stackapistate-management
  • Architect and present a high-volume production system, detailing API flow, query indexing, data partitioning, fault tolerance, and explicit technical trade-offs.

    Model answersystem-designdatabase-indexingpartitioningdata-architecture
  • Architect a MapReduce-based system to process massive calendar datasets and identify mutual free time slots of length d across large organizations.

    Model answersystem-designmapreducedistributed-systemsintervals
  • Architect a high-throughput news feed system that ingests raw articles, groups duplicate reports into single event clusters, and serves personalized timelines at scale.

    Model answersystem-designdata-ingestionclusteringembeddings
  • Architect an autonomous, safety-critical traffic signal system featuring real-time actuation, emergency preemption, hardware safety monitors, and central orchestration.

    Model answersystem-designdistributed-systemsiotreal-time
  • Walk through how you would find out whether logging is exhausting a server, restore service safely, and put guardrails in place so the problem cannot return.

    Model answerloggingobservabilityincident-responsebackpressure
  • Design a low-latency, scalable memory layer that lets an LLM assistant remember user facts, retrieve the relevant ones per turn, resolve conflicts, and honor deletion requests.

    Model answerllmmemoryvector-searchpersonalization
  • Design a robust multi-currency ledger and wallet architecture supporting holds, captures, host payouts, idempotent processing, and automated reconciliation.

    Model answersystem-designledgerfintechidempotency
  • Architect a low-latency, highly durable workplace chat platform supporting real-time delivery, missed message catch-up, channel fanout, and per-conversation ordering.

    Model answersystem-designdistributed-systemswebsocketsdata-modeling
  • Design authorization boundaries so a multi-tenant document Q&A agent cannot leak data across tenants or sessions, or be steered by injected instructions in uploaded files.

    Model answermulti-tenancyragauthorizationprompt-injection
  • Design an enterprise-grade payment gateway that guarantees at-most-once execution, handles ambiguous network timeouts, and maintains an auditable, immutable ledger.

    Model answersystem-designdistributed-systemsidempotencyevent-driven
  • Design a read-only search service that merges hotel availability from three inconsistent suppliers into one normalized, fault-tolerant response with cross-supplier deduplication.

    Model answersystem-designaggregationresiliencecircuit-breaker
  • Design an asynchronous RL fine-tuning pipeline that improves a deployed chat LLM from live traffic, covering staleness, KL control, reward hacking, safety gates and cost.

    Model answerreinforcement-learningrlhfllm-infrastructureoff-policy

More topics