Deloitte interview question

Explain how you would implement a rate limiter in a web application.