Microsoft Developing AI Apps and Agents on Azure AI-103 Dumps in PDF

Free Microsoft AI-103 Real Questions (page: 2)


Case Study
This is a case study. Case studies are not timed separately from other exam sections. You can use as much exam time as you would like to complete each case study. However, there might be additional case studies or other exam sections. Manage your time to ensure that you can complete all the exam sections in the time provided. Pay attention to the Exam Progress at the top of the screen so you have sufficient time to complete any exam sections that follow this case study.
To answer the case study questions, you will bed to reference information that is provided in the case. Case studies and associated questions might contain exhibits or other resources that provide more information about the scenario described in the case. Information provided in an individual question does not apply to the other questions in the case study.
A Review Screen will appear at the end of this case study. From the Review Screen, you can review and change your answers before you move to the next exam section. After you leave this case study, you will NOT be able to return to it.
To start the case study
To display the first question in this case study, select the “Next” button. To the left of the question, a menu provides links to information such as business requirements, the existing environment, and problem statements. Please read through all this information before answering any questions.
When you are ready to answer a question, select the “Question” button to return to the question.
Overview
Company Information
Contoso, Ltd is a multinational retail company that builds, deploys, and manages generative AI and agent-based solutions by using Microsoft Foundry.
Existing Environment
Identity Environment
Contoso uses Microsoft Entra ID for identity management, authentication, and authorization capabilities that enable agents to access organizational resources and services.
Contoso recently formed a new AI engineering team named Agent1Dev Team to optimize and maintain existing AI solutions.
The team collaborates with solution architects, DevOps engineers, and security engineers to design,
implement. monitor, and secure AI applications.
Contoso also has a team named Agent1Test Team that is responsible for validating AI solutions before the solution deployments.
Generative Environment
Contoso has a Microsoft Foundry deployment that contains two projects named Project1 and Project2.
Project1
Project1 contains a customer support agent named Agent1 that assists customers with product inquiries and troubleshooting requests.
Agent1 has the following configurations:
▪ Agent1 uses a base model deployment.
▪ A safety evaluation pipeline is NOT enabled.
▪ Tool invocation approval workflows are NOT enabled.
▪ Conversation memory constraints are NOT configured.
Agent1 interacts with customers by using digital support channels and answers general questions about
Contoso products.
Project1 is deployed to an Azure region located in the European Union (EU).
Agent1Dev Team will use Project1 to optimize and maintain Agent1.
Project2
Project2 contains a deployed video generation model. The marketing department at Contoso has access to
Project2 and plans to use the model to develop a video creation solution.
Development of the solution is incomplete.
Data Environment
Contoso stores product-related information in Azure resources that support AI applications.
The Azure environment contains an Azure Blob Storage account named storage1 that stores product detail sheets for all the Contoso products.
The product sheets include specifications, feature descriptions, and product support information that Agent1
can use to answer customer questions. The product sheets are stored in the PDF format.
Problem Statements
Contoso identifies the following issues:
-Agent1 has only general knowledge of the Contoso products.
-A recent chat interaction with Agent1 was analyzed for sentiment. The results of the analysis have NOT
-been processed yet.
-Agent1 does NOT use the detailed product information in the product sheets stored in storage1 when responding to customer questions.
-The finance department at Contoso reports that vendor invoices must be reviewed manually to ensure that the invoices match the terms defined in the vendor contracts. The invoices contain tables, logos, and varied layouts that make the documents difficult to process consistently.
Requirements
Planned Changes
Contoso plans to implement the following changes:
-▪ Implement a solution for Project1 that analyzes the vendor invoices by evaluating both the visual layout and the textual content of the invoices, so that the invoice details can be verified against the vendor contract terms.
-▪ Update the base model deployment used by Agent1 and standardize the model version to ensure continuity and consistent responses.
▪ Enable Agent1 to retrieve and use the detailed product information from the product sheets stored in storage1.
▪ Implement an indexing solution for the product sheets that Agent1 can use to answer customer questions.
▪ Complete the development of the video creation solution.
Technical Requirements
Contoso identifies the following technical requirements:
-▪ The model deployment used by Agent1 must support scalable, high-throughput generative AI workloads and dynamically scale to handle variable customer support traffic, without requiring reserved throughput capacity.
-▪ The product sheets must be processed by using an indexing pipeline that enables semantic and vector search, so that Agent1 can retrieve the relevant product information.
-Responses generated by using the product sheet information must be relevant, complete, and accurate.
-Agent1 must be able to use the product sheets to answer natural language questions about product details.
-The model version used by Agent1 must remain consistent to ensure stable responses.
-The data processed by the model must remain within the EU.
Security and Compliance Requirements
Contoso identifies the following security and compliance requirements:
-▪ API keys must NOT be used to access Foundry-deployed models.
-▪ Access to the Azure resources must follow the principle of least privilege.
-▪ The developers at Contoso must authenticate to Microsoft Foundry resources by using Microsoft Entra authentication.
-▪ Access to Project1 must be assigned to the members of Agent1Dev Team by using a security group named
-SC_Agent1_Dev.
-▪ Access to Project1 must be assigned to the members of Agent1Test Team by using a security group named
-SC_Agent1_Test.
-▪ Agent1 must never reveal customer information, even if a document that contains customer data is added erroneously to the product sheet repository in storage1.
-The product sheets might contain images that include embedded text. Agent1 must be protected from malicious instructions potentially hidden within the images.
Business Requirements
Contoso identifies the following business requirements:
-Users that interact with Agent1 must have a personalized experience in future interactions, including the ability for Agent1 to retain conversation context and recall relevant information from previous interactions.
-Agent1 must answer questions only about the products sold by Contoso.

You have a Microsoft Foundry project that contains three agents as shown in the following table.

You need to orchestrate the agents to ensure that the customer requests meet the following requirements:
▪ Support a deterministic, step-based process that uses conditional branching and shared state across the agents.
▪ Optionally trigger a ticket action based on the triage result.
The solution must minimize development effort.
What should you include in the solution?

  1. a workflow
  2. threads and runs without a workflow
  3. a multi-agent group chat session
  4. separate agent runs coordinated in the application code

Answer(s): A

Explanation:

To fulfill your requirements while keeping development effort to an absolute minimum, you should leverage the native Microsoft Foundry Multi-Agent Workflows feature (built directly into the Foundry Agent Service and managed via the Foundry portal visual editor or declarative YAML files).Using this visual, low-code orchestration layer removes the need to write custom graph routing logic, state managers, or manual handoffs in code.
The minimum required architecture and features that must be included in your solution are structured below.
1. The Orchestration Layer: Declarative Workflow
Instead of writing a code-first orchestrator, you must define a Foundry Workflow Definition (YAML or Visual).
2. State Management: Shared Context Variables
3. Agent Configuration & Native Tooling


Reference:

https://devblogs.microsoft.com/foundry/introducing-multi-agent-workflows-in-foundry-agent-service/




