Microsoft Azure Architect Design (AZ-304) Practice Test

Image Description

Question: 1 / 400

What solution should be recommended to remove the AspNet-Version header from APIs published via Azure API Management?

Creating a new product

Modifying the URL scheme

Creating a new policy

The recommended solution is to create a new policy because Azure API Management provides a way to customize the behavior of APIs through policies. Policies are a powerful feature that allow for various modifications and transformations at execution time, such as modifying headers, changing response formats, and even restricting access.

In the context of removing the AspNet-Version header, a specific policy can be implemented to manipulate the response and remove this header before it is sent to the client. This customization can be achieved by defining a policy at either the API or operation level, specifying the action to remove or modify the outgoing headers.

Creating a new product, modifying the URL scheme, or creating a new revision do not directly address the need to alter response headers. Instead, they focus on different aspects of API management, such as defining access levels, updating endpoint structures, or maintaining version control, which are not suitable or effective solutions for header manipulation. Therefore, implementing a custom policy is the precise and appropriate approach for managing and removing unwanted headers in the API responses.

Get further explanation with Examzify DeepDiveBeta

Creating a new revision

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy