option
Cuestiones
ayuda
daypo
buscar.php

AI-103

COMENTARIOS ESTADÍSTICAS RÉCORDS
REALIZAR TEST
Título del Test:
AI-103

Descripción:
AI-103 - Microsoft Foundry

Fecha de Creación: 2026/09/30

Categoría: Informática

Número Preguntas: 135

Valoración:(0)
COMPARTE EL TEST
Nuevo ComentarioNuevo Comentario
Comentarios
NO HAY REGISTROS
Temario:

Q1 Case Study - 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 - 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. Planned 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 - 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 - 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 - 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 configure the model deployment for Agent1 to meet the technical requirements. What should you configure? Deployment type: Standard / Global Standard / Global Provisioned Version update policy: Once the current version expires / Opt out of automatic model version upgrades / Upgrade once a new default version becomes available. Deployment type: Standard | Version update policy: Opt out of automatic model version upgrades. Deployment type: Global Standard | Version update policy: Upgrade once a new default version becomes available. Deployment type: Global Provisioned | Version update policy: Opt out of automatic model version upgrades. Deployment type: Standard | Version update policy: Once the current version expires.

Q2 Case Study - 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 - 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. Planned 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 - 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 - 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 - 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 configure Agent1 to meet the security and compliance requirements. What should you use?. self-harm content filtering. prompt shields. Personally identifiable information (PII) Detection. violence content filtering.

Q3 You are planning a Microsoft Foundry project named Project1 that will contain multiple agents. Each agent will access the same Azure AI Search resource. You need to recommend a solution to centrally manage the Azure AI Search credentials within Project1. The solution must be implemented across all the agents. What should you recommend?. Enable role-based access control (RBAC) for the Azure AI Search resource. Disable key-based access control on the Azure AI Search resource. Add a connection to the Azure AI Search resource. Create a managed private endpoint that connects to the Azure AI Search resource.

Q4 Your company is piloting a customer support agent in a Microsoft Foundry project named Project1. Project1 is connected to an existing Application Insights resource, and the company's support team reviews runs in the Traces tab. The Foundry Agent Service is configured to perform the following actions: - Retrieve the Application Insights connection string by calling project_client.telemetry.get_application_insights_connection_string(). - Call configure_azure_monitor(connection_string=...) to enable telemetry. A separate LangChain service is configured to use OpenTelemetry and has the following configurations: - Uses AzureAIOpenTelemetryTracer(connection_string=..., enable_content_recording=False) - Passes the tracer by using config={"callbacks":[azure_tracer]} Company policy has the following requirements: - Telemetry from LangChain and OpenTelemetry must be distinguishable within the same Application Insights resource. - Secrets and credentials must NOT be stored in prompts, tool arguments, or span attributes. For each of the following statements, select Yes if the statement is true. Otherwise, select No. 1. The LangChain service will appear in Traces without configuring a tracer. 2. Setting different OTEL_SERVICE_NAME values separates the services in Application Insights. 3. When using enable_content_recording=False, prompts and tool data will be captured in the telemetry. Yes | Yes | No. No | Yes | No. No | No | Yes. Yes | No | No.

Q5 You have a Microsoft Foundry project that processes procurement documents submitted by suppliers. You need to implement two pipelines by using Azure Content Understanding in Foundry Tools. The solution must meet the following requirements: - Include a pipeline named Pipeline1 that supports cost-effective, high-volume processing of standalone PDF invoices. - Include a pipeline named Pipeline2 that supports cross-document validation by using multi-step reasoning and reference data. How should you configure each pipeline? Configurations: Multi-file task in pro mode / Multi-file task in standard mode / Single-file task in pro mode / Single-file task in standard mode. Pipeline1: Single-file task in standard mode | Pipeline2: Multi-file task in pro mode. Pipeline1: Single-file task in pro mode | Pipeline2: Multi-file task in standard mode. Pipeline1: Multi-file task in standard mode | Pipeline2: Single-file task in pro mode. Pipeline1: Multi-file task in pro mode | Pipeline2: Single-file task in standard mode.

Q6 You have a Python application named App1 that integrates with a Microsoft Foundry project named Project1. You need to ensure that App1 meets the following requirements: - Authenticates by using a Microsoft Entra managed identity - Sends prompts to a deployed model by using the Azure OpenAI Responses API How should you complete the Python code? from azure.identity import DefaultAzureCredential from azure.ai.projects import AIProjectClient credential = [Blank 1]() project_client = AIProjectClient( endpoint="https://contosoai.services.ai.azure.com/api/projects/project1", credential=credential, ) with project_client.get_openai_client() as openai_client: response = openai_client.responses.[Blank 2]( model="trail-guide-chat", input="Create a 3-day hiking itinerary near Seattle.", ) print(response.output_text) Blank 1: AzureKeyCredential / ClientSecretCredential / DefaultAzureCredential Blank 2: compact / create / retrieve. Blank 1: AzureKeyCredential | Blank 2: create. Blank 1: ClientSecretCredential | Blank 2: retrieve. Blank 1: DefaultAzureCredential | Blank 2: compact. Blank 1: DefaultAzureCredential | Blank 2: create.

Q7 You have a Microsoft Foundry project that contains a workflow for a customer support triage process. You have an Ask a question node that stores user responses in a local variable named Var01. You need to create the following Power Fx expressions: - An if/else condition expression that ensures that Var01 contains a value - A Send message expression that returns the stored user response in uppercase How should you configure the expressions? If/else condition expression: IsBlank(Local.Var01) / IsEmpty(Local.Var01) / Not(IsBlank(Local.Var01)) Send message expression: {Local.Var01} / {Upper(Local.Var01)} / {Upper(Var01)}. If/else: IsBlank(Local.Var01) | Send message: {Upper(Local.Var01)}. If/else: IsEmpty(Local.Var01) | Send message: {Local.Var01}. If/else: Not(IsBlank(Local.Var01)) | Send message: {Upper(Local.Var01)}. If/else: Not(IsBlank(Local.Var01)) | Send message: {Upper(Var01)}.

Q8 You have a Microsoft Foundry project that contains a customer support agent built by using the Foundry Agent Service. The agent uploads user-provided screenshots to Azure Storage through a ticketing tool and receives a blob URL for additional reasoning. You need to use image moderation during agent runs and prevent harmful content from being returned during runs. Azure AI Content Safety must access the images by using the blob URL. The solution must follow the principle of least privilege. What should you configure for Content Safety? Guardrails: Select Tool call and set Action to Block. / Select User input and Output and set Action to Annotate. / Select User input and Tool response and set Action to Annotate. / Select User input, Output, Tool response, and Tool call and set Action to Block. Storage access: Storage account access keys / A user-assigned identity that is assigned the Storage Queue Data Contributor role / A system-assigned managed identity that is assigned the Storage Blob Data Reader role / A system-assigned managed identity that is assigned the Storage Blob Data Contributor role. Guardrails: Select Tool call and set Action to Block. | Storage access: A system-assigned managed identity that is assigned the Storage Blob Data Contributor role. Guardrails: Select User input, Output, Tool response, and Tool call and set Action to Block. | Storage access: A system-assigned managed identity that is assigned the Storage Blob Data Reader role. Guardrails: Select User input and Tool response and set Action to Annotate. | Storage access: A system-assigned managed identity that is assigned the Storage Blob Data Reader role. Guardrails: Select User input, Output, Tool response, and Tool call and set Action to Block. | Storage access: Storage account access keys.

Q9 You have a Microsoft Foundry project that contains three agents as shown in the following table. Name | Description TriageAgent | Classifies incoming customer requests PolicyAgent | Answers policy questions by searching internal content ActionAgent | Creates or updates tickets by calling an HTTP API 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?. a workflow. threads and runs without a workflow. a multi-agent group chat session. separate agent runs coordinated in the application code.

Q10 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?. the project URL. the custom speech project ID. the project ID. the custom speech endpoint URL.

Q11 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? steps: - id: propose_refund type: agent agent: PaymentAgent - id: approval type: [Blank 1] - id: execute_refund type: agent agent: PaymentAgent condition: [Blank 2] Blank 1: ask_question / basic_chat / data_transformation Blank 2: approval == "approved" / propose_refund.output != null / true. type: basic_chat | condition: true. type: data_transformation | condition: propose_refund.output != null. type: ask_question | condition: approval == "approved". type: basic_chat | condition: approval == "approved".

Q12 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?. Speech recognition requests will return a 4xx error until a new custom model is deployed. Speech recognition requests will continue to use the expired custom model until the model is removed manually. Speech recognition requests will fall back to the most recent base model for the same locale. The custom model will be deleted automatically when the model expires.

Q13 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?. Cognitive Services User. Cognitive Services OpenAI User. Contributor. Cognitive Services Data Reader.

Q14 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. run = project_client.agents.runs.create_and_process( thread_id=thread.id, agent_id=agent.id ) 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?. tool_choice={"required"}. tool_choice={"auto"}. tool_choice={"type":"knowledge_base"}. tool_choice={"type":"mcp"}.

