AZ-304 Exam QuestionsBrowse all questions from this exam

AZ-304 Exam - Question 193


Your company plans to publish APIs for its services by using Azure API Management.

You discover that service responses include the AspNet-Version header.

You need to recommend a solution to remove AspNet-Version from the response of the published APIs.

What should you include in the recommendation?

Show Answer
Correct Answer: C

To remove the AspNet-Version header from the response of the published APIs, a new policy should be set. Policies in Azure API Management are used to change the behavior of the API through configuration. By setting a new transformation policy, you can modify headers in the response, including stripping out the AspNet-Version header.

Discussion

3 comments
Sign in to comment
czarul79
Apr 14, 2021

Correct Answer is C. Explanation: API Management policies to hide the HTTP headers that you do not want to show to your users. references: https://docs.microsoft.com/en-us/azure/api-management/transform-api https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-policies

f2mrmlwr
Mar 31, 2021

C is the correct answer

syu31svc
Oct 4, 2021

https://docs.microsoft.com/en-us/azure/api-management/transform-api#transform-an-api-to-strip-response-headers Answer is C