Case Study
This is a case study. Case studies are not timed separately from other exam sections. You can use as much exam time as you would like to complete each case study. However, there might be additional case studies or other exam sections. Manage your time to ensure that you can complete all the exam sections in the time provided. Pay attention to the Exam Progress at the top of the screen so you have sufficient time to complete any exam sections that follow this case study.
To answer the case study questions, you will bed to reference information that is provided in the case. Case studies and associated questions might contain exhibits or other resources that provide more information about the scenario described in the case. Information provided in an individual question does not apply to the other questions in the case study.
A Review Screen will appear at the end of this case study. From the Review Screen, you can review and change your answers before you move to the next exam section. After you leave this case study, you will NOT be able to return to it.
To start the case study
To display the first question in this case study, select the “Next” button. To the left of the question, a menu provides links to information such as business requirements, the existing environment, and problem statements. Please read through all this information before answering any questions.
When you are ready to answer a question, select the “Question” button to return to the question.
Overview
Company Information
Contoso, Ltd is a multinational retail company that builds, deploys, and manages generative AI and agent-based solutions by using Microsoft Foundry.
Existing Environment
Identity Environment
Contoso uses Microsoft Entra ID for identity management, authentication, and authorization capabilities that enable agents to access organizational resources and services.
Contoso recently formed a new AI engineering team named Agent1Dev Team to optimize and maintain existing AI solutions.
The team collaborates with solution architects, DevOps engineers, and security engineers to design,
implement. monitor, and secure AI applications.
Contoso also has a team named Agent1Test Team that is responsible for validating AI solutions before the solution deployments.
Generative Environment
Contoso has a Microsoft Foundry deployment that contains two projects named Project1 and Project2.
Project1
Project1 contains a customer support agent named Agent1 that assists customers with product inquiries and troubleshooting requests.
Agent1 has the following configurations:
▪ Agent1 uses a base model deployment.
▪ A safety evaluation pipeline is NOT enabled.
▪ Tool invocation approval workflows are NOT enabled.
▪ Conversation memory constraints are NOT configured.
Agent1 interacts with customers by using digital support channels and answers general questions about
Contoso products.
Project1 is deployed to an Azure region located in the European Union (EU).
Agent1Dev Team will use Project1 to optimize and maintain Agent1.
Project2
Project2 contains a deployed video generation model. The marketing department at Contoso has access to
Project2 and plans to use the model to develop a video creation solution.
Development of the solution is incomplete.
Data Environment
Contoso stores product-related information in Azure resources that support AI applications.
The Azure environment contains an Azure Blob Storage account named storage1 that stores product detail sheets for all the Contoso products.
The product sheets include specifications, feature descriptions, and product support information that Agent1
can use to answer customer questions. The product sheets are stored in the PDF format.
Problem Statements
Contoso identifies the following issues:
-Agent1 has only general knowledge of the Contoso products.
-A recent chat interaction with Agent1 was analyzed for sentiment. The results of the analysis have NOT
-been processed yet.
-Agent1 does NOT use the detailed product information in the product sheets stored in storage1 when responding to customer questions.
-The finance department at Contoso reports that vendor invoices must be reviewed manually to ensure that the invoices match the terms defined in the vendor contracts. The invoices contain tables, logos, and varied layouts that make the documents difficult to process consistently.
Requirements
Planned Changes
Contoso plans to implement the following changes:
-▪ Implement a solution for Project1 that analyzes the vendor invoices by evaluating both the visual layout and the textual content of the invoices, so that the invoice details can be verified against the vendor contract terms.
-▪ Update the base model deployment used by Agent1 and standardize the model version to ensure continuity and consistent responses.
▪ Enable Agent1 to retrieve and use the detailed product information from the product sheets stored in storage1.
▪ Implement an indexing solution for the product sheets that Agent1 can use to answer customer questions.
▪ Complete the development of the video creation solution.
Technical Requirements
Contoso identifies the following technical requirements:
-▪ The model deployment used by Agent1 must support scalable, high-throughput generative AI workloads and dynamically scale to handle variable customer support traffic, without requiring reserved throughput capacity.
-▪ The product sheets must be processed by using an indexing pipeline that enables semantic and vector search, so that Agent1 can retrieve the relevant product information.
-Responses generated by using the product sheet information must be relevant, complete, and accurate.
-Agent1 must be able to use the product sheets to answer natural language questions about product details.
-The model version used by Agent1 must remain consistent to ensure stable responses.
-The data processed by the model must remain within the EU.
Security and Compliance Requirements
Contoso identifies the following security and compliance requirements:
-▪ API keys must NOT be used to access Foundry-deployed models.
-▪ Access to the Azure resources must follow the principle of least privilege.
-▪ The developers at Contoso must authenticate to Microsoft Foundry resources by using Microsoft Entra authentication.
-▪ Access to Project1 must be assigned to the members of Agent1Dev Team by using a security group named
-SC_Agent1_Dev.
-▪ Access to Project1 must be assigned to the members of Agent1Test Team by using a security group named
-SC_Agent1_Test.
-▪ Agent1 must never reveal customer information, even if a document that contains customer data is added erroneously to the product sheet repository in storage1.
-The product sheets might contain images that include embedded text. Agent1 must be protected from malicious instructions potentially hidden within the images.
Business Requirements
Contoso identifies the following business requirements:
-Users that interact with Agent1 must have a personalized experience in future interactions, including the ability for Agent1 to retain conversation context and recall relevant information from previous interactions.
-Agent1 must answer questions only about the products sold by Contoso.

You have a Microsoft Foundry project that contains an agent. The agent uses Azure Speech in Foundry Tools.
You fine-tune a baseline speech to text model for the en-us locale and publish the model.
The agent calls the Speech to text REST API and returns an error message indicating that the project ID is invalid.
You need to set the project property to the correct ID.
To what should you set the project property?

  1. the project URL
  2. the custom speech project ID
  3. the project ID
  4. the custom speech endpoint URL

Answer(s): B




