hiexam
microsoft · AZ-204 · Q736 · code_completion · azure_api_management, policy_definition, header_modification

HOTSPOT - You have an Azure API Management instance named API1 that uses a managed gateway. You plan to implement a p…

HOTSPOT - You have an Azure API Management instance named API1 that uses a managed gateway. You plan to implement a policy that will apply at a product scope and will set the header of inbound requests to include information about the region hosting the gateway of API1. The policy definition contains the following content: //IMG// You have the following requirements for the policy definition: • Ensure that the header contains the information about the region hosting the gateway of API1. • Ensure the policy applies only after any global level policies are processed first. You need to complete the policy definition. Which values should you choose? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. //IMG//
<policies>
  <inbound>
    TARGET1
    <set-header name="x-request-context-data" exists-action="override">
      <value>{{slot1}}</value>
    </set-header>
  </inbound>
</policies>
Correct slot values

Answer hidden

Unlock AZ-204

First 5 questions of every exam are free. Unlock the rest.

Includes
  • · All — questions
  • · Verified answers + AI explanations
  • · Spaced-repetition mistake notebook
  • · Phone, tablet, laptop sync

One-time payment. Doesn't auto-renew. · Already paid? Sign in