Q15 You have a Microsoft Foundry project that contains a customer support agent grounded in internal documentation. After a recent update, users report the following issues: - Some answers are unsupported by retrieved documents. - A small number of responses are flagged for policy violations. You need to evaluate each issue. Which observability signals should you use for each issue? Observability signals: Groundedness evaluation metrics / Latency breakdown traces / Risk and safety metrics / Token usage analytics. Unsupported responses: Risk and safety metrics | Policy violations: Groundedness evaluation metrics. Unsupported responses: Latency breakdown traces | Policy violations: Risk and safety metrics. Unsupported responses: Groundedness evaluation metrics | Policy violations: Risk and safety metrics. Unsupported responses: Groundedness evaluation metrics | Policy violations: Token usage analytics.

Q16 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?. a header parameter defined for each operation. an Azure Key Vault connection. an API key security scheme. a Bearer token security scheme.

Q17 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?. Route all the requests to a smaller model. Use a model cascade that routes the requests to different models. Increase the value of the max_tokens parameter for all the requests. Route all the requests to the most capable model.

Q18 You have a Microsoft Foundry project that contains an internal Q&A agent. Users report the following issues when they ask the agent questions: - An increase in the following response: "No relevant information found" - Periodic HTTP 429 rate limit exceeded errors during peak hours You need to identify whether each issue is caused by model unavailability, resource limits, or inference failures. What should you do? Metrics to enable: Model Availability Rate and Provisioned Utilization / Only Tokens Cache Match Rate / Only Total Requests filtered to status code 200 / Time To Response and Total Tokens Diagnostic log to collect: AllMetrics / audit / RequestResponse / trace. Metrics: Time To Response and Total Tokens | Diagnostic log: trace. Metrics: Only Tokens Cache Match Rate | Diagnostic log: RequestResponse. Metrics: Model Availability Rate and Provisioned Utilization | Diagnostic log: audit. Metrics: Model Availability Rate and Provisioned Utilization | Diagnostic log: RequestResponse.

Q19 You have a Microsoft Foundry project that contains a high-traffic agent. After a recent update, operational costs increase significantly. Monitoring confirms that the volume of user traffic to the agent remains unchanged. You suspect that changes to the request or response characteristics are causing the increase. You need to identify whether the additional costs are driven by the model input size, the model output size, or expanded tool usage. Which observability capability should you use?. latency. evaluation metrics. run success rate. token usage.

Q20 You have a Microsoft Foundry project that contains an agent. The agent uses tools to retrieve internal content and call external APIs. The agent is configured to let the model decide when to call the tools. You need to publish the agent for a compliance workflow. The solution must meet the following requirements: - Each workflow run must include a retrieval step before generating a response. - Tool calls must authenticate by using the published agent's own identity. - Tool access must use an identity isolated from other project resources. - Tool access must support audit tracing. What should you do? Set tool_choice to: auto / none / required Configure the tool to authenticate by: Storing API keys in prompts / Using the shared project agent identity / Using a distinct agent identity bound to the client application. tool_choice: auto | Authenticate by: Using the shared project agent identity. tool_choice: required | Authenticate by: Using a distinct agent identity bound to the client application. tool_choice: none | Authenticate by: Using a distinct agent identity bound to the client application. tool_choice: required | Authenticate by: Storing API keys in prompts.

Q21 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?. Enable identity passthrough so that the tool uses the Microsoft Entra token of the caller. Add the API key header manually to the OpenAPI specification. Configure the tool to use the default connection of Project1. Connect the tool to Connection1.

Q22 You have a Microsoft Foundry project that contains a customer support agent. The agent calls an internal knowledge API tool before generating responses. Users report the following issues: - Some requests take more than 15 seconds to complete. - Some responses are incorrect, even when the knowledge API returns the expected data. You need to inspect individual agent runs to view the ordered sequence of large language model (LLM) calls, tool invocations, and timing information. Which observability capability should you use?. token usage. monitoring. safety metrics. tracing.

Q23 Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem. Determine whether the solution meets the stated goals. You have a multimodal AI generative model that accepts image uploads and uses extracted image text to generate responses. You discover that users can upload unsafe images and embed hidden instructions into images to manipulate the model. You need to implement controls to mitigate the risk. Solution: You configure a prompt shield for user prompts. Does this meet the goal?. Yes. No.

Q24 Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem. Determine whether the solution meets the stated goals. You have a multimodal AI generative model that accepts image uploads and uses extracted image text to generate responses. You discover that users can upload unsafe images and embed hidden instructions into images to manipulate the model. You need to implement controls to mitigate the risk. Solution: You configure image moderation to block unsafe content before processing the images. Does this meet the goal?. Yes. No.

Q25 Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem. Determine whether the solution meets the stated goals. You have a multimodal AI generative model that accepts image uploads and uses extracted image text to generate responses. You discover that users can upload unsafe images and embed hidden instructions into images to manipulate the model. You need to implement controls to mitigate the risk. Solution: You configure a prompt shield for documents. Does this meet the goal?. Yes. No.

Q26 Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem. Determine whether the solution meets the stated goals. You have a multimodal AI generative model that accepts image uploads and uses extracted image text to generate responses. You discover that users can upload unsafe images and embed hidden instructions into images to manipulate the model. You need to implement controls to mitigate the risk. Solution: You configure protected material detection. Does this meet the goal?. Yes. No.

Q27 Case Study - 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 - 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. Planned 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 - 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 - 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 - 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 a solution to assess the responses generated by Agent1 when the agent uses the product information stored in storage1. The solution must meet the technical requirements. What should you include in the recommendation?. a Retrieval Augmented Generation (RAG) evaluator. a custom guardrail. model fine-tuning. a groundedness evaluator.

Q28 Case Study - 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 - 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. Planned 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 - 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 - 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 - 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 configure Agent1 to answer customer questions about only the Contoso products. The solution must meet the business requirements. What should you do?. Modify the system message instructions. Add few-shot examples. Apply top-p sampling. Increase the value of the temperature parameter.

Q29 You have a Microsoft Foundry project. You plan to build a customer support solution that contains an agent. The solution must meet the following requirements: - Provide accurate, context-aware responses grounded in internal product documentation stored in Azure AI Search. - Require deep, multi-step reasoning across long contexts. - Generate detailed natural language responses. Which type of model should you use to power the agent?. a multimodal model. a small language model (SLM). a key phrase extraction model. a large language model (LLM).

Q30 You have a Microsoft Foundry project that contains a deployed ticket-triage agent. You discover that sometimes the agent responds without calling any tools, even when a tool is required. You need to ensure that the agent calls a tool during execution. How should you complete the Python code? run_payload = { "assistant_id": agent_id, [Blank 1]: [Blank 2], "metadata": { "scenario": "ticket-triage" } } Values: "auto" / "required" / "response_format" / "tool_choice" / "tools" / "type". "response_format" = "required". "tools" = "auto". "tool_choice" = "auto". "tool_choice" = "required".

Q31 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.

Q32 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? Tools: Code interpreter / Computer use / File search / Grounding with Bing Search / Microsoft Fabric. Public websites: Computer use | Calculations: Code interpreter | Uploaded documents: Microsoft Fabric. Public websites: Grounding with Bing Search | Calculations: Code interpreter | Uploaded documents: File search. Public websites: Grounding with Bing Search | Calculations: Microsoft Fabric | Uploaded documents: File search. Public websites: Grounding with Bing Search | Calculations: File search | Uploaded documents: Code interpreter.

Q33 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. Application Insights | OpenTelemetry. a Log Analytics workspace | the Azure Monitor Agent. Application Insights | Microsoft Sentinel. OpenTelemetry | the Azure Monitor Agent.

Q34 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. Persist only the final model response stored in the client application and enable memory summarization on the agent definition.

Q35 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? message = client.messages.create( model="deployment-name", messages=[ {"role": "user", "content": "Summarize the release notes in 3 bullet points."} ], max_tokens=800, temperature=[Blank 1], thinking={"type": "enabled"}, output_config={"effort": [Blank 2]} ) Blank 1: 0 / 1 / 2 Blank 2: "high" / "low" / "medium". temperature=2 | effort: "high". temperature=0 | effort: "low". temperature=0 | effort: "high". temperature=1 | effort: "medium".

Q36 You have a chat app in a Microsoft Foundry project and an Azure AI Search vectorized index. You need to connect to the index to meet the following requirements: - Complex questions must retrieve information from multiple chunks. - Multi-turn conversations must influence retrieval planning. - Retrievals must run in parallel to reduce latency. Which retrieval approach should you use?. iterative retrieval. agentic Retrieval Augmented Generation (RAG). chain of thought. classic Retrieval Augmented Generation (RAG).

Q37 You need to recommend a plan to create a customer support agent by using the Microsoft Foundry Agent Service. The agent must meet the following requirements: - Retain user preferences across multiple conversations. - Enable users to provide contextual grounding by directly uploading documents during a chat. Which Foundry capability should you recommend for each requirement? Retain user preferences: Agent memory that uses persistent storage / Conversation history / Orchestration-managed session context Contextual grounding during chats: Azure AI Search tool / Code interpreter tool / File search tool. Preferences: Agent memory that uses persistent storage | Grounding: File search tool. Preferences: Conversation history | Grounding: File search tool. Preferences: Orchestration-managed session context | Grounding: Azure AI Search tool. Preferences: Agent memory that uses persistent storage | Grounding: Code interpreter tool.

