Question 197 of 213
Single answerDRAG DROP -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 informationTo 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.Select and Place:
✓A Box 1: Inbound.A set-variable policy to store the detected user identity.Example:
BRefer to simulation panel
✓
Correct Answer: A
Box 1: Inbound.A set-variable policy to store the detected user identity.Example:<policies><inbound><!-- How you determine user identity is application dependent --><set-variablename="enduserid"value="@(context.Request.Headers.GetValueOrDe
▥
Explanation
The correct answer is highlighted above. Review the wording carefully, then use the next question to continue building your understanding of Microsoft certification topics.