Skip to Content

AZ-700: How to Remove X-Powered-By Header in Azure Application Gateway V2 SKU?

Learn how to configure your Azure Application Gateway V2 SKU to prevent the X-Powered-By header from being returned to browsers. Discover the importance of request and response header rewrites and best practices for securing your Azure networking solutions.

Table of Contents

Question

You have an Azure Application Gateway named Gateway1 that uses a V2 SKU.
You need to configure Gateway1 to NOT return the X-Powered-By header to the browser.
What should you configure?

A. PathBasedRouting rule
B. request and response header rewrite
C. URL path and query string

Answer

B. request and response header rewrite

Explanation

The V2 SKU of Azure allows for headers to be changed or removed. It is generally best practice to ‘hide’ what is hosting a site so there cannot be a targeted attack that uses a zero-day exploit.
The path and query string rewrite cannot change a header, and PathBasedRouting is used to send traffic destined for a certain path to a different backend pool.

Designing and Implementing Microsoft Azure Networking Solutions AZ-700 certification exam assessment practice question and answer (Q&A) dump including multiple choice questions (MCQ) and objective type questions, with detail explanation and reference available free, helpful to pass the Designing and Implementing Microsoft Azure Networking Solutions AZ-700 exam and earn Designing and Implementing Microsoft Azure Networking Solutions AZ-700 certification.