AZ-204 · Question #377
Drag and Drop Question Contoso, Ltd. provides an API to customers by using Azure API Management (APIM). The API authorizes users with a JWT token. You must implement response caching for the APIM…
The correct answer is Inbound; Inbound; Inbound; Outbound. The set-variable, cache-lookup-value, and cache-store-value policies must all be placed in the Inbound section because they handle request processing before the backend is called - extracting the JWT user identity, checking for a cached response, and storing the result for…
Question
Exhibit
Answer Area
Drag items
Correct arrangement
- Inbound
- Inbound
- Inbound
- Outbound
Explanation
The set-variable, cache-lookup-value, and cache-store-value policies must all be placed in the Inbound section because they handle request processing before the backend is called - extracting the JWT user identity, checking for a cached response, and storing the result for future requests all happen as part of request handling. The find-and-replace policy belongs in the Outbound section because it modifies the response body after the backend has returned a result, enriching it with user profile information before sending it to the client.
Topics
Community Discussion
No community discussion yet for this question.