Case Study
This is a case study. Case studies are not timed separately from other exam sections. You can use as much exam time as you would like to complete each case study. However, there might be additional case studies or other exam sections. Manage your time to ensure that you can complete all the exam sections in the time provided. Pay attention to the Exam Progress at the top of the screen so you have sufficient time to complete any exam sections that follow this case study.
To answer the case study questions, you will bed to reference information that is provided in the case. Case studies and associated questions might contain exhibits or other resources that provide more information about the scenario described in the case. Information provided in an individual question does not apply to the other questions in the case study.
A Review Screen will appear at the end of this case study. From the Review Screen, you can review and change your answers before you move to the next exam section. After you leave this case study, you will NOT be able to return to it.
To start the case study
To display the first question in this case study, select the “Next” button. To the left of the question, a menu provides links to information such as business requirements, the existing environment, and problem statements. Please read through all this information before answering any questions.
When you are ready to answer a question, select the “Question” button to return to the question.
Overview
Company Information
Contoso, Ltd is a multinational retail company that builds, deploys, and manages generative AI and agent-based solutions by using Microsoft Foundry.
Existing Environment
Identity Environment
Contoso uses Microsoft Entra ID for identity management, authentication, and authorization capabilities that enable agents to access organizational resources and services.
Contoso recently formed a new AI engineering team named Agent1Dev Team to optimize and maintain existing AI solutions.
The team collaborates with solution architects, DevOps engineers, and security engineers to design,
implement. monitor, and secure AI applications.
Contoso also has a team named Agent1Test Team that is responsible for validating AI solutions before the solution deployments.
Generative Environment
Contoso has a Microsoft Foundry deployment that contains two projects named Project1 and Project2.
Project1
Project1 contains a customer support agent named Agent1 that assists customers with product inquiries and troubleshooting requests.
Agent1 has the following configurations:
▪ Agent1 uses a base model deployment.
▪ A safety evaluation pipeline is NOT enabled.
▪ Tool invocation approval workflows are NOT enabled.
▪ Conversation memory constraints are NOT configured.
Agent1 interacts with customers by using digital support channels and answers general questions about
Contoso products.
Project1 is deployed to an Azure region located in the European Union (EU).
Agent1Dev Team will use Project1 to optimize and maintain Agent1.
Project2
Project2 contains a deployed video generation model. The marketing department at Contoso has access to
Project2 and plans to use the model to develop a video creation solution.
Development of the solution is incomplete.
Data Environment
Contoso stores product-related information in Azure resources that support AI applications.
The Azure environment contains an Azure Blob Storage account named storage1 that stores product detail sheets for all the Contoso products.
The product sheets include specifications, feature descriptions, and product support information that Agent1
can use to answer customer questions. The product sheets are stored in the PDF format.
Problem Statements
Contoso identifies the following issues:
-Agent1 has only general knowledge of the Contoso products.
-A recent chat interaction with Agent1 was analyzed for sentiment. The results of the analysis have NOT
-been processed yet.
-Agent1 does NOT use the detailed product information in the product sheets stored in storage1 when responding to customer questions.
-The finance department at Contoso reports that vendor invoices must be reviewed manually to ensure that the invoices match the terms defined in the vendor contracts. The invoices contain tables, logos, and varied layouts that make the documents difficult to process consistently.
Requirements
Planned Changes
Contoso plans to implement the following changes:
-▪ Implement a solution for Project1 that analyzes the vendor invoices by evaluating both the visual layout and the textual content of the invoices, so that the invoice details can be verified against the vendor contract terms.
-▪ Update the base model deployment used by Agent1 and standardize the model version to ensure continuity and consistent responses.
▪ Enable Agent1 to retrieve and use the detailed product information from the product sheets stored in storage1.
▪ Implement an indexing solution for the product sheets that Agent1 can use to answer customer questions.
▪ Complete the development of the video creation solution.
Technical Requirements
Contoso identifies the following technical requirements:
-▪ The model deployment used by Agent1 must support scalable, high-throughput generative AI workloads and dynamically scale to handle variable customer support traffic, without requiring reserved throughput capacity.
-▪ The product sheets must be processed by using an indexing pipeline that enables semantic and vector search, so that Agent1 can retrieve the relevant product information.
-Responses generated by using the product sheet information must be relevant, complete, and accurate.
-Agent1 must be able to use the product sheets to answer natural language questions about product details.
-The model version used by Agent1 must remain consistent to ensure stable responses.
-The data processed by the model must remain within the EU.
Security and Compliance Requirements
Contoso identifies the following security and compliance requirements:
-▪ API keys must NOT be used to access Foundry-deployed models.
-▪ Access to the Azure resources must follow the principle of least privilege.
-▪ The developers at Contoso must authenticate to Microsoft Foundry resources by using Microsoft Entra authentication.
-▪ Access to Project1 must be assigned to the members of Agent1Dev Team by using a security group named
-SC_Agent1_Dev.
-▪ Access to Project1 must be assigned to the members of Agent1Test Team by using a security group named
-SC_Agent1_Test.
-▪ Agent1 must never reveal customer information, even if a document that contains customer data is added erroneously to the product sheet repository in storage1.
-The product sheets might contain images that include embedded text. Agent1 must be protected from malicious instructions potentially hidden within the images.
Business Requirements
Contoso identifies the following business requirements:
-Users that interact with Agent1 must have a personalized experience in future interactions, including the ability for Agent1 to retain conversation context and recall relevant information from previous interactions.
-Agent1 must answer questions only about the products sold by Contoso.

HOTSPOT (Drag and Drop is not supported)
You have a Microsoft Foundry project that contains an agent named PaymentAgent.
PaymentAgent includes a function tool that issues customer refunds by using an external API.
You are creating a workflow in YAML.
You need to ensure that the workflow pauses for human approval and continues with the refund step only after approval is granted.
How should you complete the workflow definition? To answer, select the appropriate options in the answer area.
Note: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: ask_question
To create a human-in-the-loop approval step in a Microsoft Foundry workflow, you should fill in the missing type with ask_question.
In Microsoft Foundry, the ask_question step is specifically designed to pause a workflow, prompt a user for input (such as an approval or rejection), and store the response in a variable that can be evaluated by subsequent logic.
Box 2: approval == "approved"
Execute Condition:
Use a condition such as steps.approval.output == 'approved' (or a similar logical check based on your choice variable) to ensure the refund only executes when authorized.


Reference:

https://learn.microsoft.com/en-us/azure/foundry/agents/concepts/workflow




