Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft AI-103 Exam - Topic 5 Question 9 Discussion

Posted by Trevor on Oct 22, 2026 at 07:38 PM

You have a Microsoft Foundry project that contains an agent. The agent uses two tools to perform the following actions:

Use Azure AI Search to retrieve answers from a private product documentation index.

Use the web search tool to retrieve public information on the internet.

You need to ensure that for a specific run, the agent deterministically retrieves information only from the internet. To what should you set tool_choice?

Suggested Answer: D

Set tool_choice to the named Grounding with Bing Search tool:

{'type': 'bing_grounding'}

A named tool choice directs the model to invoke a specific tool rather than allowing it to select from all tools attached to the agent. Microsoft's SDK specification describes AgentsNamedToolChoice as the mechanism used to force the model to call a particular tool and lists bing_grounding and azure_ai_search as supported named tool types.

Grounding with Bing Search retrieves current public information from the internet and supplies the results to the model for response generation. Selecting bing_grounding therefore directs the run to the public web source rather than the private Azure AI Search index.

Setting tool_choice to 'required' only establishes that a tool must be invoked; when multiple tools are available, it does not identify which one must be selected. 'auto' delegates the decision entirely to the model. Selecting {'type': 'azure_ai_search'} would force retrieval from the private product-documentation index, which is the opposite of the requirement.

Study Guide alignment: configure agent tools, control tool selection, integrate web grounding, and connect agents to enterprise knowledge sources.

====================


Get Premium AI-103 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
0 comments · newest first

Currently there are no comments in this discussion, be the first to comment!

0/2000 characters

Save Cancel