Cognizant interview question

Design a Rate Limiting System to prevent API abuse.