Question 21

You have a Microsoft Foundry project named Project1 that contains the following:
* An OpenAPI tool that calls an external API
* A project connection named Connection1 that stores the API key of the external API When an agent calls the OpenAPI tool, the API returns a 401 unauthorized error, and traces show that the API key header is NOT being sent.
You need to ensure that the OpenAPI tool automatically includes the API key from Connection1 on all requests.
What should you do?
  • Question 22

    Case Study 1 - Contoso, Ltd
    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 need to recommend an invoice review solution that resolves the issue reported by the finance department. What should you include in the recommendation?
  • Question 23

    You have an Azure subscription that contains an Azure App Service app named App1.
    You provision a Microsoft Foundry Service resource named CSAccount1.
    You need to configure App1 to access CSAccount1. The solution must minimize administrative effort.
    What should you use to configure App1?
  • Question 24

    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?
  • Question 25

    You plan to configure an evaluation in Microsoft Foundry for a Retrieval Augmented Generation (RAG) chat app. You need to provide scores for groundedness, relevance, and harmful-content categories. Which two evaluation categories can you use? Each correct answer presents part of the solution.