Q38 You have a Microsoft Foundry project that contains an agent. The agent generates summaries from retrieved policy documents. You need to improve response completeness. The solution must be implemented in the logic of the application code before responses are returned. What should you do?. Add a retry evaluation before the responses are returned. Decrease the value of the max_tokens parameter. Switch to Retrieval Augmented Generation (RAG). Replace the model with a smaller deployment.

Q39 You have a customer support agent built by using the Microsoft Foundry Agent Service. The agent calls an Azure OpenAI model deployment. During load testing, calls intermittently fail and return an HTTP 429 rate limit exceeded error. You need to handle throttling to reduce call failures and improve reliability under load. The solution must remain within the service and model limits. What should you do?. Create a new thread and retry the calls immediately. Reduce the number of registered tools. Implement a retry policy that uses exponential backoff and jitter. Split uploaded content into smaller files.

Q40 You have a Microsoft Foundry project that contains an agent. You use a GitHub Actions workflow for CI/CD. You need to configure the workflow to automatically evaluate the agent when a pull request (PR) is created and prevent branches from merging if the evaluation results do NOT meet the defined thresholds. How should you configure the workflow? Authentication method: A personal access token (PAT) / A user-assigned managed identity / An Azure Login action that uses OpenID Connect (OIDC) If the evaluation results are NOT met, configure the workflow to: Lock the target branch / Send an alert / Fail. Authentication: A personal access token (PAT) | If not met: Fail. Authentication: An Azure Login action that uses OpenID Connect (OIDC) | If not met: Fail. Authentication: A user-assigned managed identity | If not met: Lock the target branch. Authentication: An Azure Login action that uses OpenID Connect (OIDC) | If not met: Send an alert.

Q41 Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem. Determine whether the solution meets the stated goals. You have a Microsoft Foundry project that contains an agent. The agent generates summaries from retrieved policy documents. Users report that some responses omit required regulatory clauses, even when the clauses are present in the retrieved content. You need to improve response completeness. Solution: You increase the value of the max_tokens parameter. Does this meet the goal?. Yes. No.

Q42 Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem. Determine whether the solution meets the stated goals. You have a Microsoft Foundry project that contains an agent. The agent generates summaries from retrieved policy documents. Users report that some responses omit required regulatory clauses, even when the clauses are present in the retrieved content. You need to improve response completeness. Solution: You add a reflection pass that regenerates the response if the required clauses are missing. Does this meet the goal?. Yes. No.

Q43 Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem. Determine whether the solution meets the stated goals. You have a Microsoft Foundry project that contains an agent. The agent generates summaries from retrieved policy documents. Users report that some responses omit required regulatory clauses, even when the clauses are present in the retrieved content. You need to improve response completeness. Solution: You increase the value of the temperature parameter. Does this meet the goal?. Yes. No.

Q44 Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem. Determine whether the solution meets the stated goals. You have a Microsoft Foundry project that contains an agent. The agent generates summaries from retrieved policy documents. Users report that some responses omit required regulatory clauses, even when the clauses are present in the retrieved content. You need to improve response completeness. Solution: You run an evaluation flow that scores responses for completeness and blocks responses that fall below a defined threshold. Does this meet the goal?. Yes. No.

Q45 You are creating an image-editing workflow in a Microsoft Foundry project. The workflow must meet the following requirements: - Ensure that background objects can be removed by applying a mask-based inpainting edit. - Preserve the original lighting and style of the edited images. - Use the built-in image editing controls, NOT a custom model. You need to ensure that image edits apply exclusively inside the masked area. How should you configure the workflow?. Set generation mode to image_variation and provide the original image as a reference. Enable text_to_image mode and a prompt describing the desired background removal. Enable image_to_image mode and a high-strength value to regenerate the full image based on the prompt. Enable mask_inpainting and supply both the input image and a mask indicating which part of the image to modify.

Q46 You have a Microsoft Foundry project that generates product marketing images from text prompts. After publishing several images, the legal team at your company identifies a competitor's logo on a sign in the background of an image. You need to remove only the logo, while preserving the rest of the image. What should you do?. Apply a mask-based inpainting edit to the part of the image that contains the logo. Increase the prompt guidance strength. Modify the original prompt to exclude brand names. Rerun the prompt by using a different random seed.

Q47 You have a Microsoft Foundry project that contains an agent. The agent ingests scanned PDF vendor invoices that contain tables and embedded QR codes. The agent must preserve the PDF layout in the extracted output to ensure that downstream processing can reference sections and tables. You plan to call Azure Content Understanding in Foundry Tools. You need to extract content and layout elements and detect QR codes without requiring a language model deployment. Which built-in analyzer should you use?. prebuilt-documentFieldSchema. prebuilt-read. prebuilt-documentSearch. prebuilt-layout.

Q48 You have a Microsoft Foundry project that contains an agent and an image generation model deployment. The agent generates original images from user-supplied product photos. You need to ensure that the generated images maintain the product identity and visual characteristics of the provided photo. What should you do?. Set the input_fidelity parameter to high. Apply a groundedness detection filter. Include a prompt and input image in the request. Decrease the value of the temperature parameter.

Q49 You have a Microsoft Foundry project that contains an agent. The agent accepts user-uploaded screenshots and uses a multimodal chat model. Some screenshots contain potentially malicious embedded text. You need to prevent a prompt injection attack and ensure that third-party content is treated as lower trust. How should you configure prompt shields for document attacks? Prompt shields action: Disable the shield. / Set action to block. / Set action to annotate. Additional mitigation: Enable Spotlighting. / Create a custom blocklist. / Use optical character recognition (OCR) to extract the text from the images first. Prompt shields action: Set action to block. | Additional mitigation: Enable Spotlighting. Prompt shields action: Set action to annotate. | Additional mitigation: Create a custom blocklist. Prompt shields action: Disable the shield. | Additional mitigation: Use optical character recognition (OCR) to extract the text from the images first. Prompt shields action: Set action to block. | Additional mitigation: Create a custom blocklist.

Q50 You are deploying a support agent that enables users to upload photos. You need to automatically classify uploaded images for harmful content. The solution must block content based on severity levels. What should you do?. Apply keyword scanning to optical character recognition (OCR) output by using Azure Vision in Foundry Tools. Enable prompt shields. Use blocklists. Implement image moderation.

Q51 You have an app named App1 that uses a Microsoft Foundry multimodal model deployment. App1 runs optical character recognition (OCR) on uploaded images and appends the OCR output to the prompt as additional context. Some uploaded images contain embedded text. You need to prevent potentially malicious instructions from being processed by the model. What should you use?. image moderation. prompt shields for documents. protected material text. prompt shields for user prompts.

Q52 You have a Microsoft Foundry project that contains an agent. You need to process mixed-format documents that contain scanned text, tables, and multicolumn layouts. The extracted content must preserve the document structure and be converted into the Markdown format for downstream reasoning. What should you configure first?. an Azure Language in Foundry Tools text analysis model deployment. a generative chat completion request. an Azure OpenAI Responses API call that uses a multimodal model. an Azure Content Understanding in Foundry Tools analyzer.

Q53 You have an application that processes scanned PDF invoices. The invoices have varied layouts and include multipage tables. You have a pipeline that uses optical character recognition (OCR) and extracts totals and invoice numbers. The results are often incorrect because the document structure is ignored. You need to implement a solution that provides OCR, layout analysis, and template-generalizing field extraction. The solution must NOT require training a custom model. The solution must minimize administrative effort. What should you include in the solution?. Azure Language in Foundry Tools. Azure Content Understanding in Foundry Tools. an Azure Machine Learning model. Azure Language in Foundry Tools and an Azure Machine Learning model.

Q54 You have a Microsoft Foundry project that contains an agent. The agent uses a knowledge source built from documents stored in Azure Blob Storage. The documents include digitally scanned PDFs that contain multipage tables. You have an ingestion job that extracts only plain text, causing loss of table structure, headings, and page-number metadata. Users frequently ask questions that require the retrieval of specific table rows across the pages. You need to configure an ingestion job for a Retrieval Augmented Generation (RAG) pipeline that performs optical character recognition (OCR) on scanned PDFs, preserves tables and headings as structure-aware chunks, and stores page-number metadata with each chunk. How should you configure the ingestion job?. Use advanced data parsing to reingest the documents. Use OCR and page-level chunking. Use page-level OCR extraction and store each page as a single chunk. Use basic parsing and fixed-size chunking.

Q55 You have a Microsoft Foundry project that contains an agent. The agent uses Azure AI Search as the retriever. You plan to ingest PDF into an Azure AI Search index to ensure that the agent can ground responses in texts in both documents and embedded images. Users require citations that link to the source files. You need to ensure that during indexing, the images are extracted into a structure that can be used as input for the built-in optical character recognition (OCR) skill. Which indexing approach should you use?. an indexer to extract image data into a normalized_images collection. a Shaper skill to restructure the OCR input. a skillset to run the OCR skill directly against the content field of the index. the outputFieldMappings parameter to write image data to a searchable field.

