nerdexam
Microsoft

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 gate

Sign in or unlock AZ-204 to reveal the answer and full explanation for question #377. The question stem and answer options stay visible for context.

Submitted by manish99· Mar 30, 2026Implement API Management policies and caching strategies in Azure - AZ-204 / Azure Developer Associate: Implement Azure API Management

Question

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 gateway. The caching mechanism must detect the user ID of the client 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-variable policy to store the detected user identity - a cache-lookup-value policy - a cache-store-value policy - a find-and-replace policy to update the response body with the user profile information To which policy section should you add the policies? To answer, drag the appropriate sections to the correct policies. Each section may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point. Answer:

Exhibit

AZ-204 question #377 exhibit

Answer Area

Drag items

InboundOutbound

Unlock AZ-204 to see the answer

You've previewed enough free AZ-204 questions. Unlock AZ-204 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Azure API Management#APIM Policies#Response Caching#JWT Authorization
Full AZ-204 Practice