DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
System Design Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
System Design
Why might an API rate-limit per-IP, per-API-key, AND per-endpoint simultaneously, rather than picking just one granularity?
A
It's redundant and unnecessary to combine granularities
B
Each granularity catches a different abuse pattern — per-IP catches unauthenticated abuse, per-key catches misbehaving authenticated clients, and per-endpoint accounts for some endpoints being far more expensive than others
C
Only one granularity is technically possible per system
D
This only matters for token bucket implementations
Check Answer