Q56 Case Study - 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 - 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. Planned 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 - 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 - 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 - 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?. chat completions. Azure Document Intelligence in Foundry Tools. Azure Content Understanding in Foundry Tools. Image Analysis.

Q57 You have a Microsoft Foundry project that contains an agent. The knowledge source for the agent is a set of scanned PDF troubleshooting guides stored in Azure Blob Storage. The guide pages contain two-column layouts and tables. You use Azure Content Understanding in Foundry Tools to process the PDFs. You plan to ingest the processed content into an index for Retrieval Augmented Generation (RAG) and store extracted fields for downstream automation. Stakeholders must be able to verify where each extracted field value came from in the original PDF and route low-reliability extractions for manual review. You need to ensure that the Content Understanding document analyzer output includes a per-field confidence score and source grounding to locations within the source document. What should you do?. Set enableSegment to true. Provide labeled samples. Enable estimateFieldSourceAndConfidence. Configure the analyzer to use generative extraction for all fields.

Q58 You are building a speech processing solution in Microsoft Foundry for a customer support platform. The platform will transcribe live phone calls, so that supervisors at your company can view call transcripts and detect issues while the calls are in progress. The call audio will arrive as a continuous stream from the telephony system. You need to ensure that the call transcripts appear within only a few seconds of the audio stream. What should you do?. Use text to speech by using a custom neural voice. Use speech translation to generate the transcripts into multiple languages. Run a batch transcription job on recorded audio files. Use real-time speech to text to process streaming audio input.

Q59 You are creating an agent workflow in a Microsoft Foundry project to support natural voice interactions. The agent must receive continuous audio input, convert the input into text for reasoning, and then return spoken responses to a user. The workflow must meet the following requirements: - Support turn-taking dynamics, where the agent begins to generate the speech output before the user finishes speaking. - Operate with low latency to maintain conversational experience. You need to enable both speech to text and text to speech in a real-time agent interaction. What should you do?. Use batch transcription to convert the audio input and return text responses from the agent. Use real-time speech to text for incoming audio and text to speech for agent responses. Use an embeddings model to encode the audio, and then decode the audio into text and speech. Use speech translation to convert the audio into another language and return the translated text.

Q60 You have an application named App1 that uses Azure Speech in Foundry Tools to transcribe live calls. Transcript segments often contain both English and Spanish. App1 sends each segment to Azure Translator in Foundry Tools to translate to another language. Sometimes, mixed-language segments result in incomplete or incorrect translations. You need to reduce translation errors. The solution must ensure that the entire transcript is translated successfully. What should you do before sending the segments to Translator?. Use document translation to translate the entire transcript as a single document. Split the mixed-language segments into single-language segments and translate each segment separately. Enable automatic language detection for the translation request. Specify English as the source language in the translation request for all the segments.

Q61 Case Study - 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 - 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. Planned 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 - 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 - 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 - 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 configure an indexing pipeline for Agent1 to retrieve the relevant product information in storage1. The solution must meet the technical requirement. Which two built-in skills should you use? Each correct answer presents part of the solution. Azure OpenAI Embedding | Text Split. Entity Recognition | Merge. Azure OpenAI Embedding | Language Detection. Text Split | key phrase extraction.

Q62 Case Study - 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 - 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. Planned 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 - 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 - 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 - 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 a solution to support the planned changes and technical requirements for Agent1 to use the product information stored in storage1. What should you include in the recommendation?. Azure Translator in Foundry Tools. Grounding with Bing Search. Azure AI Search. Azure Document Intelligence in Foundry Tools.

Q63 You have a Microsoft Foundry project named Project1. Project1 contains an application that processes PDF vendor invoices. You need to configure Azure Document Intelligence in Foundry Tools to generate a Markdown output that preserves the sections and table structure of the PDFs. The solution must minimize development effort. What should you do?. Configure output=figures when you analyze the PDF. Configure content=markdown when you analyze the document. Increase the confidence threshold. Set the output_content_format=ContentFormat.MARKDOWN value.

Q64 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?. a Foundry agent that has groundedness guardrails enabled to extract invoice fields and confidence scores. a custom Azure Content Understanding in Foundry Tools analyzer that defines the required fields as the extracted fields and the returned confidence scores for routing. the Azure Content Understanding in Foundry Tools prebuilt-layout analyzer. the Azure Content Understanding in Foundry Tools prebuilt-documentSearch analyzer and search.score from the Azure AI Search results for routing.

Q65 You have a Microsoft Foundry project that uses Azure AI Search to ground an agent in internal documentation. After a recent content update, users report that the agent's answers have become less accurate. You need to identify whether the retrieved content is negatively influencing the model's generated responses. Which observability signal should you review?. indexer status and failure history. latency breakdown traces. prediction drift metrics. groundedness evaluation metrics.

Q67 Case Study - 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 - 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. Planned 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 - 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 - 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 - 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 configure personalized user interactions for Agent1. The solution must meet the business requirements. What should you include in the solution?. knowledge. memory. guardrails. tools.

Q69 You have a Microsoft Foundry project that contains a Retrieval Augmented Generation (RAG) chat solution used by customer support agents. You are adding an automated pre-production evaluation step to a CI/CD pipeline named Pipeline1. The evaluation will run against a labeled test dataset that contains support questions and the expected grounding context. You need to ensure that Pipeline1 fails if unsupported content or a retrieval mismatch exceeds a defined threshold: - responses include claims not supported by the retrieved source content - retrieved source content does not align with the labeled expected context Which two built-in evaluators should you use in Pipeline1? Each correct answer presents part of the solution. Retrieval | Groundedness. Fluency | Coherence. Groundedness | Response Completeness. Retrieval | Fluency.

Q70 You have a Microsoft Foundry project that contains a support-ticket triage agent built by using the Foundry Agent Service. The agent uses tools to classify the ticket type and set the ticket priority. Sometimes, the same support case continues across multiple sessions over several days. You need to persist state by using a durable ID to ensure that the agent can automatically reuse the full interaction history. The solution must preserve previous user messages, tool calls and tool outputs across turns and sessions. Which runtime component should you use?. output item. agent. conversation. response.

Q71 You have a Microsoft Foundry project that contains a Retrieval Augmented Generation (RAG) solution. You need to run a pre-production evaluation by using a labeled CSV dataset that contains the query, context, response and ground truth. The evaluation must measure the following: - Whether responses address the user query - Whether responses are supported by the provided context - Whether responses contain sensitive or proprietary information Which AI quality evaluation metrics should you use? Supported by context and address the query: Coherence and Fluency / GPT similarity and F1 score / Groundedness and Relevance / Groundedness and ROUGE score Sensitive or proprietary information: Hateful and unfair content / Indirect attack / Protected material / Violent content. Context and query: Coherence and Fluency | Sensitive information: Protected material. Context and query: Groundedness and ROUGE score | Sensitive information: Indirect attack. Context and query: Groundedness and Relevance | Sensitive information: Protected material. Context and query: GPT similarity and F1 score | Sensitive information: Hateful and unfair content.

Q72 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 a complete solution. fluency evaluator | similarity evaluators. risk and safety metrics | AI quality (AI assisted) metrics. risk and safety metrics | AI quality (NLP) metrics. similarity evaluators | AI quality (AI assisted) metrics.

Q73 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?. {"type": "bing_grounding"}. {"type": "azure_ai_search"}. "auto". "required".

Q74 You have a Microsoft Foundry project that contains a customer support agent built on a deployed chat model. The agent responses are validated by using an automated testing system that compares generated answers to stored expected outputs. Identical prompts must return consistent responses to prevent automated test failures. You need to reduce response variability, without modifying the prompt or reducing factual accuracy. What should you do for the model?. Increase the max_tokens parameter. Remove stop sequences from the requests. Decrease the temperature parameter. Increase the temperature parameter.

Q75 You are developing prompts for a Microsoft Foundry project that classifies incoming support tickets by category. You need to improve accuracy by showing the model how correct classifications look, without retraining the model or storing knowledge permanently. Which prompt engineering approach should you use?. Retrieval Augmented Generation (RAG). zero-shot learning. chain of thought. few-shot learning.

Q76 You have a Microsoft Foundry project that contains an agent for a customer support chat app. The agent uses a memory store and a memory search tool. You need to ensure that the conversation history does NOT persist across separate sessions. To what should you set the scope of the memory tool?. session. {{$conversationId}}. {{$userId}}. global.

Q77 You have a Microsoft Foundry project that contains an agent. You need to enable long-term memory to ensure that the agent can recall user preferences across separate conversations. Stored memories must be isolated per authenticated user without the client application manually generating user IDs. How should you complete the Python code? from azure.ai.projects.models import MemorySearchTool, PromptAgentDefinition mem_store_name = "agent_mem_store" memory_tool = MemorySearchTool( memory_store_name=mem_store_name, scope=[Blank 1] ) agent_def = PromptAgentDefinition( model="gpt-5.2", instructions="You are a customer support assistant.", tools=[Blank 2] ) Values: "session" / "{{$conversationId}}" / "{{$userId}}" / [mem_store_name] / [memory_tool] / MemorySearchTool("support_mem_store"). scope="{{$userId}}" | tools=[memory_tool]. scope="session" | tools=[memory_tool]. scope="{{$conversationId}}" | tools=[mem_store_name]. scope="{{$userId}}" | tools=MemorySearchTool("support_mem_store").

