DRAG DROP
A web service provides customer summary information for e-commerce partners. The web service is implemented as an Azure Function app with an HTTP trigger. Access to the API is provided by an Azure API Management instance. The API Management instance is configured in consumption plan mode. All API calls are authenticated by using OAuth.
API calls must be cached. Customers must not be able to view cached data for other customers.
You need to configure API Management policies for caching.
How should you complete the policy statement?
Answer:
Explanation:
Box 1: internal
caching-type
Choose between the following values of the attribute:
Box 2: private
downstream-caching-type
This attribute must be set to one of the following values.
Box 3: Authorization
<vary-by-header>Authorization</vary-by-header>
<!– should be present when allow-private-response-caching is "true"–>
Note: Start caching responses per value of specified header, such as Accept, Accept-Charset, Accept-Encoding, Accept-Language, Authorization, Expect, From, Host, If-Match
Reference: https://docs.microsoft.com/en-us/azure/api-management/api-management-caching-policies
Leave a Reply