試験AI-103-JPN トピック1 問題60 スレッド

Microsoft AI-103-JPNのリアル試験問題集
問題 #: 60
トピック #: 1
Project1という名前のMicrosoft Foundryプロジェクトがあり、その中に以下のものが含まれています。
* 外部APIを呼び出すOpenAPIツール
* 外部 API の API キーを格納する Connection1 という名前のプロジェクト接続 エージェントが OpenAPI ツールを呼び出すと、API は 401 認証エラーを返し、トレースでは API キー ヘッダーが送信されていないことが示されます。
OpenAPIツールが、すべてのリクエストにConnection1のAPIキーを自動的に含めるようにする必要があります。
あなたはどうすべきでしょうか?

おすすめの解答:B 解答を投票する

The correct action is to connect the OpenAPI tool to Connection1 . In Microsoft Foundry Agent Service, an OpenAPI tool does not automatically use every project connection in the project. For API key authentication, the tool must be explicitly configured to use the project connection that contains the required secret.
Microsoft's OpenAPI tool guidance states that API key or token authentication requires a project connection configured with the API key or token, and the tool is then created or configured to use that connection for authentication. The documentation also notes that the agent calls the external API by using the stored API key when the OpenAPI tool is configured with the project connection.
Option A is incorrect because a project's default connection is not automatically the authentication source for a specific OpenAPI tool. Option C is incorrect because identity passthrough or managed identity only applies when the target API accepts Microsoft Entra ID tokens; this scenario uses an external API key. Option D is also incorrect as a credential value should not be manually embedded in the OpenAPI specification. The specification defines the security scheme, while the secret value is stored in the Foundry connection.
Reference topics: OpenAPI tools, project connections, API key authentication, tool authentication configuration, and agent tracing.

相田** 2026-06-27 11:13:22

コメント

正解:
?」こちらは投票コメントになっております。普通のコメントに切り替えます。
ニックネーム: 送信 キャンセル
投票コメントをあげるごとに、選択した解答の投票数を1つ増やすことができます。

他人の解答コメントを賛成するのも、その解答に一票を入れることになります。したがって、すでに同じ意見の投票コメントが存在する場合、新規コメントをする代わりに賛成することもできます。

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