Q78 You have a web app named App1 that processes user prompts by integrating with a Microsoft Foundry project named Project1. App1 performs the following actions: - Sends prompts directly to a model by using the Azure OpenAI Responses API - Invokes the Azure AI Content Safety tool by using a Foundry connection within the same request You need to configure end-to-end visibility into each step of the request workflow. What should you do?. Enable logging by using the client SDK for Content Safety. Enable logging by using Foundry Local. Enable application tracing in Project1. Route requests through the Azure OpenAI endpoint.

Q79 You have a Microsoft Foundry project that contains two agents named PolicyWriter and RiskReviewer. PolicyWriter generates draft updates for customer policies, and RiskReviewer reviews the drafts. In the visual builder, you need to create a workflow that meets the following requirements: - Finalizes low-risk updates without manual intervention - Ensures predictable execution across the agents - Requires user approval for high-risk updates What should you configure? Orchestration pattern: The sequential template that passes outputs node by node / The group chat template to dynamically route control between the agents / The human-in-the-loop template that pauses execution of the workflow for input Approval checkpoints: Add a Basic chat node. / Add a Condition statement. / Add an Ask a question node. Pattern: The group chat template to dynamically route control between the agents | Checkpoints: Add a Basic chat node. Pattern: The human-in-the-loop template that pauses execution of the workflow for input | Checkpoints: Add a Condition statement. Pattern: The sequential template that passes outputs node by node | Checkpoints: Add an Ask a question node. Pattern: The sequential template that passes outputs node by node | Checkpoints: Add a Basic chat node.

Q80 You have a Microsoft Foundry project that contains an agent named Agent1. Agent runs are successful, but Foundry Control Plane does NOT display values for error rates, runs, and token usage, and the Traces tab is empty. You need to ensure that Foundry Control Plane displays the appropriate values for Agent1. What should you do?. Update Agent1 to a new version. Restart Agent1 from Foundry Control Plane. Assign a Log Analytics workspace to Agent1. Enable Application Insights for Agent1.

Q81 You have a Microsoft Foundry project that contains an agent. The agent uses Azure Content Understanding in Foundry Tools to process vendor onboarding packets. The packets include digital PDFs that contain tables and hyperlinks. The extracted content is indexed for search and provided to a downstream agent in the Markdown format. You need to generate a Markdown output that has a layout and a semantic structure optimized for Retrieval Augmented Generation (RAG) workflows. Which built-in analyzer should you use?. prebuilt-documentFieldSchema. prebuilt-documentSearch. prebuilt-read. prebuilt-layout.

Q82 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. Which indexing approach should you use?. vector search. semantic ranking. suggesters. analyzers.

Q83 You have a Microsoft Foundry agent that grounds responses from an Azure AI Search index that contains the following: - Searchable text fields for product names and product codes - A vector field that stores embeddings for product descriptions You need to ensure that users can query the index by using the following: - Exact product names or codes - Natural language descriptions of the products What should you configure?. vector search only. hybrid search. keyword search only. semantic search only.

Q84 You have an Azure AI Search indexer that ingests PDF policy manuals. Client applications must display page-level citations that have bounding polygons for both text and images. You need to add a single built-in multimodal content extraction skill to the Azure AI Search skillset. The solution must meet the following requirements: - Provide text and image location metadata. - Extract tables that span multiple pages. What should you add?. Document Extraction. Azure Content Understanding in Foundry Tools. GenAI Prompt. Document Layout.

Q85 You are building an Azure AI Search indexing pipeline named Pipeline1 that ingests invoices stored in Azure Blob Storage. The invoices are stored as scanned images. You need to enable users to search invoice data across the invoice fields. Which built-in skill should you add to the skillset of Pipeline1?. Text Split. Text Translation. optical character recognition (OCR). Image Analysis.

Q86 You have a Microsoft Foundry project that uses Azure Content Understanding in Foundry Tools to analyze marketing videos. Video segmentation is enabled. You need to configure an analyzer to output a generated JSON field that describes the color scheme of each video segment. How should you configure the analyzer? Values: classify / generate / group / string / table. Field value type: table | Field method: generate. Field value type: string | Field method: classify. Field value type: group | Field method: classify. Field value type: string | Field method: generate.

Q87 You have an invoice-processing application named App1 that uses Azure Content Understanding in Foundry Tools. You are building a new Content Understanding pipeline named Pipeline1 that must meet the following requirements: - Compare an invoice to its related purchase order - Validate the invoice against static vendor contract documents - Return a single structured output that includes discrepancy findings You need to configure Pipeline1 and expose the pipeline as a single analyzer endpoint. What should you configure?. a single-file task in standard mode that uses the vendor contract provided as an additional document during analysis. a single-file task in standard mode that uses confidence scores enabled for the extracted fields. a multi-file task in pro mode that uses the vendor contract files as reference data. a multi-file task in standard mode that uses the invoice and purchase order as input to the analyzer.

Q88 You have a Microsoft Foundry project that generates short promotional product videos. After several clips are approved, reviewers notice a small watermark in the top-right corner of some videos. You need to remove the watermark without regenerating the videos. What should you do?. Modify the original prompt to exclude watermarks. Crop the video by using the size parameter. Increase the guidance scale. Apply a mask-based inpainting edit to the affected part of the video.

Q89 You have a web app named App1 that sends requests to a multimodal chat model deployment in a Microsoft Foundry project. User messages can contain both text and images. Currently, App1 includes image URLs as plain text inside the message content so the model cannot recognize them as images. Traces show that the requests contain a single text message instead of a multimodal content array. You need to send the message as a structured array that includes both the text portion and the image reference to ensure that the model can process the image correctly. What should you do?. Set the user message content array to include items that have type: text and type: image_url. Encode the image to base64 and include the encoded data inside the content string of the user message. Add the image URL to the request metadata section, so the model can resolve the processing issue automatically. Place the image URL inside the System Message and set type to image_url so the model loads the image at initialization.

Q90 You are building a customer support web app named App1 in Microsoft Foundry that uses a GPT realtime model. App1 must support: - Live, low-latency voice conversations that use Azure OpenAI - Streaming audio input from users and playback audio responses You need to configure a connection method that supports real-time audio streaming in the client application and targets approximately 100 ms latency. Which connection method should you use?. RTMP. WebRTC. SIP. WebSocket.

Q91 You have a Microsoft Foundry project that contains an agent and uses a GitHub repository. The repository contains a YAML file named File1 that defines the evaluation settings of the agent. You need to create a GitHub Actions workflow that runs the evaluation defined in File1 when a pull request (PR) is opened. How should you configure the workflow?. Set project-endpoint to the endpoint of the project. Set evaluation-config to the path of the YAML file. Set model-deployment-name to the deployed model. Set tenant-id to the Microsoft Entra tenant ID.

Q92 You have a Microsoft Foundry project that contains an agent. The agent uses a stored access key to retrieve secrets from an Azure key vault, which violates a keyless-credentials requirement. You need to ensure that the agent can retrieve the secrets. The solution must follow the principle of least privilege. What should you configure? Managed identity scope: Enable a system-assigned managed identity at the Foundry level. / Enable a system-assigned managed identity at the project level. / Create a service principal and store the principal's client secret. Key Vault authorization method: Add an API key to application settings. / Add a Key Vault access policy for the secrets. / Assign the Key Vault Secrets User role to the managed identity. Identity: Enable a system-assigned managed identity at the Foundry level. | Authorization: Assign the Key Vault Secrets User role to the managed identity. Identity: Enable a system-assigned managed identity at the project level. | Authorization: Assign the Key Vault Secrets User role to the managed identity. Identity: Create a service principal and store the principal's client secret. | Authorization: Add an API key to application settings. Identity: Enable a system-assigned managed identity at the project level. | Authorization: Add a Key Vault access policy for the secrets.

Q93 You have a Microsoft Foundry project that contains a customer support application. You create an evaluation named Run1 that has the following configurations: - Includes risk and safety metrics - Includes the protected material evaluation - Includes harmful content metrics that use a medium severity threshold You create an evaluation named Run2 that has the following configurations: - Includes risk and safety metrics - Includes the protected material evaluation - Includes harmful content metrics that use a high severity threshold You run both evaluations against a dataset named DB1 and receive the following results: - Content harm defect rate of Run1: 12% - Content harm defect rate of Run2: 4% - Protected material evaluation of Run1: 6% - Protected material evaluation of Run2: 6% You start a fine-tuning job by using DB1. The job fails during automatic RAI checks for multiple content harm types. You discover that the content filtering configuration is set to high severity. For each of the following statements, select Yes if the statement is true. Otherwise, select No. 1. Changing the content filtering configuration to low severity will resolve the fine-tuning job issues. 2. The difference between the 12% and 4% content harm defect rate is consistent with the different severity thresholds used in Run1 and Run2. 3. The identical 6% protected material evaluation values across Run1 and Run2 indicate that this metric is unaffected by the change in the severity threshold. No | Yes | Yes. Yes | Yes | Yes. No | No | Yes. Yes | No | No.

