An AI inference API is exposed via an API gateway. Which rate-limiting strategy BEST prevents model extraction attacks through repeated queries?
-
A
IP-based rate limiting only
-
B
Token bucket with per-API-key quotas and anomaly detection
-
C
Blocking all requests after business hours
-
D
Requiring CAPTCHA on every request