QuestionQ161

VerifiedImplement Azure security

You have an Azure API Management (APIM) Standard tier instance named APIM1 that uses a managed gateway.

You plan to use APIM1 to publish an API named API1 that uses a backend database supporting only a limited number of requests per minute. You also require a policy for API1 that minimizes the possibility that requests to the backend database from each individual IP address you specify exceed the supported limit.

You need to identify a policy for API1 that meets the requirements.

Which policy should you use?

Explanation

The rate-limit-by-key policy limits the call rate for each counter key during a specified renewal period. Setting its counter key to the caller's IP address applies the per-minute limit independently to each IP address, helping protect a backend database with a per-minute request constraint.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!