QuestionQ142

VerifiedMonitor and troubleshoot Azure solutions

You are developing several APIs hosted in Azure API Management (APIM).

You must inspect API request processing in APIM, including requests made to APIM by using a REST client. The request inspection must include the following information:

  • Requests APIM sent to the API backend and the response that it received
  • Policies applied to the response before it is returned to the caller
  • Errors that occurred while processing the request and the policies applied to those errors
  • The original request APIM received from the caller and the policies applied to the request

You need to inspect the APIs.

Which three actions should you take? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Choose three
Explanation

In the legacy subscription-based APIM tracing model, complete request traces are enabled by allowing tracing on the subscription, sending Ocp-Apim-Trace: true, and including an Ocp-Apim-Subscription-Key for a subscription that can access the API. The built-in trace records inbound, backend, outbound, and error processing, including policy execution; custom inbound or outbound policies are not required. Current APIM documentation notes that this legacy subscription/header mechanism is no longer supported and has been replaced by time-limited API-level trace tokens.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!