QuestionQ48
Connect to and consume Azure services and third-party servicesContoso, Ltd. provides an API to customers by using Azure API Management (APIM). The API authorizes users by using a JWT token.
You must implement response caching for the APIM gateway. The caching mechanism must identify the client user ID that accesses data for a given location and cache the response for that user ID.
You need to add the following policies to the policies file:
- a
set-variablepolicy to store the detected user identity - a
cache-lookup-valuepolicy - a
cache-store-valuepolicy - a
find-and-replacepolicy to update the response body with the user profile information
To which policy section should you add the policies? Each section may be used once, more than once, or not at all.
Drag & Drop
Set-variable
Cache-lookup-value
Cache-store-value
Find-and-replace
Community Discussion