Correct Answer: Apply the rate-limit-by-key policy at the product or API level, keyed on the subscription key
The rate-limit-by-key policy in APIM enforces a call rate limit per a specified counter key (e.g., subscription key) over a rolling time window. This is ideal for per-client thrott...
Correct Answer
Apply the rate-limit-by-key policy at the product or API level, keyed on the subscription key
Why This Answer Is Correct
The rate-limit-by-key policy in APIM enforces a call rate limit per a specified counter key (e.g., subscription key) over a rolling time window. This is ideal for per-client throttling and backend protection.
This question evaluates your knowledge of Azure API Management โ a core concept tested in Microsoft Certified: Azure Developer Associate (AZ-204). Understanding Azure API Management is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.
You have published APIs through Azure API Management. A partner application is making too many requests and affecting other consumers. You need to limit the partner to 1,000 requests per hour without modifying backend code. What should you configure in APIM?
Your company exposes internal microservices through Azure API Management. You need to cache the response of a frequently called GET endpoint for 60 seconds to reduce backend load. How do you implement this?
Your backend services return responses in XML format, but your mobile application client requires JSON payloads. You need to perform this translation at the API gateway layer to avoid modifying the legacy backend service code. Which policy and policy section in Azure API Management (APIM) should you use?