AI-103: Developing AI Apps and Agents on Azure practice questions, page 7 of 8, with answer review and explanations.
Question 31
You are building a web app named App1 that generates responses by using a model deployed to a Microsoft Foundry project named Project1. Before sending the prompts to the model, App1 must retrieve documents by using Azure AI Search. You need to integrate Project1 and App1. The solution must meet the following requirements: Multiple client applications must use the same search configuration. A security policy must prevent key-based authentication. Administrative effort must be minimized. What should you do?
Create a custom HTTP connection in Foundry and manually configure Azure AI Search endpoints per application.
Configure an Azure AI Search connection in Project1 and reference the connection in each application.
Call Azure AI Search directly from each application by using Microsoft Entra authentication.
Enable a managed identity for each application and call Azure AI Search directly.
Question 32
You have a Microsoft Foundry project that contains an agent used by the financial analysts at your company. You need to optimize the agent workflow by providing additional data access and processing capabilities. The solution must meet the following requirements: Ensure that the agent can perform calculations during conversations. Ensure that the agent can access up-to-date information from public websites. Ensure that the agent can retrieve information from documents uploaded directly to the agent. What should you use for each requirement? To answer, drag the appropriate tools to the correct requirements. Each tool may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point.
Question 33
You have a Microsoft Foundry project that contains a prompt agent used by a customer support web app. The agent is invoked from a Python service that does NOT run in the Foundry portal. You need to implement end-to-end tracing to capture latency breakdowns and exceptions across agent runs. Which two components can you use? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.
a Log Analytics workspace
Application Insights
OpenTelemetry
the Azure Monitor Agent
Microsoft Sentinel
Question 34
You have a customer support agent that uses the Microsoft Foundry Agent Service. Sometimes, customers return to a session days later to continue the same support case, and the agent must resume with the full historical context. The agent must provide the following: Multi-turn continuity within the session Cross-session continuity for the same case Access to the full interaction history, including user messages, agent messages, tool calls, and tool outputs You need to ensure that the agent automatically reloads the complete history on each new turn. What should you do?
Create and reuse a conversation by storing the conversation’s ID and supplying the ID on subsequent requests.
Persist only the final model response stored in the client application and prepend the response to future prompts.
Enable memory summarization on the agent definition to persist the context automatically.
Question 35
You have a Microsoft Foundry project that contains a deployed chat model. You have a Python service that sends API requests to the model. The service is integrated with an automated validation system that compares generated outputs against approved response patterns. Stakeholders report that small wording differences are causing validation mismatches. You need to update the request parameters to improve output stability. The solution must maximize reasoning quality. How should you complete the Python code? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.