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?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: Add a 'cache-lookup' policy in the inbound section and a 'cache-store' policy in the outbound section

Azure API Management has built-in response caching. Adding a cache-lookup policy in the inbound section checks the cache first. The cache-store policy in the outbound section store...

๐Ÿ“‹Part of Microsoft Certified: Azure Developer Associate (AZ-204) ยท Azure Certification Practice
Real Exam ScenarioAzure API Management

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?

โœ“ Correct Answer & ExplanationAzure API Management

Correct Answer

Add a 'cache-lookup' policy in the inbound section and a 'cache-store' policy in the outbound section

Why This Answer Is Correct

Azure API Management has built-in response caching. Adding a cache-lookup policy in the inbound section checks the cache first. The cache-store policy in the outbound section stores the response for the defined duration (60 seconds). This transparently reduces backend calls without code changes.

๐Ÿ“š What This Question Tests

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.