Q94 You have a Microsoft Foundry project that contains a multi-agent solution. The agents use tool calling to query internal systems. You need to implement responsible AI auditing to meet the following requirements: - Capture all the nested operations across the entire agent run. - Record tool invocation arguments and returned results as metadata. What should you use for each requirement? Options: Hierarchical spans / A KQL query filter / Sampling / Tool call attributes / Trace sampling policy. Nested operations: Trace sampling policy | Tool arguments and results: Tool call attributes. Nested operations: Hierarchical spans | Tool arguments and results: A KQL query filter. Nested operations: Sampling | Tool arguments and results: Hierarchical spans. Nested operations: Hierarchical spans | Tool arguments and results: Tool call attributes.

Q95 You have a Microsoft Foundry project that contains an agent. The agent uses threads and file uploads and calls an Azure OpenAI model deployment. During load testing, calls intermittently fail and return an HTTP 429 rate limit exceeded error. Some user uploads fail and generate an HTTP 400 file size exceeded error. You need to mitigate the errors and reduce call failures. The solution must remain within the service and model limits. What should you do to resolve each error? Actions: Increase tenant-wide quotas. / Move large content to files and use file search. / Use additional agent tools to reduce the message size. / Implement exponential backoff and jitter in the retry logic. / Split content into smaller files before uploading the files. HTTP 429: Increase tenant-wide quotas. | HTTP 400: Split content into smaller files before uploading the files. HTTP 429: Implement exponential backoff and jitter in the retry logic. | HTTP 400: Use additional agent tools to reduce the message size. HTTP 429: Implement exponential backoff and jitter in the retry logic. | HTTP 400: Split content into smaller files before uploading the files. HTTP 429: Move large content to files and use file search. | HTTP 400: Increase tenant-wide quotas.

Q96 You have a Microsoft Foundry project. You need to deploy a model from the model catalog to support a search solution for internal policy documents. The model must generate vector representations of the text in the documents and of user queries. Which type of model should you use?. an embedding model. an image generation model. a large language model (LLM). a small language model (SLM).

Q97 You have a Microsoft Foundry project. You need to deploy a model from the model catalog to support real-time inference. The solution must meet the following requirements: - Use key-based authentication. - Support real-time REST API access. - NOT consume the vCPU quota of the virtual machines in the Azure subscription. Which type of deployment should you use?. serverless API. batch. self-hosted container. standard.

Q98 You plan to create a Microsoft Foundry project named Project1 that will contain an agent and use an Azure key vault named KV1. You need to configure a connection from Project1 to KV1. How should you complete the Bicep code? resource existingKeyVault 'Microsoft.KeyVault/vaults@2024-11-01' existing = { name: 'KV1' scope: resourceGroup() } resource connection 'Microsoft.CognitiveServices/accounts/connections@2025-04-01-preview' = { name: '${aiFoundryName}-keyvault' parent: aiFoundry properties: { category: [Blank 1] target: existingKeyVault.id authType: [Blank 2] isSharedToAll: ... metadata: { ApiType: 'Azure' ResourceId: existingKeyVault.id location: existingKeyVault.location } } } Blank 1: 'AzureAIService' / 'AzureKeyVault' / 'AzureOpenAI' Blank 2: 'AccountKey' / 'AccountManagedIdentity' / 'ApiKey'. category: 'AzureAIService' | authType: 'AccountManagedIdentity'. category: 'AzureKeyVault' | authType: 'ApiKey'. category: 'AzureOpenAI' | authType: 'AccountKey'. category: 'AzureKeyVault' | authType: 'AccountManagedIdentity'.

Q99 You have a Microsoft Foundry project. You need to create a customer support agent that meets the following requirements: - Grounds responses only in company policy documents stored in curated repositories - Retains customer preferences across separate chat sessions How should you configure the agent? Knowledge grounding: Configure retrieval from approved data sources. / Upload the policy documents directly to the agent. / Embed the policy documents directly into the agent instructions. Memory: Use orchestration-managed session context. / Enable agent memory that uses persistent storage. / Retain user preferences in the state of the client application. Grounding: Upload the policy documents directly to the agent. | Memory: Enable agent memory that uses persistent storage. Grounding: Embed the policy documents directly into the agent instructions. | Memory: Use orchestration-managed session context. Grounding: Configure retrieval from approved data sources. | Memory: Enable agent memory that uses persistent storage. Grounding: Configure retrieval from approved data sources. | Memory: Retain user preferences in the state of the client application.

Q100 You have a Microsoft Foundry project that contains an agent. The agent generates summaries from retrieved policy documents. You need to improve response completeness. The solution must be implemented in the logic of the application code before responses are returned. What should you do?. Add a retry evaluation before the responses are returned. Decrease the value of the temperature parameter. Increase the value of the presence_penalty parameter. Replace the model with a smaller deployment.

Q101 You develop a test method to verify the results retrieved from a call to the Azure Vision in Foundry Tools API. The call is used to analyze the existence of company logos in images. The call returns a collection of brands named brands. You have the following code segment: for brand in image_analysis.brands: if brand.confidence >= 0.75: print(f"\nLogo of {brand.name} between {brand.rectangle.x}, {brand.rectangle.y} and {brand.rectangle.w}, {brand.rectangle.h}") For each of the following statements, select Yes if the statement is true. Otherwise, select No. 1. The code will display the name of each detected brand with a confidence equal to or higher than 75 percent. 2. The code will display coordinates for the top-left corner of the rectangle that contains the brand logo of the displayed brands. 3. The code will display coordinates for the bottom-right corner of the rectangle that contains the brand logo of the displayed brands. Yes | Yes | No. Yes | No | Yes. No | Yes | No. Yes | Yes | Yes.

Q102 You have an Azure subscription. You plan to build an app that will use the Azure AI DALL-E model. You need to deploy the model. What should you use?. the Azure SDK for Python and PowerShell cmdlets. the Azure SDK for JavaScript and Azure Machine Learning Studio. Microsoft Foundry and the Azure Command Line Interface (CLI). the Azure portal and Microsoft Graph API.

Q103 You have an Azure subscription. You need to create a new resource that will generate fictional stories in response to user prompts. The solution must ensure that the resource uses a customer-managed key to protect data. How should you complete the script? az cognitiveservices account create -n myresource -g myResourceGroup --kind [Blank 1] --sku S -l WestEurope [Blank 2] '{ "keySource": "Microsoft.KeyVault", "keyVaultProperties": { "keyName": "KeyName", "keyVersion": "secretVersion", "keyVaultUri": "https://issue23056kv.vault.azure.net/" } }' Blank 1: AIServices / LanguageAuthoring / OpenAI Blank 2: --api-properties / --assign-identity / --encryption. --kind AIServices | --encryption. --kind OpenAI | --assign-identity. --kind OpenAI | --encryption. --kind LanguageAuthoring | --api-properties.

Q104 You have a Python application that collects customer comments before posting them to a public forum. You need to send a text comment to Azure AI Content Safety and return the self-harm severity from the response. How should you complete the code? def get_self_harm_severity(comment: str) -> int: key = os.environ["CONTENT_SAFETY_KEY"] endpoint = os.environ["CONTENT_SAFETY_ENDPOINT"] client = ContentSafetyClient(endpoint, AzureKeyCredential(key)) request = [Blank 1] response = [Blank 2] result = next( item for item in response.categories_analysis if item.category == TextCategory.SELF_HARM ) return result.severity Blank 1: AnalyzeTextOptions(categories=comment) / AnalyzeTextOptions(text=[comment]) / AnalyzeTextOptions(text=comment) / TextCategory.SELF_HARM(comment) Blank 2: client.analyze_image(request) / client.analyze_text(request) / client.moderate_text(request) / client.path("/text:analyze").post(request). request = AnalyzeTextOptions(text=[comment]) | response = client.analyze_text(request). request = AnalyzeTextOptions(text=comment) | response = client.analyze_text(request). request = AnalyzeTextOptions(categories=comment) | response = client.moderate_text(request). request = AnalyzeTextOptions(text=comment) | response = client.analyze_image(request).

Q105 You have a custom named entity recognition (NER) project in Azure Language in Foundry Tools for support tickets. The schema for the project contains an entity type named ContactInfo. In tagged training files, ContactInfo is used for phone numbers, email addresses, and social media handles. Model evaluation shows low precision for ContactInfo, including false positives in which nearby text is extracted as ContactInfo. You need to improve the precision of the project. What should you do before retraining the model?. Lower the confidence threshold for ContactInfo. Trigger an auto-labeling job. Add more support tickets as training data and label more ContactInfo entities. Replace ContactInfo by using Phone, Email, and SocialMedia entities. Relabel every matching span.

Q106 You are building a text-to-speech solution that uses Azure Speech in Foundry Tools to read instructions from the script in a text file. You discover that the solution often pronounces technical terms incorrectly. You need to prevent the incorrect pronunciations. The solution must minimize development effort. What should you do?. From Speech Studio, train a custom neural voice. Use Speech Synthesis Markup Language (SSML) to specify phonemes. Use Speech Synthesis Markup Language (SSML) to apply say as rules. Use Speech Synthesis Markup Language (SSML) to adjust the prosody of the voice.