Case Study
This is a case study. Case studies are not timed separately from other exam sections. You can use as much exam time as you would like to complete each case study. However, there might be additional case studies or other exam sections. Manage your time to ensure that you can complete all the exam sections in the time provided. Pay attention to the Exam Progress at the top of the screen so you have sufficient time to complete any exam sections that follow this case study.
To answer the case study questions, you will bed to reference information that is provided in the case. Case studies and associated questions might contain exhibits or other resources that provide more information about the scenario described in the case. Information provided in an individual question does not apply to the other questions in the case study.
A Review Screen will appear at the end of this case study. From the Review Screen, you can review and change your answers before you move to the next exam section. After you leave this case study, you will NOT be able to return to it.
To start the case study
To display the first question in this case study, select the “Next” button. To the left of the question, a menu provides links to information such as business requirements, the existing environment, and problem statements. Please read through all this information before answering any questions.
When you are ready to answer a question, select the “Question” button to return to the question.
Overview
Company Information
Contoso, Ltd is a multinational retail company that builds, deploys, and manages generative AI and agent-based solutions by using Microsoft Foundry.
Existing Environment
Identity Environment
Contoso uses Microsoft Entra ID for identity management, authentication, and authorization capabilities that enable agents to access organizational resources and services.
Contoso recently formed a new AI engineering team named Agent1Dev Team to optimize and maintain existing AI solutions.
The team collaborates with solution architects, DevOps engineers, and security engineers to design,
implement. monitor, and secure AI applications.
Contoso also has a team named Agent1Test Team that is responsible for validating AI solutions before the solution deployments.
Generative Environment
Contoso has a Microsoft Foundry deployment that contains two projects named Project1 and Project2.
Project1
Project1 contains a customer support agent named Agent1 that assists customers with product inquiries and troubleshooting requests.
Agent1 has the following configurations:
▪ Agent1 uses a base model deployment.
▪ A safety evaluation pipeline is NOT enabled.
▪ Tool invocation approval workflows are NOT enabled.
▪ Conversation memory constraints are NOT configured.
Agent1 interacts with customers by using digital support channels and answers general questions about
Contoso products.
Project1 is deployed to an Azure region located in the European Union (EU).
Agent1Dev Team will use Project1 to optimize and maintain Agent1.
Project2
Project2 contains a deployed video generation model. The marketing department at Contoso has access to
Project2 and plans to use the model to develop a video creation solution.
Development of the solution is incomplete.
Data Environment
Contoso stores product-related information in Azure resources that support AI applications.
The Azure environment contains an Azure Blob Storage account named storage1 that stores product detail sheets for all the Contoso products.
The product sheets include specifications, feature descriptions, and product support information that Agent1
can use to answer customer questions. The product sheets are stored in the PDF format.
Problem Statements
Contoso identifies the following issues:
-Agent1 has only general knowledge of the Contoso products.
-A recent chat interaction with Agent1 was analyzed for sentiment. The results of the analysis have NOT
-been processed yet.
-Agent1 does NOT use the detailed product information in the product sheets stored in storage1 when responding to customer questions.
-The finance department at Contoso reports that vendor invoices must be reviewed manually to ensure that the invoices match the terms defined in the vendor contracts. The invoices contain tables, logos, and varied layouts that make the documents difficult to process consistently.
Requirements
Planned Changes
Contoso plans to implement the following changes:
-▪ Implement a solution for Project1 that analyzes the vendor invoices by evaluating both the visual layout and the textual content of the invoices, so that the invoice details can be verified against the vendor contract terms.
-▪ Update the base model deployment used by Agent1 and standardize the model version to ensure continuity and consistent responses.
▪ Enable Agent1 to retrieve and use the detailed product information from the product sheets stored in storage1.
▪ Implement an indexing solution for the product sheets that Agent1 can use to answer customer questions.
▪ Complete the development of the video creation solution.
Technical Requirements
Contoso identifies the following technical requirements:
-▪ The model deployment used by Agent1 must support scalable, high-throughput generative AI workloads and dynamically scale to handle variable customer support traffic, without requiring reserved throughput capacity.
-▪ The product sheets must be processed by using an indexing pipeline that enables semantic and vector search, so that Agent1 can retrieve the relevant product information.
-Responses generated by using the product sheet information must be relevant, complete, and accurate.
-Agent1 must be able to use the product sheets to answer natural language questions about product details.
-The model version used by Agent1 must remain consistent to ensure stable responses.
-The data processed by the model must remain within the EU.
Security and Compliance Requirements
Contoso identifies the following security and compliance requirements:
-▪ API keys must NOT be used to access Foundry-deployed models.
-▪ Access to the Azure resources must follow the principle of least privilege.
-▪ The developers at Contoso must authenticate to Microsoft Foundry resources by using Microsoft Entra authentication.
-▪ Access to Project1 must be assigned to the members of Agent1Dev Team by using a security group named
-SC_Agent1_Dev.
-▪ Access to Project1 must be assigned to the members of Agent1Test Team by using a security group named
-SC_Agent1_Test.
-▪ Agent1 must never reveal customer information, even if a document that contains customer data is added erroneously to the product sheet repository in storage1.
-The product sheets might contain images that include embedded text. Agent1 must be protected from malicious instructions potentially hidden within the images.
Business Requirements
Contoso identifies the following business requirements:
-Users that interact with Agent1 must have a personalized experience in future interactions, including the ability for Agent1 to retain conversation context and recall relevant information from previous interactions.
-Agent1 must answer questions only about the products sold by Contoso.

You have an Azure Speech in Foundry Tools resource that hosts a custom speech to text model deployed to a custom endpoint. An agent uses the endpoint to perform real-time speech recognition.
You are approaching the expiration date of the custom speech to text model.
What is the expected behavior when the model expires?

  1. Speech recognition requests will return a 4xx error until a new custom model is deployed.
  2. Speech recognition requests will continue to use the expired custom model until the model is removed manually.
  3. Speech recognition requests will fall back to the most recent base model for the same locale.
  4. The custom model will be deleted automatically when the model expires.

Answer(s): C

Explanation:

When the custom speech-to-text model expires, the real-time endpoint will automatically fall back to using the most recent base model for that locale.
Because of this automated fallback design, your agent's real-time speech recognition streams will not fail or throw a connection error. However, you will likely experience a drop in transcription accuracy, as the fallback base model lacks the domain-specific vocabulary, acronyms, or unique audio adaptations built into your custom model.
Immediate Impact Summary
Real-Time Endpoints: Continue to process requests. The endpoint swaps the expired custom model for the newest standard base model behind the scenes.
Batch Transcriptions (If used): Any batch transcription jobs explicitly targeting the expired custom model ID will fail with a 4xx error code.
Customization Loss: Specific jargon, formatting rules, or accents trained into your model will temporarily stop applying to incoming agent audio.


Reference:

https://learn.microsoft.com/en-us/azure/ai-services/speech-service/how-to-custom-speech-model-and-endpoint
-lifecycle




