試験AI-103-JPN トピック1 問題60 スレッド
Microsoft AI-103-JPNのリアル試験問題集
問題 #: 60
トピック #: 1
問題 #: 60
トピック #: 1
Project1という名前のMicrosoft Foundryプロジェクトがあり、その中に以下のものが含まれています。
* 外部APIを呼び出すOpenAPIツール
* 外部 API の API キーを格納する Connection1 という名前のプロジェクト接続 エージェントが OpenAPI ツールを呼び出すと、API は 401 認証エラーを返し、トレースでは API キー ヘッダーが送信されていないことが示されます。
OpenAPIツールが、すべてのリクエストにConnection1のAPIキーを自動的に含めるようにする必要があります。
あなたはどうすべきでしょうか?
* 外部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.
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
コメント
他人の解答コメントを賛成するのも、その解答に一票を入れることになります。したがって、すでに同じ意見の投票コメントが存在する場合、新規コメントをする代わりに賛成することもできます。
コメントを通報する
コメント中
今すぐ 新規登録 / ログイン (無料です)。