Design and implement a GenAIOps infrastructure
Drill 20 practice questions focused entirely on Design and implement a GenAIOps infrastructure for the Microsoft AI-300 exam. Tap an answer for instant feedback and a full explanation — no sign-up, always free.
Your team manages an Azure AI Foundry project using infrastructure-as-code. You author a Bicep template that provisions the Foundry resource, a project, and a model deployment. During CI/CD you must be able to re-run the same deployment repeatedly (for example after adding a new model deployment) without recreating existing resources or causing errors, and the deployment name for each model must be supplied at build time per environment. Which approach best meets these requirements?
Your team maintains a production Azure AI Foundry environment defined entirely in Bicep, including the hub, projects, and model deployments. Before applying an updated Bicep template that changes a serverless model deployment's SKU capacity, the platform lead requires a preview of exactly which resources will be created, modified, or deleted—without actually applying any changes to the live environment. Which Azure CLI command should you run against the resource group deployment?
Your team maintains a non-interactive Azure DevOps pipeline that uses the Azure CLI to deploy Azure AI Foundry resources and model deployments into a subscription. The pipeline currently fails at the deployment step because it cannot authenticate. Security policy forbids storing user credentials or interactive browser sign-in in the pipeline. Which authentication approach should you configure for the Azure CLI in the pipeline?
Your team runs an Azure AI Foundry project that serves a chat application. The current production deployment uses version 3 of a foundation model on a serverless API endpoint. A newer version 4 has been released, and stakeholders want to validate its response quality against version 3 using the same evaluation dataset before committing to a full cutover, while keeping production traffic entirely on version 3. What is the most appropriate approach?
Your team develops prompt flows in Azure AI Foundry and stores the flow definitions (including the flow.dag.yaml and prompt templates) in a Git repository. The team lead wants a repeatable process so that when a validated prompt change is merged into the main branch, the flow is automatically evaluated and deployed to the staging Foundry project without manual portal steps. Which approach best meets this requirement?
Your team deploys a fine-tuned open-source language model to a managed compute endpoint in Azure AI Foundry. During load testing, the endpoint sustains high GPU utilization but throughput plateaus and request latency climbs sharply as concurrent traffic increases. The model must remain always-on for an internal application with steady, predictable demand. You need to increase throughput without changing the model. What should you do first?
You are deploying an Azure AI Foundry project that must call a downstream Azure Key Vault to retrieve API secrets at runtime. Security policy prohibits storing any credentials in application code or configuration files, and the Foundry resource was created with a system-assigned managed identity. What is the correct way to grant the Foundry resource access to the Key Vault secrets?
Your team deploys a foundation model to a serverless API endpoint in an Azure AI Foundry project. A downstream App Service must call this endpoint. Security policy prohibits storing any long-lived secrets or API keys in application configuration, and all access must be auditable through Microsoft Entra ID. What is the recommended way to configure authentication between the App Service and the Foundry endpoint?
Your team is building a document-summarization feature in Azure AI Foundry. Source documents routinely exceed 60,000 tokens and must be summarized in a single pass. The team wants the lowest-cost model available in the model catalog that can accept the full document without chunking. Which criterion should drive your model selection?
Your team runs a production chat application on an Azure AI Foundry deployment of a GPT model. Compliance requires that any model behavior change be validated in a staging environment before it reaches production. During a quarterly review you discover that the production deployment's underlying model version silently changed, causing subtly different responses that were never tested. When you inspect the deployment, its version update policy is set to allow automatic upgrades. What should you change to ensure the production deployment stays on a validated model version until you explicitly approve an upgrade?
Your team is deploying an Azure AI Foundry hub and project for a regulated financial workload. Security policy requires that no data traverses the public internet: both inbound access to the hub and the hub's outbound connections to its dependent Azure resources (Storage, Key Vault, Container Registry) must stay on the Microsoft backbone. You need to configure the Foundry hub's networking so these requirements are met with the least ongoing management overhead. Which configuration should you choose?
Your team has deployed an Azure AI Foundry hub with a managed virtual network and configured a private endpoint so that all inbound access is restricted to your corporate network. On-premises developers connected through ExpressRoute report that they can reach the Foundry portal by IP address but consistently get name-resolution failures when using the resource's fully qualified domain name. What is the most appropriate action to resolve the connectivity issue?
Your organization has an Azure AI Foundry hub that centralizes an Azure OpenAI connection, an Azure AI Search connection, and a storage account. Three separate teams each need their own isolated Foundry project for developing distinct GenAI applications, but all three teams must reuse the same Azure OpenAI connection defined at the hub without redefining credentials in each project. What is the most appropriate way to structure this so that connections are inherited while keeping project-level work isolated?
Your organization is standardizing on Azure AI Foundry. The platform team wants a central place to configure shared networking, connections to Azure OpenAI, and a common security and governance boundary, while individual data science teams each need isolated workspaces for their own model deployments, prompt flows, and code assets. You must implement this with the fewest configuration steps and maximize resource reuse. Which approach should you take when creating the Foundry resources?
Your team maintains a chat prompt for a customer-support assistant in Azure AI Foundry. Before merging a proposed prompt change into the main branch, you must objectively measure whether the new prompt produces better answers across a representative set of 500 historical support questions with known ideal answers. You want a repeatable, quantitative comparison rather than manually inspecting individual outputs. Which approach should you use?
Your team develops a customer-support chatbot in Azure AI Foundry using a prompt flow. The lead prompt engineer wants each change to the system prompt template to go through a formal code review before it can affect the deployed flow, and wants the ability to trace which exact prompt template produced a given evaluation result. The prompt template files are currently only edited in the Foundry portal's authoring UI and never leave the workspace. What should you do FIRST to meet these requirements?
Your team develops prompts for a customer support GenAI application in Azure AI Foundry, storing the prompt flow in a Git repository. Compliance requires that every prompt version deployed to production be traceable to an exact, immutable point in source history, and that auditors can reproduce the deployed prompt months later. The team currently commits prompt changes to a long-lived 'main' branch and deploys the latest commit. What should you implement to meet the traceability and reproducibility requirements?
You are refining a customer support summarization prompt in Azure AI Foundry prompt flow. Business stakeholders complain that summaries are inconsistent and occasionally invent details not present in the source ticket. You want to systematically test whether reducing model randomness improves factual consistency while keeping all other prompt wording identical, and you need to compare the results before committing a change. What is the most appropriate first step?
A financial services company runs a customer-facing chatbot on Azure AI Foundry using a GPT-4 model deployed to a serverless (pay-as-you-go) API endpoint. During peak trading hours the team observes rising latency and intermittent HTTP 429 responses, and the business now requires a guaranteed, consistent response-time SLA for a predictable high volume of requests. Cost predictability is also a stated goal. Which deployment change best meets these requirements?
Your team runs a customer-facing chatbot on Azure AI Foundry backed by a GPT-4o deployment using provisioned throughput units (PTUs). Traffic is steady and predictable at high volume 24/7, and finance wants to reduce the monthly PTU spend as much as possible without changing the deployed model or its throughput guarantees. What should you do?
More AI-300 practice
Keep going with the other Microsoft Machine Learning Operations Engineer Associate domains, or take a full timed mock exam.
← Back to AI-300 overview