Case Study
This is a case study. Case studies are not timed separately from other exam sections. You can use as much exam time as you would like to complete each case study. However, there might be additional case studies or other exam sections. Manage your time to ensure that you can complete all the exam sections in the time provided. Pay attention to the Exam Progress at the top of the screen so you have sufficient time to complete any exam sections that follow this case study.
To answer the case study questions, you will bed to reference information that is provided in the case. Case studies and associated questions might contain exhibits or other resources that provide more information about the scenario described in the case. Information provided in an individual question does not apply to the other questions in the case study.
A Review Screen will appear at the end of this case study. From the Review Screen, you can review and change your answers before you move to the next exam section. After you leave this case study, you will NOT be able to return to it.
To start the case study
To display the first question in this case study, select the “Next” button. To the left of the question, a menu provides links to information such as business requirements, the existing environment, and problem statements. Please read through all this information before answering any questions.
When you are ready to answer a question, select the “Question” button to return to the question.
Overview
Company Information
Contoso, Ltd is a multinational retail company that builds, deploys, and manages generative AI and agent-based solutions by using Microsoft Foundry.
Existing Environment
Identity Environment
Contoso uses Microsoft Entra ID for identity management, authentication, and authorization capabilities that enable agents to access organizational resources and services.
Contoso recently formed a new AI engineering team named Agent1Dev Team to optimize and maintain existing AI solutions.
The team collaborates with solution architects, DevOps engineers, and security engineers to design,
implement. monitor, and secure AI applications.
Contoso also has a team named Agent1Test Team that is responsible for validating AI solutions before the solution deployments.
Generative Environment
Contoso has a Microsoft Foundry deployment that contains two projects named Project1 and Project2.
Project1
Project1 contains a customer support agent named Agent1 that assists customers with product inquiries and troubleshooting requests.
Agent1 has the following configurations:
▪ Agent1 uses a base model deployment.
▪ A safety evaluation pipeline is NOT enabled.
▪ Tool invocation approval workflows are NOT enabled.
▪ Conversation memory constraints are NOT configured.
Agent1 interacts with customers by using digital support channels and answers general questions about
Contoso products.
Project1 is deployed to an Azure region located in the European Union (EU).
Agent1Dev Team will use Project1 to optimize and maintain Agent1.
Project2
Project2 contains a deployed video generation model. The marketing department at Contoso has access to
Project2 and plans to use the model to develop a video creation solution.
Development of the solution is incomplete.
Data Environment
Contoso stores product-related information in Azure resources that support AI applications.
The Azure environment contains an Azure Blob Storage account named storage1 that stores product detail sheets for all the Contoso products.
The product sheets include specifications, feature descriptions, and product support information that Agent1
can use to answer customer questions. The product sheets are stored in the PDF format.
Problem Statements
Contoso identifies the following issues:
-Agent1 has only general knowledge of the Contoso products.
-A recent chat interaction with Agent1 was analyzed for sentiment. The results of the analysis have NOT
-been processed yet.
-Agent1 does NOT use the detailed product information in the product sheets stored in storage1 when responding to customer questions.
-The finance department at Contoso reports that vendor invoices must be reviewed manually to ensure that the invoices match the terms defined in the vendor contracts. The invoices contain tables, logos, and varied layouts that make the documents difficult to process consistently.
Requirements
Planned Changes
Contoso plans to implement the following changes:
-▪ Implement a solution for Project1 that analyzes the vendor invoices by evaluating both the visual layout and the textual content of the invoices, so that the invoice details can be verified against the vendor contract terms.
-▪ Update the base model deployment used by Agent1 and standardize the model version to ensure continuity and consistent responses.
▪ Enable Agent1 to retrieve and use the detailed product information from the product sheets stored in storage1.
▪ Implement an indexing solution for the product sheets that Agent1 can use to answer customer questions.
▪ Complete the development of the video creation solution.
Technical Requirements
Contoso identifies the following technical requirements:
-▪ The model deployment used by Agent1 must support scalable, high-throughput generative AI workloads and dynamically scale to handle variable customer support traffic, without requiring reserved throughput capacity.
-▪ The product sheets must be processed by using an indexing pipeline that enables semantic and vector search, so that Agent1 can retrieve the relevant product information.
-Responses generated by using the product sheet information must be relevant, complete, and accurate.
-Agent1 must be able to use the product sheets to answer natural language questions about product details.
-The model version used by Agent1 must remain consistent to ensure stable responses.
-The data processed by the model must remain within the EU.
Security and Compliance Requirements
Contoso identifies the following security and compliance requirements:
-▪ API keys must NOT be used to access Foundry-deployed models.
-▪ Access to the Azure resources must follow the principle of least privilege.
-▪ The developers at Contoso must authenticate to Microsoft Foundry resources by using Microsoft Entra authentication.
-▪ Access to Project1 must be assigned to the members of Agent1Dev Team by using a security group named
-SC_Agent1_Dev.
-▪ Access to Project1 must be assigned to the members of Agent1Test Team by using a security group named
-SC_Agent1_Test.
-▪ Agent1 must never reveal customer information, even if a document that contains customer data is added erroneously to the product sheet repository in storage1.
-The product sheets might contain images that include embedded text. Agent1 must be protected from malicious instructions potentially hidden within the images.
Business Requirements
Contoso identifies the following business requirements:
-Users that interact with Agent1 must have a personalized experience in future interactions, including the ability for Agent1 to retain conversation context and recall relevant information from previous interactions.
-Agent1 must answer questions only about the products sold by Contoso.

You have a Microsoft Foundry project that contains a model deployment.
You have an application that calls the deployment by using the Azure OpenAI 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?

  1. Cognitive Services User
  2. Cognitive Services OpenAI User
  3. Contributor
  4. Cognitive Services Data Reader

Answer(s): B

Explanation:

To resolve the HTTP 403 Forbidden errors when making inference calls via the Azure OpenAI v1 API and
DefaultAzureCredential, users must be assigned the Cognitive Services OpenAI User built-in Azure RBAC role.
Why This Happens
Running az login successfully authenticates the user with Microsoft Entra ID, but it does not grant data-plane access permissions. By default, standard control-plane roles (like Reader or Foundry User) only allow users to view project metadata or manage settings, not send prompts to the model deployment endpoint itself.
Recommended Role Definition
Role Name: Cognitive Services OpenAI User
Permissions Granted: This role provides the absolute minimum privileges required to execute chat completions, embeddings, and general inference tasks
(Microsoft.CognitiveServices/accounts/OpenAI/deployments/search/action and
Microsoft.CognitiveServices/accounts/OpenAI/deployments/causalLanguageModeling/action). It does not allow users to deploy new models, view access keys, or alter configurations
Scope Placement: Assign this role to the users (or a Microsoft Entra ID Group) at the Azure OpenAI resource level or the Resource Group level containing your Microsoft Foundry infrastructure.


Reference:

https://learn.microsoft.com/en-us/azure/foundry-classic/openai/how-to/managed-identity




