Key details for this exam, checked against the published exam outline
Each question shows the correct answer and an explanation of why it is right
An Azure Machine Learning workspace processes sensitive training data.
The workspace must NOT be accessible from the public internet.
You need to restrict network access.
Which configuration should you implement?
Azure Private Endpoints are network interfaces that connect your Azure ML workspace to your Virtual Network using a private IP address from the VNet's address space. Once a private endpoint is created and DNS is configured, all traffic to the workspace --- including the Studio UI, REST API, and SDK calls --- travels entirely over Microsoft's private backbone rather than the public internet. The workspace's public endpoint can then be completely disabled. Azure Firewall (option A) filters traffic at the network layer but still requires the workspace to have a public IP. Network Security Groups (option C) control traffic within VNets but cannot block the public endpoint of a PaaS service. Service endpoints (option D) keep traffic on the Azure backbone but the workspace still has a public-facing address. Private endpoints are the only option that fully removes the public network presence.
Microsoft Learn Reference Topic: Configure a private endpoint for Azure Machine Learning workspace
A team is working in Microsoft Foundry to test and compare large language model (LLM) prompt variants in a development environment.
The team requires consistent inputs to evaluate prompt variants without relying on live user traffic.
You need to create a controlled evaluation of input data.
Which action should you perform first?
The team cannot rely on live user traffic for evaluation because it would make results non-reproducible and could expose users to untested prompts. Synthetic data generation within Microsoft Foundry allows the team to produce diverse, representative input examples that simulate real user queries without any live traffic risk, giving a stable, consistent test set evaluated under identical conditions. Option B (content filters) and Option C (blocklists) are safety controls applied at inference time, not evaluation inputs. Option D (observability metrics) is a monitoring capability for production systems. With synthetic data, the team can construct edge cases, varied phrasings, and domain-specific scenarios that would take months to accumulate organically from real users, directly enabling the controlled evaluation the question requires without any dependency on live traffic.
Microsoft Learn Reference Topic: Evaluate generative AI apps with synthetic data -- Microsoft Foundry prompt evaluation
You create an Azure Machine Learning workspace named woricspace1. The workspace contains a Python SDK v2 notebook that uses MLflow to collect model training metrics and artifacts from your local computer.
You must reuse the notebook to run on Azure Machine Learning compute instance in workspace1.
You need to continue to log metrics and artifacts from your data science code.
What should you do?
To continue logging metrics and artifacts when moving from local execution to Azure Machine Learning compute instance execution, you need to: (1) Authenticate to the workspace - Use MLflowClient or configure workspace authentication in the notebook so it connects to workspace1. (2) Enable MLflow autologging - Configure MLflow autologging on the compute instance so that metrics and artifacts are automatically logged to your workspace. This ensures seamless continuation of the logging behavior across environments.
You manage an Azure Machine Learning workspace named Workspace1.
You plan to create a pipeline in the Azure Machine Learning Studio designer. The pipeline must include a custom component You need to ensure the custom component can be used in the pipeline. What should you do first.
Before using a custom component in an Azure Machine Learning Studio designer pipeline, you must first register the custom component. This involves creating a component definition with the YAML schema that specifies the component's inputs, outputs, code, and environment. Once registered, the custom component becomes available for use in the designer and can be added to pipelines.
An Azure Machine Learning workspace contains multiple registered versions of a model that is used in production.
An older model version must no longer be deployable, but it must remain available for compliance review and potential rollback.
You need to change the state of the model version to meet the requirements.
What should you do?
Azure Machine Learning's model registry supports three lifecycle states: Active (the default, fully usable state), Archived (not deployable but still accessible for review), and Deleted (permanently removed). Archiving is precisely designed for this scenario: it ensures that operations teams cannot accidentally select the old version for a new deployment, while compliance officers can still inspect it, compare its metrics to newer versions, and reactivate it quickly if a rollback is needed. Deleting (option B) would permanently remove the version, making compliance review and rollback impossible and violating both requirements. Unregistering (option D) is not a standard Azure ML operation; deletion is the removal action. Archiving the training dataset (option A) is unrelated to the model version's deployability. Archiving creates a soft-block on deployment while preserving the full artifact history.
Microsoft Learn Reference Topic: Manage model versions in the Azure Machine Learning registry -- Archive and lifecycle management
A team develops and manages a conversational assistant by using Microsoft Foundry.
The team requires generative AI to automatically evaluate every pull request of an agentic application and fail the build if safety thresholds are exceeded.
You need to automate evaluations as part of CI.
What should you configure?
The correct solution is a GitHub Actions workflow that executes Microsoft Foundry evaluations as part of the CI process. Microsoft provides an AI agent evaluation GitHub Action specifically for incorporating Foundry agent evaluations into CI/CD workflows. The action can invoke the agent against an evaluation dataset, execute configured evaluators---including safety evaluators---and publish evaluation results before a change reaches production.
For pull-request gating, the workflow can be configured to run whenever relevant application files change. Evaluation commands can also enforce explicit thresholds and return a non-zero exit code when those thresholds are not satisfied. Microsoft documents evaluation gating through options such as --fail-on pass-rate=<threshold> or --fail-on any-failure; a non-zero result causes the CI job to fail, preventing unsafe changes from being promoted.
A blocklist or content filter provides runtime content protection but does not automate pull-request evaluation. A retrieval chunking strategy affects RAG retrieval quality, not CI safety gates.
Therefore, the required mechanism is GitHub Actions integrated with Foundry evaluation runs and safety thresholds.
Study Guide Reference: Implement generative AI quality assurance and observability --- automated evaluations, CI/CD quality gates, safety evaluators, GitHub Actions, and pre-production validation.
Exam domains verified against: Official Microsoft AI-300 exam guide, last checked September 2026.
Create and manage Azure Machine Learning workspaces, datastores, compute targets, and data assets. Configure identity and access management with role-based access control and managed identities. Deploy infrastructure using Bicep templates and Azure CLI, and automate resource provisioning with GitHub Actions workflows.
Orchestrate model training with MLflow experiment tracking and automated machine learning. Register and version models, evaluate them using responsible AI principles, and deploy to production via real-time or batch endpoints. Monitor model performance, detect data drift, and configure retraining triggers.
Sample question from this domain above: Q3
Create and configure Foundry resources and project environments with identity and access management. Deploy foundation models using serverless API endpoints and implement prompt versioning with Git repositories. Manage model lifecycle from development through production deployment.
Sample question from this domain above: Q6
Create test datasets and implement AI quality metrics including groundedness, relevance, coherence, and fluency. Configure risk and safety evaluations for harmful content detection and set up automated evaluation workflows. Monitor performance metrics including latency, throughput, and token consumption.
Sample question from this domain above: Q5
Optimize retrieval-augmented generation by tuning similarity thresholds, chunk sizes, and retrieval strategies. Select and fine-tune embedding models for domain-specific use cases. Implement advanced fine-tuning methods and manage synthetic data for model customization.
Sample question from this domain above: Q1
Common questions about the exam itself