あなたは、いくつかの Azure API Management (APIM) でホストされる API を開発しています。 APIM の API のリクエスト処理を検査する必要があります。REST クライアントを使用した APIM へのリクエストも含める必要があります。リクエストの検査には次の情報が含まれている必要があります。 * APIM が API バックエンドに送信したリクエストと受信した応答 * 呼び出し元に送り返す前に応答に適用されるポリシー * リクエストの処理中に発生したエラーと、エラーに適用されたポリシー * 呼び出し元から受け取った元のリクエスト APIM とリクエストに適用されたポリシー API を検査する必要があります。 どの 3 つのアクションを実行する必要がありますか? それぞれの正解は、解決策の一部を示しています。 注: 正しく選択するたびに 1 ポイントの価値があります。
正解:A,B,C
The correct answer is A, B, and C. To inspect request processing of the APIs in APIM, you need to do the following three actions: * Enable the Allow tracing setting for the subscription used to inspect the API. This setting allows you to trace request processing in APIM using the test console, a REST client, or a client app. You can enable this setting in the portal by selecting Subscriptions and then selecting the subscription you want to use for debugging1. * Add the Ocp-Apim-Trace header value to the API call with a value set to true. This header triggers tracing when making requests to APIM using a REST client or a client app. You also need to add the Ocp-Apim-Subscription-Key header value to the key for a subscription that allows access to the API1. * Add the Ocp-Apim-Subscription-Key header value to the key for a subscription that allows access to the API. This header authenticates your request and grants you access to the API. You can find the key for your subscription in the portal by selecting Subscriptions and then selecting Show/hide keys1. You do not need to create and configure a custom policy for tracing request processing. The trace policy is used to add a custom trace into the request tracing output, Application Insights telemetries, and/or resource logs2. It is not required for inspecting the APIs.