Case Study
This is a case study. Case studies are not timed separately from other exam sections. You can use as much exam time as you would like to complete each case study. However, there might be additional case studies or other exam sections. Manage your time to ensure that you can complete all the exam sections in the time provided. Pay attention to the Exam Progress at the top of the screen so you have sufficient time to complete any exam sections that follow this case study.
To answer the case study questions, you will bed to reference information that is provided in the case. Case studies and associated questions might contain exhibits or other resources that provide more information about the scenario described in the case. Information provided in an individual question does not apply to the other questions in the case study.
A Review Screen will appear at the end of this case study. From the Review Screen, you can review and change your answers before you move to the next exam section. After you leave this case study, you will NOT be able to return to it.
To start the case study
To display the first question in this case study, select the “Next” button. To the left of the question, a menu provides links to information such as business requirements, the existing environment, and problem statements. Please read through all this information before answering any questions.
When you are ready to answer a question, select the “Question” button to return to the question.
Overview
Company Information
Contoso, Ltd is a multinational retail company that builds, deploys, and manages generative AI and agent-based solutions by using Microsoft Foundry.
Existing Environment
Identity Environment
Contoso uses Microsoft Entra ID for identity management, authentication, and authorization capabilities that enable agents to access organizational resources and services.
Contoso recently formed a new AI engineering team named Agent1Dev Team to optimize and maintain existing AI solutions.
The team collaborates with solution architects, DevOps engineers, and security engineers to design,
implement. monitor, and secure AI applications.
Contoso also has a team named Agent1Test Team that is responsible for validating AI solutions before the solution deployments.
Generative Environment
Contoso has a Microsoft Foundry deployment that contains two projects named Project1 and Project2.
Project1
Project1 contains a customer support agent named Agent1 that assists customers with product inquiries and troubleshooting requests.
Agent1 has the following configurations:
▪ Agent1 uses a base model deployment.
▪ A safety evaluation pipeline is NOT enabled.
▪ Tool invocation approval workflows are NOT enabled.
▪ Conversation memory constraints are NOT configured.
Agent1 interacts with customers by using digital support channels and answers general questions about
Contoso products.
Project1 is deployed to an Azure region located in the European Union (EU).
Agent1Dev Team will use Project1 to optimize and maintain Agent1.
Project2
Project2 contains a deployed video generation model. The marketing department at Contoso has access to
Project2 and plans to use the model to develop a video creation solution.
Development of the solution is incomplete.
Data Environment
Contoso stores product-related information in Azure resources that support AI applications.
The Azure environment contains an Azure Blob Storage account named storage1 that stores product detail sheets for all the Contoso products.
The product sheets include specifications, feature descriptions, and product support information that Agent1
can use to answer customer questions. The product sheets are stored in the PDF format.
Problem Statements
Contoso identifies the following issues:
-Agent1 has only general knowledge of the Contoso products.
-A recent chat interaction with Agent1 was analyzed for sentiment. The results of the analysis have NOT
-been processed yet.
-Agent1 does NOT use the detailed product information in the product sheets stored in storage1 when responding to customer questions.
-The finance department at Contoso reports that vendor invoices must be reviewed manually to ensure that the invoices match the terms defined in the vendor contracts. The invoices contain tables, logos, and varied layouts that make the documents difficult to process consistently.
Requirements
Planned Changes
Contoso plans to implement the following changes:
-▪ Implement a solution for Project1 that analyzes the vendor invoices by evaluating both the visual layout and the textual content of the invoices, so that the invoice details can be verified against the vendor contract terms.
-▪ Update the base model deployment used by Agent1 and standardize the model version to ensure continuity and consistent responses.
▪ Enable Agent1 to retrieve and use the detailed product information from the product sheets stored in storage1.
▪ Implement an indexing solution for the product sheets that Agent1 can use to answer customer questions.
▪ Complete the development of the video creation solution.
Technical Requirements
Contoso identifies the following technical requirements:
-▪ The model deployment used by Agent1 must support scalable, high-throughput generative AI workloads and dynamically scale to handle variable customer support traffic, without requiring reserved throughput capacity.
-▪ The product sheets must be processed by using an indexing pipeline that enables semantic and vector search, so that Agent1 can retrieve the relevant product information.
-Responses generated by using the product sheet information must be relevant, complete, and accurate.
-Agent1 must be able to use the product sheets to answer natural language questions about product details.
-The model version used by Agent1 must remain consistent to ensure stable responses.
-The data processed by the model must remain within the EU.
Security and Compliance Requirements
Contoso identifies the following security and compliance requirements:
-▪ API keys must NOT be used to access Foundry-deployed models.
-▪ Access to the Azure resources must follow the principle of least privilege.
-▪ The developers at Contoso must authenticate to Microsoft Foundry resources by using Microsoft Entra authentication.
-▪ Access to Project1 must be assigned to the members of Agent1Dev Team by using a security group named
-SC_Agent1_Dev.
-▪ Access to Project1 must be assigned to the members of Agent1Test Team by using a security group named
-SC_Agent1_Test.
-▪ Agent1 must never reveal customer information, even if a document that contains customer data is added erroneously to the product sheet repository in storage1.
-The product sheets might contain images that include embedded text. Agent1 must be protected from malicious instructions potentially hidden within the images.
Business Requirements
Contoso identifies the following business requirements:
-Users that interact with Agent1 must have a personalized experience in future interactions, including the ability for Agent1 to retain conversation context and recall relevant information from previous interactions.
-Agent1 must answer questions only about the products sold by Contoso.

You have a Microsoft Foundry project that contains an agent. The agent has a Model Context Protocol (MCP)
tool that queries a knowledge base stored in Azure AI Search.
Some agent runs return answers from the base model without invoking the knowledge base, which results in responses without grounded citations.
You are provided with the following code snippet that runs the agent.

You need to add the correct tool _choice parameter to the code to deterministically force the agent to invoke the MCP tool on each run.
What should you add?

  1. tool_choice={“required”}
  2. tool_choice={“auto”}
  3. tool_choice={“type”:“knowledge_base”}
  4. tool_choice ={“type”:“mcp”}

Answer(s): A

Explanation:

To deterministically force the agent to invoke your Model Context Protocol (MCP) tool on every run, you must pass tool_choice="required" into the run_create_and_process method.
The 'required' tool choice: Setting this parameter to 'required' forces the underlying Azure OpenAI model to invoke one of your available tools on every response, ensuring the agent doesn't guess answers from the base model.


Reference:

https://learn.microsoft.com/en-us/azure/foundry/agents/concepts/tool-best-practice