Q108 You are developing an application that will detect faulty components produced on a factory production line. The components are specific to your business. You need to use the Azure Custom Vision API to help detect common faults. Which three actions should you perform in sequence? Actions: Initialize the training dataset. / Train the classifier model. / Create a project. / Upload and tag images. / Train the object detection model. 1: Initialize the training dataset. | 2: Upload and tag images. | 3: Train the classifier model. 1: Create a project. | 2: Upload and tag images. | 3: Train the classifier model. 1: Create a project. | 2: Upload and tag images. | 3: Train the object detection model. 1: Upload and tag images. | 2: Create a project. | 3: Train the classifier model.

Q109 You are developing a new sales system that will process user-generated video and text from a public-facing website. You plan to notify users that their data has been processed by the sales system. Which responsible AI principle does this help meet?. fairness. transparency. inclusiveness. reliability and safety.

Q110 You are designing a content management system. You need to ensure that the reading experience is optimized for users who have reduced comprehension and learning differences, such as dyslexia. The solution must minimize development effort. Which Azure service should you include in the solution?. Azure Document Intelligence in Foundry Tools. Azure Language in Foundry Tools. Azure AI Immersive Reader. Azure Translator in Foundry Tools.

Q111 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?. the endpoint URI and subscription key. the endpoint URI and an OAuth token. the endpoint URI and a shared access signature (SAS) token. a system assigned managed identity and an X.509 certificate.

Q112 You have a web app that uses Azure AI Search. When reviewing activity, you see greater than expected search query volumes. You suspect that the query key is compromised. You need to prevent unauthorized access to the search endpoint and ensure that users only have read only access to the documents collection. The solution must minimize app downtime. Which three actions should you perform in sequence? Actions: Regenerate the primary admin key / Regenerate the secondary admin key / Change the app to use the secondary admin key / Add a new query key / Change the app to use the new key / Delete the compromised key. 1: Regenerate the secondary admin key | 2: Change the app to use the secondary admin key | 3: Regenerate the primary admin key. 1: Add a new query key | 2: Change the app to use the new key | 3: Delete the compromised key. 1: Delete the compromised key | 2: Add a new query key | 3: Change the app to use the new key. 1: Add a new query key | 2: Delete the compromised key | 3: Change the app to use the new key.

Q113 You need to create a new resource that will be used to perform sentiment analysis and optical character recognition (OCR). The solution must meet the following requirements: - Use a single key and endpoint to access multiple services. - Consolidate billing for future services that you might use. - Support the use of Azure Vision in Foundry Tools in the future. How should you complete the HTTP request to create the new resource? [Blank 1] https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/RG1/providers/Microsoft.CognitiveServices/accounts/CS1?api-version=2021-04-30 { "location": "West US", "kind": "[Blank 2]", "sku": { "name": "S0" }, "properties": {}, "identity": { "type": "SystemAssigned" } } Blank 1: PATCH / POST / PUT Blank 2: CognitiveServices / ComputerVision / TextAnalytics. Method: PUT | kind: CognitiveServices. Method: POST | kind: CognitiveServices. Method: PUT | kind: TextAnalytics. Method: PATCH | kind: ComputerVision.

Q114 You are building a model to detect objects in images. The performance of the model based on training data is shown in the following exhibit. Iteration 1 (General domain) - Probability Threshold: 50% - Overlap Threshold: 30% Precision: 100.0% | Recall: 25.0% | mAP: 77.2% Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic. 1. The percentage of false positives is: 0 / 25 / 30 / 50 / 100 2. The value for the number of true positives divided by the total number of true positives and false negatives is: 0 / 25 / 30 / 50 / 100. False positives: 25 | TP / (TP + FN): 100. False positives: 0 | TP / (TP + FN): 50. False positives: 100 | TP / (TP + FN): 25. False positives: 0 | TP / (TP + FN): 25.

Q115 You are developing an application that will use Azure AI Search for internal documents. You need to implement document-level filtering for Azure AI Search. Which three actions should you include in the solution? Each correct answer presents part of the solution. Create one index per group | Retrieve all the groups | Supply the groups as a filter for the search requests. Add allowed groups to each index entry | Send access tokens from Microsoft Entra ID with the search request | Retrieve all the groups. Add allowed groups to each index entry | Retrieve the group memberships of the user | Supply the groups as a filter for the search requests. Create one index per group | Retrieve the group memberships of the user | Send access tokens from Microsoft Entra ID with the search request.

Q116 You have an Azure AI Search indexer that ingests PDF policy manuals. Client applications must display page-level citations that have bounding polygons for both text and images. You need to add a single built-in multimodal content extraction skill to the Azure AI Search skillset. The solution must meet the following requirements: - Provide text and image location metadata. - Extract tables that span multiple pages. What should you add?. Document Layout. Document Extraction. Azure Content Understanding. GenAI Prompt.

Q117 You are creating an enrichment pipeline that will use Azure AI Search. The knowledge store contains unstructured JSON data and the text from scanned PDF documents. Which projection type should you use for each data type? JSON data: File projection / Object projection / Table projection Extracted text data: File projection / Object projection / Table projection. JSON data: Object projection | Extracted text data: Object projection. JSON data: File projection | Extracted text data: Table projection. JSON data: Table projection | Extracted text data: Object projection. JSON data: Object projection | Extracted text data: File projection.

Q118 You are building a custom vision model that will be deployed as part of an iOS app. You have images of cats and dogs. Each image contains either a cat or a dog. You need to use the Azure Custom Vision service to detect whether the image is of a cat or a dog. How should you configure the project in the Azure Custom Vision portal? Project Types: Classification / Object Detection Classification Types: Multiclass (Single tag per image) / Multilabel (Multiple tags per image) Domains: Adult / Food / General / General (compact) / Landmarks / Landmarks (compact) / Retail / Retail (compact). Classification | Multilabel (Multiple tags per image) | General. Object Detection | Multiclass (Single tag per image) | General (compact). Classification | Multiclass (Single tag per image) | General. Classification | Multiclass (Single tag per image) | General (compact).

Q119 You have a Microsoft Foundry project that contains an agent. The agent has a Model Context Protocol (MCP) tool named kbsearch 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. run = project_client.agents.runs.create_and_process( thread_id=thread.id, agent_id=agent.id ) You need to deterministically force the agent to invoke kbsearch on each run. What should you do?. Add the response_format parameter to the create_and_process() method call. Replace the create_and_process() method with the create_thread_and_process_run() method. Add the toolset parameter to the create_and_process() method call. Add the tool_choice parameter to the create_and_process() method call.

Q120 You are developing a text processing solution. You have the following function. def get_key_words(textAnalyticsClient, text): response = textAnalyticsClient.recognize_entities(documents = [text])[0] print("Key Words:") for entity in response.entities: print("\t\t", entity.text) You call the function and use the following string as the second argument. Our tour of London included a visit to Buckingham Palace What will be the output of the function?. London and Buckingham Palace only. Tour and visit only. Our tour of London included a visit to Buckingham Palace. London and Tour only.

Q121 You are building a solution that students will use to find references for essays. You use the following code to start building the solution. from azure.core.credentials import AzureKeyCredential from azure.ai.textanalytics import TextAnalyticsClient endpoint = os.environ["AZURE_TEXT_ANALYTICS_ENDPOINT"] key = os.environ["AZURE_TEXT_ANALYTICS_KEY"] text_analytics_client = TextAnalyticsClient(endpoint=endpoint, credential=AzureKeyCredential(key)) documents = [ """ Our tour guide took us up the Space Needle during our trip to Seattle last week. """ ] result = text_analytics_client.recognize_linked_entities(documents) For each of the following statements, select Yes if the statement is true. Otherwise, select No. 1. The code will detect the language of documents. 2. The url attribute returned for each linked entity will be a Bing search link. 3. The matches attribute returned for each linked entity will provide the location in a document where the entity is referenced. No | No | Yes. Yes | No | Yes. No | Yes | Yes. Yes | Yes | No.

Q122 You have a Microsoft Foundry project for a support ticket triage app that reads ticket text from a database. You need to ensure that the app meets the following requirements: - Compares candidate models by quality, cost, and throughput - Prevents hosting model weights in the Azure subscription What should you configure? Model evaluation: Configure private endpoint access. / Use deployment lists and license tabs. / Use tool catalog connections and run traces. / Use model catalog leaderboards and model cards. Deployment option: Bring your own model. / Build a vector index. / Use a serverless deployment. / Use a managed compute deployment. Evaluation: Use deployment lists and license tabs. | Deployment: Use a managed compute deployment. Evaluation: Use model catalog leaderboards and model cards. | Deployment: Use a managed compute deployment. Evaluation: Use tool catalog connections and run traces. | Deployment: Use a serverless deployment. Evaluation: Use model catalog leaderboards and model cards. | Deployment: Use a serverless deployment.

