An Azure Application Gateway named AppGW1 is load-balancing requests to a backend web app App1. You need to modify server variables included in App1's response headers. Which feature of AppGW1 should you configure?
Choose an answer
Tap an option to check your answer.
Correct answer: URL rewrite rules.
Why this is the answer
URL rewrite rules in Azure Application Gateway allow you to modify the request and response headers and URL paths before forwarding requests to the backend or sending responses back to the client. Specifically, to modify server variables in response headers, you would configure a rewrite rule with a rewrite action that targets the response header. Path-based rules are used for routing requests to different backend pools based on the URL path, not for modifying headers. Listeners define how the Application Gateway accepts incoming connections (protocols, ports, hostnames) and don't directly modify response headers. HTTP settings define properties like port, protocol, and cookie-based affinity for communication with backend targets, but they don't offer the granular control needed to modify specific server variables within response headers.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed