Request Transformation Quiz

5 questions Pass: 70% +25 pts

Quiz covering API Management for AI

Request Transformation Quiz

5 questions | Pass: 70% | Earn 25 points

Questions in this quiz

A preview of the 5 questions covered. Start the quiz above to answer them, check your score, and read the explanations.

  1. 1

    Which policy in Azure API Management is primarily used to modify the body of an incoming request before it reaches the backend service?

  2. 2

    When using the 'set-header' policy in the inbound section of an API Management policy, what happens if the header already exists?

  3. 3

    You need to transform a JSON request body from an external client to match the schema expected by an Azure OpenAI backend. Which approach is most efficient for complex transformations?

  4. 4

    If you want to hide internal backend details from the client, which policy should you use to modify the response headers before they are sent back?

  5. 5

    You are implementing a request transformation that uses the 'set-body' policy with a Liquid template. You need to access a specific value from a custom header named 'X-User-ID' to inject it into the JSON body. What is the correct syntax to reference this header?