Q123 You have an Azure subscription. You need to build an app that will compare documents for semantic similarity. The solution must meet the following requirements: - Return numeric vectors that represent the tokens of each document. - Minimize development effort. Which Azure OpenAI model should you use?. GPT-3.5. embeddings. GPT-4. DALL-E.

Q124 You are building an app that will provide users with definitions of common AI terms. You create the following Python code. openai.api_key = key openai.api_base = endpoint response = openai.ChatCompletion.create( engine=deployment_name, messages=[ {"role": "system", "content": "You are a helpful assistant."}, {"role": "user", "content": "What is an LLM?"} ] ) print(response['choices'][0]['message']['content']) For each of the following statements, select Yes if the statement is true. Otherwise, select No. 1. The response will contain an explanation of large language models (LLMs) that has a high degree of certainty. 2. Changing "What is an LLM?" to "What is an LLM in the context of AI models?" will produce the intended response. 3. Changing "You are a helpful assistant." to "You must answer only within the context of AI language models." will give a higher likelihood of producing the intended response. Yes | Yes | Yes. No | Yes | Yes. No | No | Yes. Yes | No | No.

Q125 You have an Azure OpenAI model named AI1. You are building a web app named App1 by using the Azure OpenAI SDK. You need to configure App1 to connect to AI1. What information must you provide?. the deployment name, key, and model name. the endpoint, key, and model type. the deployment name, endpoint, and key. the endpoint, key, and model name.

Q126 You are building a solution in Azure that will use Azure Language in Foundry Tools service to process sensitive customer data. You need to ensure that only specific Azure processes can access the Language service. The solution must minimize administrative effort. What should you include in the solution?. Azure Application Gateway. a virtual network gateway. IPsec rules. virtual network rules.

Q127 You have an Azure subscription that contains a Microsoft Foundry Service resource named CSAccount1 and a virtual network named VNet1. CSAccount1 is connected to VNet1. You need to ensure that only specific resources can access CSAccount1. The solution must meet the following requirements: - Prevent external access to CSAccount1. - Minimize administrative effort. Which two actions should you perform? Each correct answer presents part of the solution. In VNet1, create a virtual subnet. | In CSAccount1, configure the Access control (IAM) settings. In CSAccount1, modify the virtual network settings. | In VNet1, modify the virtual network settings. In CSAccount1, modify the virtual network settings. | In VNet1, enable a service endpoint for CSAccount1. In VNet1, enable a service endpoint for CSAccount1. | In CSAccount1, configure the Access control (IAM) settings.

Q128 You have a collection of press releases stored as PDF files. You need to extract text from the files and perform sentiment analysis. Which service should you use for each task? Extract text: Azure AI Search / Azure Vision in Foundry Tools / Azure Document Intelligence in Foundry Tools Perform sentiment analysis: Azure AI Search / Azure AI Computer Vision / Azure Document Intelligence in Foundry Tools / Azure Language in Foundry Tools. Extract text: Azure AI Search | Sentiment: Azure Language in Foundry Tools. Extract text: Azure Vision in Foundry Tools | Sentiment: Azure Language in Foundry Tools. Extract text: Azure Vision in Foundry Tools | Sentiment: Azure Document Intelligence in Foundry Tools. Extract text: Azure Document Intelligence in Foundry Tools | Sentiment: Azure AI Search.

Q129 You are designing an Azure AI solution to identify defective products on a production line. You have a real-time video feed and an image library of sample products that are approved or rejected manually. You need to recommend a service that meets the following requirements: - Monitors the video feed and identifies the defective products. - Can train a new model by using the image library. - Minimizes development effort. What should you recommend?. Azure Vision in Foundry Tools. Azure AI Video Indexer. Azure AI Custom Vision. Azure Machine Learning.

Q130 You run the following command. docker run --rm -it -p 5000:5000 --memory 10g --cpus 2 \ mcr.microsoft.com/azure-cognitive-services/textanalytics/sentiment \ Eula=accept \ Billing={ENDPOINT_URI} \ ApiKey={API_KEY} For each of the following statements, select Yes if the statement is true. Otherwise, select No. 1. Going to http://localhost:5000/status will query the Azure endpoint to verify whether the API key used to start the container is valid. 2. The container logging provider will write log data. 3. Going to http://localhost:5000/swagger will provide the details to access the documentation for the available endpoints. Yes | Yes | Yes. No | No | Yes. No | Yes | No. Yes | No | Yes.

Q131 You are developing an app that will use the Speech and Language APIs. You need to provision resources for the app. The solution must ensure that each service is accessed by using a single endpoint and credential. Which type of resource should you create?. Azure Language in Foundry Tools. Microsoft Foundry service. Azure Speech in Foundry Tools. Content Safety in Foundry Control Plane.

Q132 You are building an app that will include one million scanned magazine articles. Each article will be stored as an image file. You need to configure the app to extract text from the images. The solution must minimize development effort. What should you include in the solution?. Azure Document Intelligence in Foundry Tools. the Read API in Azure Vision in Foundry Tools. Azure Vision in Foundry Tools Image Analysis. Azure Language in Foundry Tools.

Q133 You are building an app that will scan confidential documents and use the Azure Language in Foundry Tools service to analyze the contents. You provision a Microsoft Foundry Service resource. You need to ensure that the app can make requests to the Azure Language in Foundry Tools service endpoint. The solution must ensure that confidential documents remain on-premises. Which three actions should you perform in sequence? Actions: Pull an image from Docker Hub. / Run the container and specify an API key and the Endpoint URL of the Azure AI resource. / Provision an on-premises Kubernetes cluster that is isolated from the internet. / Provision an on-premises Kubernetes cluster that has internet connectivity. / Provision an Azure Kubernetes Service (AKS) resource. / Run the container and specify an App ID and Client Secret. / Pull an image from the Microsoft Container Registry (MCR). 1: Provision an on-premises Kubernetes cluster that has internet connectivity. | 2: Pull an image from the Microsoft Container Registry (MCR). | 3: Run the container and specify an API key and the Endpoint URL of the Azure AI resource. 1: Provision an on-premises Kubernetes cluster that is isolated from the internet. | 2: Pull an image from the Microsoft Container Registry (MCR). | 3: Run the container and specify an API key and the Endpoint URL of the Azure AI resource. 1: Provision an Azure Kubernetes Service (AKS) resource. | 2: Pull an image from Docker Hub. | 3: Run the container and specify an App ID and Client Secret. 1: Provision an on-premises Kubernetes cluster that has internet connectivity. | 2: Pull an image from Docker Hub. | 3: Run the container and specify an App ID and Client Secret.

Q134 You are developing an app that will use the Azure Vision in Foundry Tools API to analyze an image. You need to configure the request that will be used by the app to identify whether an image is clipart or a line drawing. How should you complete the request? [Blank 1] "https://*.cognitiveservices.azure.com/vision/v3.2/analyze?visualFeatures=[Blank 2]&details={string}&language=en" Blank 1: GET / PATCH / POST Blank 2: description / imageType / objects / tags. Method: GET | visualFeatures=imageType. Method: POST | visualFeatures=description. Method: PATCH | visualFeatures=tags. Method: POST | visualFeatures=imageType.

Q135 You use the Azure Custom Vision service to build a classifier. After training is complete, you need to evaluate the classifier. Which two metrics are available for review? Each correct answer presents a complete solution. F-score | area under the curve (AUC). precision | weighted accuracy. precision | recall. area under the curve (AUC) | recall.

Q154 You have a Microsoft Foundry resource named AI1 that hosts three deployments of the GPT 3.5 model. Each deployment is optimized for a unique workload. You plan to deploy three apps. Each app will access AI1 by using the REST API and will use the deployment that was optimized for the app's intended workload. You need to provide each app with access to AI1 and the appropriate deployment. The solution must ensure that only the apps can access AI1. What should you use to provide access to AI1, and what should each app use to connect to its appropriate deployment? Provide access to AI1 by using: An API key / A bearer token / A shared access signature (SAS) token Connect to the deployment by using: An API key / A deployment endpoint / A deployment name / A deployment type. Access: A bearer token | Connect: A deployment endpoint. Access: A shared access signature (SAS) token | Connect: A deployment name. Access: An API key | Connect: A deployment type. Access: An API key | Connect: A deployment name.

Q158 You have a Docker host named Host1 that contains a container base image. You have an Azure subscription that contains a custom speech-to-text model named model1. You need to run model1 on Host1. Which three actions should you perform in sequence? Actions: Request approval to run the container. / Export model1 to Host1. / Configure disk logging. / Run the container. / Retrain the model. 1: Export model1 to Host1. | 2: Request approval to run the container. | 3: Run the container. 1: Retrain the model. | 2: Export model1 to Host1. | 3: Run the container. 1: Request approval to run the container. | 2: Configure disk logging. | 3: Run the container. 1: Request approval to run the container. | 2: Export model1 to Host1. | 3: Run the container.

Q159 You are designing a solution that will answer questions about human resources (HR) policies stored in the PDF format. You need to ensure that the identical answer to a specific question is returned every time. The solution must minimize development effort. Which service should you include in the solution?. Azure OpenAI. Azure Language in Foundry Tools. Azure Machine Learning. Azure Document Intelligence in Foundry Tools.

Denunciar Test