An agent in Foundry must answer from the company's existing Azure AI Search index of policies, with citations. What is the most direct way to connect them?
- Exam domain
- Implement information extraction solutions10–15% of the exam
- Difficulty
- Medium
- In this mock
- 9 questions on this domainPractise this domain
Why the exam asks this
Implement information extraction solutions: Build retrieval and grounding pipelines.
Objective in the exam guide: Connect retrieval pipelines directly to workflows and agent tools.
Most companies already have indexes. The exam checks you can plug them into agents rather than rebuild them.
Why A is the answer
Add the Foundry IQ (Azure AI Search) tool to the agent, pointing at the index
The Foundry IQ tool grounds an agent in an existing Azure AI Search index, so it retrieves current passages at run time and can cite them.
Remember: Existing index to agent: the Foundry IQ (Azure AI Search) tool.
How it works
Agents act through tools. For retrieval, Foundry provides a Foundry IQ (Azure AI Search) tool that grounds the agent in an existing index.
At run time the agent queries the index and uses the passages in its answer, which allows citations.
Foundry IQ knowledge bases can also be exposed to hosted agents through a toolbox.
Clues in the question
The words that point to the answer, and what each one tells you.
- Existing Azure AI Search index
- Reuse it.
- With citations
- Retrieval at run time.
In detail
- Tools can also be grouped in a toolbox and shared across agents through one MCP endpoint.
- File search suits documents uploaded to the agent; an existing index uses the search tool.
Side by side with look-alikes
| Option | Current data? | Citations? |
|---|---|---|
| Foundry IQ (Azure AI Search) tool | Yes | Yes |
| Policies in instructions | Until edited | No |
| Fine-tuning | No | No |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Add the Foundry IQ (Azure AI Search) tool to the agent, pointing at the indexRight
Existing index to agent: the Foundry IQ (Azure AI Search) tool.
B. Copy every policy into the agent's instructionsWrong
Instructions have size limits and go stale.
C. Export the index to a CSV file and upload it to code interpreterWrong
Code interpreter is for analysis, not retrieval with citations.
D. Fine-tune the agent's model on the policiesWrongMost tempting
Fine-tuning freezes knowledge and gives no citations.
Why it tempts: Fine-tuning sounds like teaching the agent the policies. But knowledge is frozen at training time and answers cannot cite sources.
In practice
- Give the agent's identity read access to the index, not admin keys.
Use case
An illustrative scenario, not a real incident.
An HR agent answers leave questions from the policy index and links each answer to the policy page.
See how it works
sequenceDiagram participant U as User participant A as Agent participant S as Azure AI Search index U->>A: How many leave days carry over? A->>S: Search tool query S-->>A: Policy passages with links A-->>U: Answer with citation
How to read this chart
- 1. User sends "How many leave days carry over?" to Agent.
- 2. Agent sends "Search tool query" to Azure AI Search index.
- 3. Agent gets a reply from Azure AI Search index: "Policy passages with links".
- 4. User gets a reply from Agent: "Answer with citation".