Case Study
This is a case study. Case studies are not timed separately from other exam sections. You can use as much exam time as you would like to complete each case study. However, there might be additional case studies or other exam sections. Manage your time to ensure that you can complete all the exam sections in the time provided. Pay attention to the Exam Progress at the top of the screen so you have sufficient time to complete any exam sections that follow this case study.
To answer the case study questions, you will bed to reference information that is provided in the case. Case studies and associated questions might contain exhibits or other resources that provide more information about the scenario described in the case. Information provided in an individual question does not apply to the other questions in the case study.
A Review Screen will appear at the end of this case study. From the Review Screen, you can review and change your answers before you move to the next exam section. After you leave this case study, you will NOT be able to return to it.
To start the case study
To display the first question in this case study, select the “Next” button. To the left of the question, a menu provides links to information such as business requirements, the existing environment, and problem statements. Please read through all this information before answering any questions.
When you are ready to answer a question, select the “Question” button to return to the question.
Overview
Company Information
Contoso, Ltd is a multinational retail company that builds, deploys, and manages generative AI and agent-based solutions by using Microsoft Foundry.
Existing Environment
Identity Environment
Contoso uses Microsoft Entra ID for identity management, authentication, and authorization capabilities that enable agents to access organizational resources and services.
Contoso recently formed a new AI engineering team named Agent1Dev Team to optimize and maintain existing AI solutions.
The team collaborates with solution architects, DevOps engineers, and security engineers to design,
implement. monitor, and secure AI applications.
Contoso also has a team named Agent1Test Team that is responsible for validating AI solutions before the solution deployments.
Generative Environment
Contoso has a Microsoft Foundry deployment that contains two projects named Project1 and Project2.
Project1
Project1 contains a customer support agent named Agent1 that assists customers with product inquiries and troubleshooting requests.
Agent1 has the following configurations:
▪ Agent1 uses a base model deployment.
▪ A safety evaluation pipeline is NOT enabled.
▪ Tool invocation approval workflows are NOT enabled.
▪ Conversation memory constraints are NOT configured.
Agent1 interacts with customers by using digital support channels and answers general questions about
Contoso products.
Project1 is deployed to an Azure region located in the European Union (EU).
Agent1Dev Team will use Project1 to optimize and maintain Agent1.
Project2
Project2 contains a deployed video generation model. The marketing department at Contoso has access to
Project2 and plans to use the model to develop a video creation solution.
Development of the solution is incomplete.
Data Environment
Contoso stores product-related information in Azure resources that support AI applications.
The Azure environment contains an Azure Blob Storage account named storage1 that stores product detail sheets for all the Contoso products.
The product sheets include specifications, feature descriptions, and product support information that Agent1
can use to answer customer questions. The product sheets are stored in the PDF format.
Problem Statements
Contoso identifies the following issues:
-Agent1 has only general knowledge of the Contoso products.
-A recent chat interaction with Agent1 was analyzed for sentiment. The results of the analysis have NOT
-been processed yet.
-Agent1 does NOT use the detailed product information in the product sheets stored in storage1 when responding to customer questions.
-The finance department at Contoso reports that vendor invoices must be reviewed manually to ensure that the invoices match the terms defined in the vendor contracts. The invoices contain tables, logos, and varied layouts that make the documents difficult to process consistently.
Requirements
Planned Changes
Contoso plans to implement the following changes:
-▪ Implement a solution for Project1 that analyzes the vendor invoices by evaluating both the visual layout and the textual content of the invoices, so that the invoice details can be verified against the vendor contract terms.
-▪ Update the base model deployment used by Agent1 and standardize the model version to ensure continuity and consistent responses.
▪ Enable Agent1 to retrieve and use the detailed product information from the product sheets stored in storage1.
▪ Implement an indexing solution for the product sheets that Agent1 can use to answer customer questions.
▪ Complete the development of the video creation solution.
Technical Requirements
Contoso identifies the following technical requirements:
-▪ The model deployment used by Agent1 must support scalable, high-throughput generative AI workloads and dynamically scale to handle variable customer support traffic, without requiring reserved throughput capacity.
-▪ The product sheets must be processed by using an indexing pipeline that enables semantic and vector search, so that Agent1 can retrieve the relevant product information.
-Responses generated by using the product sheet information must be relevant, complete, and accurate.
-Agent1 must be able to use the product sheets to answer natural language questions about product details.
-The model version used by Agent1 must remain consistent to ensure stable responses.
-The data processed by the model must remain within the EU.
Security and Compliance Requirements
Contoso identifies the following security and compliance requirements:
-▪ API keys must NOT be used to access Foundry-deployed models.
-▪ Access to the Azure resources must follow the principle of least privilege.
-▪ The developers at Contoso must authenticate to Microsoft Foundry resources by using Microsoft Entra authentication.
-▪ Access to Project1 must be assigned to the members of Agent1Dev Team by using a security group named
-SC_Agent1_Dev.
-▪ Access to Project1 must be assigned to the members of Agent1Test Team by using a security group named
-SC_Agent1_Test.
-▪ Agent1 must never reveal customer information, even if a document that contains customer data is added erroneously to the product sheet repository in storage1.
-The product sheets might contain images that include embedded text. Agent1 must be protected from malicious instructions potentially hidden within the images.
Business Requirements
Contoso identifies the following business requirements:
-Users that interact with Agent1 must have a personalized experience in future interactions, including the ability for Agent1 to retain conversation context and recall relevant information from previous interactions.
-Agent1 must answer questions only about the products sold by Contoso.

You have a Microsoft Foundry project named Project1 that contains an agent. The agent uses an OpenAPI 3.0
specification to call an external weather service.
The weather service requires a key to be passed in an HTTP header. The key value is stored as a connection in Project1.
You need to ensure that the key value from the connection is included automatically whenever the OpenAPI
tool is invoked.
What should you configure in the OpenAPI specification?

  1. a header parameter defined for each operation
  2. an Azure Key Vault connection
  3. an API key security scheme
  4. a Bearer token security scheme

Answer(s): C

Explanation:

To ensure Microsoft Foundry automatically injects the API key from your project connection whenever the
OpenAPI tool is invoked, your OpenAPI 3.0 specification must explicitly include a securitySchemes component mapping to the exact header name, and a global or operation-level security requirement referencing that scheme.The orchestrator matches the name field in the specification against the key stored inside your project's custom connection.
1. Required OpenAPI 3.0 Configuration
You must add both the components.securitySchemes block and the security block to your specification file:
openapi: 3.0.0
info:
title: External Weather Service version: 1.0.0
paths:
/weather:
get:
operationId: getWeather responses:
'200':
description: Successful weather retrieval
# 1. Define the security scheme in the components section components:
*-> securitySchemes:
weatherApiKey: # Arbitrary logical identifier for this scheme
*-> type: apiKey in: header name: X-Weather-API-Key # MUST match the "key" name configured in your Foundry Connection
# 2. Apply the security requirement globally (or inside individual operations)
security:
- weatherApiKey: [] # Instructs Foundry to enforce this scheme on the API requests in: header: Explicitly instructs the Foundry proxy layer to attach the credential value to the HTTP request headers (rather than as a query parameter).name: This string value is the exact HTTP header key (e.g.,
X-Weather-API-Key or Authorization). Crucially, this value must identically match the "Key" property given to the secret in your Microsoft Foundry Custom Connection.
security: Actively triggers the authentication workflow for the tool's endpoints. Without this block, Microsoft
Foundry treats the API call as anonymous and strips out connection values.


Reference:

https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/tools/openapi




