Practice series

Abuse, rate limits & policy control

Rate limits, bot mitigation, fraud, moderation, policy enforcement, and scoped access.

13 questions21 exact tags
  1. 01

    AI Agent System

    Design a production AI agent application platform that accepts user goals, manages context and memory, calls tools safely, pauses for human review when needed,...

    Practice bank
    Preview
  2. 02

    Coupons and Deals Platform

    Design a coupons and deals platform where users browse and search a large, frequently changing catalog of deals and redeem coupon codes exactly once per limit,...

    Practice bank
    Preview
  3. 03

    Flash Sale

    Design a flash sale system where a limited quantity of a hot item goes on sale at a fixed instant and receives a 1000x traffic spike in seconds — inventory must...

    Practice bank
    Preview
  4. 04

    Moderation Service

    Design a content moderation pipeline that screens user-submitted posts/media for policy violations, balancing posting latency against review accuracy at platfor...

    LinkedIn
    Preview
  5. 05

    Spend Management System

    Design a corporate spend management platform like Brex or Ramp — every card swipe must be authorized or declined against a live policy engine in under two secon...

    Brex
    Preview
  6. 06

    Ticketmaster (General Admission)

    Design Ticketmaster for general-admission events — there is no seat map, only a fixed capacity count per ticket tier, and the system must sell tickets correctly...

    Ticketmaster
    Preview
  7. 07

    Webhook

    Design a webhook delivery platform (Stripe-webhooks-style) that reliably delivers event notifications to thousands of third-party consumer endpoints under retry...

    Stripe
    Preview
  8. 08

    MCP Tool Gateway

    Design an MCP-style tool gateway that lets AI agents discover and invoke enterprise tools (CRM writes, ticketing, internal APIs) safely, with per-user authoriza...

    Anthropic
    Preview
  9. 09

    AI Customer Support Agent

    Design an AI customer support agent for a SaaS product.

    Practice bank
    Free
  10. 10

    Rate Limiter

    Design a distributed API rate limiter for a public API platform.

    Cloudflare
    Preview
  11. 11

    Fraud Detection

    Design a real-time ML fraud/risk scoring system that scores payment transactions in under 100 ms.

    Stripe
    Preview
  12. 12

    LLM Guardrails Pipeline

    Design a guardrails pipeline that wraps an LLM application with layered input and output safety.

    NVIDIA / Meta
    Preview
  13. 13

    Online Judge

    Design a LeetCode-style online judge that safely runs untrusted user code at scale.

    Google / Amazon
    Preview