You have a Microsoft Foundry project that contains a model deployment.
You have an application that calls the deployment by using the Azure OpenAl v1 API and DefaultAzureCredential.
The developers at your company receive HTTP 403 errors when they send inference requests, even after running az login.
You need to ensure that the developers can perform model inference. The solution must follow the principle of least privilege.
Which role-based access control (RBAC) role should you assign to the developers?
The correct role is Cognitive Services OpenAl User. The application is using DefaultAzureCredential, so az login only proves the developer's Microsoft Entra identity and enables token acquisition. It does not by itself grant authorization to the model deployment. Azure OpenAI and Microsoft Foundry separate authentication from authorization; Microsoft Entra ID provides token-based authentication, while Azure RBAC controls whether the signed-in principal can perform data-plane actions such as model inference. Microsoft's Foundry guidance states that Microsoft Entra ID supports granular RBAC and that data-plane operations include runtime usage such as chat completions and embedding generation.
For Azure OpenAI resources, the Cognitive Services OpenAI User role specifically allows users to make inference API calls with Microsoft Entra ID against deployed models, while preventing higher-privilege actions such as creating deployments, copying keys, fine-tuning, or managing the resource.
The other roles are not least privilege. Contributor grants broad management-plane permissions. Cognitive Services User is broader and less specific than the Azure OpenAI inference role. Cognitive Services Data Reader is read-oriented and does not provide the required model inference data action. Reference topics: Microsoft Foundry authentication and authorization, Azure RBAC, Microsoft Entra ID keyless authentication, Azure OpenAI v1 API, and least-privilege model inference.
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?
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.
====================
You have a Microsoft Foundry project that contains an agent. The agent uses Azure AI Search for Retrieval Augmented Generation (RAG). You plan to ingest and index PDF product manuals. You need to build a solution that supports semantic similarity matching. The solution must ensure that the agent retrieves relevant data when user questions use different wording than the product manuals.
Use vector search because it performs similarity matching based on semantic meaning rather than requiring literal keyword overlap. During ingestion, the product manuals should be divided into appropriately sized chunks. An embedding model converts each chunk into a numerical vector, which Azure AI Search stores in a vector field. At query time, the user's question is also converted into an embedding, and the service retrieves chunks whose vectors are closest to the query vector. Consequently, wording such as ''reset the device to factory settings'' can match manual content such as ''restore the unit's original configuration,'' despite minimal lexical overlap. Azure AI Search explicitly defines vector fields as enabling similarity searches over mathematically represented content and supports this retrieval pattern for RAG applications.
Semantic ranking improves the ordering of an existing result set but is not the indexing mechanism that stores embeddings and performs nearest-neighbor similarity matching. Suggesters provide search-as-you-type functionality, while analyzers control tokenization and lexical processing for text fields.
This aligns with the AI-103 Study Guide objectives for implementing RAG, configuring Azure AI Search grounding, generating embeddings, and selecting vector retrieval techniques for agentic solutions.
====================
You have a Microsoft Foundry project that ingests scanned PDF invoices stored in Azure Blob Storage. Each invoice contains printed line items and has a table-based layout.
Extracted results are stored as structured JSON and used as grounding data for an agent in a Retrieval Augmented Generation (RAG) solution.
You need to create a single analyzer that meets the following requirements:
* Extracts the invoice number, invoice date, vendor name, and total amount across varying templates * Returns confidence scores so that results with confidence below 0.80 can be routed for supervisor review
What should you use?
The correct answer is C because the requirement is structured field extraction from invoices across varying templates, not only OCR or layout preservation. Azure Content Understanding analyzers are reusable configurations that combine content extraction, AI-powered analysis, and structured data output, and Microsoft states that custom analyzers can be created for specific extraction needs. In this case, the analyzer schema should define fields such as invoice number, invoice date, vendor name, and total amount so the output can be returned as structured JSON for downstream RAG grounding.
The confidence-routing requirement also points to Content Understanding field confidence scores. Microsoft documentation states that every field can include a confidence score from 0 to 1, and that confidence scores can be used to automate high-confidence results while routing low-confidence results for human review. A threshold such as 0.80 is therefore an application routing rule based on the returned field confidence. The prebuilt-layout analyzer preserves layout but does not define invoice-specific business fields. Groundedness guardrails evaluate generated answers, not invoice field extraction. Azure AI Search search.score measures retrieval relevance, not extraction confidence. Reference topics: Content Understanding custom analyzers, document field extraction, structured JSON output, confidence scoring, and RAG grounding.
You are planning a Microsoft Foundry project named Project1 that will contain multiple agents. Each agent will access the same Azure Al Search resource.
You need to recommend a solution to centrally manage the Azure Al Search credentials within Project1. The solution must be implemented across all the agents.
What should you recommend?
The correct recommendation is B. Add a connection to the Azure AI Search resource. Microsoft Foundry project connections are used to centrally define access from a project to external resources, including Azure AI Search. The official connection guidance states that you can add a connection by selecting an external service such as Azure AI Search, choosing the resource, and selecting the authentication method for that resource. This creates a reusable project-level configuration rather than requiring each agent to store or duplicate search credentials independently.
For Foundry agents that use Azure AI Search, the Azure AI Search tool requires a project_connection_id, which is the resource ID of the project connection to Azure AI Search. This allows multiple agents to reference the same managed connection while using the configured endpoint and authentication settings consistently. RBAC may be part of a keyless authentication design, but it does not by itself create a centrally managed Foundry credential configuration. Disabling key-based access improves security posture but does not connect the agents. A managed private endpoint addresses network isolation, not credential centralization. Reference topics: Microsoft Foundry project connections, Azure AI Search tool, project connection IDs, authentication, and agent grounding.
Andrew Thomas
24 days agoOlivia Smith
2 months agoRyan Green
2 months agoAna Bruno
3 months agoSakura Zhou
3 months agoImran Aziz
4 months agoRajesh Malhotra
4 months agoSakura Nakamura
5 months agoIngrid Ferrari
5 months agoTanvi Nair
6 months ago