Case Study
This is a case study. Case studies are not timed separately from other exam sections. You can use as much exam time as you would like to complete each case study. However, there might be additional case studies or other exam sections. Manage your time to ensure that you can complete all the exam sections in the time provided. Pay attention to the Exam Progress at the top of the screen so you have sufficient time to complete any exam sections that follow this case study.
To answer the case study questions, you will bed to reference information that is provided in the case. Case studies and associated questions might contain exhibits or other resources that provide more information about the scenario described in the case. Information provided in an individual question does not apply to the other questions in the case study.
A Review Screen will appear at the end of this case study. From the Review Screen, you can review and change your answers before you move to the next exam section. After you leave this case study, you will NOT be able to return to it.
To start the case study
To display the first question in this case study, select the “Next” button. To the left of the question, a menu provides links to information such as business requirements, the existing environment, and problem statements. Please read through all this information before answering any questions.
When you are ready to answer a question, select the “Question” button to return to the question.
Overview
Company Information
Contoso, Ltd is a multinational retail company that builds, deploys, and manages generative AI and agent-based solutions by using Microsoft Foundry.
Existing Environment
Identity Environment
Contoso uses Microsoft Entra ID for identity management, authentication, and authorization capabilities that enable agents to access organizational resources and services.
Contoso recently formed a new AI engineering team named Agent1Dev Team to optimize and maintain existing AI solutions.
The team collaborates with solution architects, DevOps engineers, and security engineers to design,
implement. monitor, and secure AI applications.
Contoso also has a team named Agent1Test Team that is responsible for validating AI solutions before the solution deployments.
Generative Environment
Contoso has a Microsoft Foundry deployment that contains two projects named Project1 and Project2.
Project1
Project1 contains a customer support agent named Agent1 that assists customers with product inquiries and troubleshooting requests.
Agent1 has the following configurations:
▪ Agent1 uses a base model deployment.
▪ A safety evaluation pipeline is NOT enabled.
▪ Tool invocation approval workflows are NOT enabled.
▪ Conversation memory constraints are NOT configured.
Agent1 interacts with customers by using digital support channels and answers general questions about
Contoso products.
Project1 is deployed to an Azure region located in the European Union (EU).
Agent1Dev Team will use Project1 to optimize and maintain Agent1.
Project2
Project2 contains a deployed video generation model. The marketing department at Contoso has access to
Project2 and plans to use the model to develop a video creation solution.
Development of the solution is incomplete.
Data Environment
Contoso stores product-related information in Azure resources that support AI applications.
The Azure environment contains an Azure Blob Storage account named storage1 that stores product detail sheets for all the Contoso products.
The product sheets include specifications, feature descriptions, and product support information that Agent1
can use to answer customer questions. The product sheets are stored in the PDF format.
Problem Statements
Contoso identifies the following issues:
-Agent1 has only general knowledge of the Contoso products.
-A recent chat interaction with Agent1 was analyzed for sentiment. The results of the analysis have NOT
-been processed yet.
-Agent1 does NOT use the detailed product information in the product sheets stored in storage1 when responding to customer questions.
-The finance department at Contoso reports that vendor invoices must be reviewed manually to ensure that the invoices match the terms defined in the vendor contracts. The invoices contain tables, logos, and varied layouts that make the documents difficult to process consistently.
Requirements
Planned Changes
Contoso plans to implement the following changes:
-▪ Implement a solution for Project1 that analyzes the vendor invoices by evaluating both the visual layout and the textual content of the invoices, so that the invoice details can be verified against the vendor contract terms.
-▪ Update the base model deployment used by Agent1 and standardize the model version to ensure continuity and consistent responses.
▪ Enable Agent1 to retrieve and use the detailed product information from the product sheets stored in storage1.
▪ Implement an indexing solution for the product sheets that Agent1 can use to answer customer questions.
▪ Complete the development of the video creation solution.
Technical Requirements
Contoso identifies the following technical requirements:
-▪ The model deployment used by Agent1 must support scalable, high-throughput generative AI workloads and dynamically scale to handle variable customer support traffic, without requiring reserved throughput capacity.
-▪ The product sheets must be processed by using an indexing pipeline that enables semantic and vector search, so that Agent1 can retrieve the relevant product information.
-Responses generated by using the product sheet information must be relevant, complete, and accurate.
-Agent1 must be able to use the product sheets to answer natural language questions about product details.
-The model version used by Agent1 must remain consistent to ensure stable responses.
-The data processed by the model must remain within the EU.
Security and Compliance Requirements
Contoso identifies the following security and compliance requirements:
-▪ API keys must NOT be used to access Foundry-deployed models.
-▪ Access to the Azure resources must follow the principle of least privilege.
-▪ The developers at Contoso must authenticate to Microsoft Foundry resources by using Microsoft Entra authentication.
-▪ Access to Project1 must be assigned to the members of Agent1Dev Team by using a security group named
-SC_Agent1_Dev.
-▪ Access to Project1 must be assigned to the members of Agent1Test Team by using a security group named
-SC_Agent1_Test.
-▪ Agent1 must never reveal customer information, even if a document that contains customer data is added erroneously to the product sheet repository in storage1.
-The product sheets might contain images that include embedded text. Agent1 must be protected from malicious instructions potentially hidden within the images.
Business Requirements
Contoso identifies the following business requirements:
-Users that interact with Agent1 must have a personalized experience in future interactions, including the ability for Agent1 to retain conversation context and recall relevant information from previous interactions.
-Agent1 must answer questions only about the products sold by Contoso.

You have a Microsoft Foundry project that serves a high-volume chat app.
Most requests are simple FAQs, but some require advanced reasoning.
You need to reduce costs and latency for common queries, without degrading the quality of the responses to complex questions.
What should you do?

  1. Route all the requests to a smaller model.
  2. Use a model cascade that routes the requests to different models.
  3. Increase the value of the max_tokens parameter for all the requests.
  4. Route all the requests to the most capable model.

Answer(s): B

Explanation:

One should absolutely use a model cascade to route requests to different models based on complexity. This architectural pattern is highly effective for high-volume chat applications because it directly addresses the trade-off between operational cost, API latency, and response quality.
Using a model cascade router ensures that your high-volume Microsoft Foundry application scales efficiently by reserving expensive computational power exclusively for queries that actually require advanced cognitive processing.
Note:
1. Analyze Request Complexity
Implement a lightweight intent classifier or routing layer at the entry point of your Microsoft Foundry project.
This router quickly inspects incoming user prompts using basic heuristic keyword matching, semantic embeddings, or a highly optimized, fast model (like Phi-3 or GPT-4o-mini) to categorize the query as either a
"Simple FAQ" or a "Complex Reasoning" request.
2. Route to the Optimal TierTier 1 (Fast & Cheap):
Route standard, predictable FAQ requests to a smaller, cost-effective model or a local cache/vector database lookup. This keeps latency in milliseconds and drastically lowers token costs.
Tier 2 (Advanced Reasoning): Route multi-step logic, coding, or highly contextual queries to a frontier model
(like GPT-4o).
3. Implement Fallback LogicDesign the cascade to be dynamic. If the smaller Tier 1 model generates a response with low confidence, or if the user asks a follow-up question that invalidates the simple FAQ status,
seamlessly upgrade the conversation loop to the Tier 2 model.


Reference:

https://medium.com/@sujathamudadla1213/what-is-the-primary-purpose-of-a-model-cascade-in-machine-lear ning-0b145a7bc6e2



Share your comments for Microsoft AI-103 exam with other users:

A
AI Tutor Explanation
6/13/2026 3:10:11 AM

Question 23:
Question 23 describes a multimodal model where users can upload unsafe images that could contain hidden instructions. The goal is to implement controls to mitigate this risk.
Key points to understand

  • Prompt shield for documents: Highly effective. It scans text extracted from inputs (including image text) before it’s sent to the LLM to catch hidden instructions or jailbreaking tries embedded in documents or image-derived text.
  • Prompt shield for user prompts: Partially effective. It blocks direct jailbreak attempts written in the user’s prompt, but doesn’t catch everything, especially content coming from image text.
  • Image moderation: Highly effective. Blocks unsafe or harmful images before they reach the model, preventing many attacks at the source.
  • Protected Material Detection: Not helpful here. It’s designed to detect copyrighted material in outputs, not to protect against inputs that try to manipulate the model.

Why this matters
  • The strongest defense is defense in depth: combine image moderation with both types of prompt shields. The document/text shield catches hidden instructions in extracted image text; the user-prompt shield mitigates jailbreak attempts in user-provided prompts; image moderation stops unsafe images before processing.

On the provided solution note
  • The stated answer (A: “configure a prompt shield for user prompts”) would help, but it alone does not fully meet the goal. A more robust approach is to apply all three controls (document prompt shield, user prompt shield, and image moderation) to achieve stronger risk mitigation.

AI Tutor 👋 I’m here to help!