Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu
Microsoft Azure, expert

AI-300 practice test and mock exam

For the Operationalizing Machine Learning and Generative AI Solutions exam. Original practice questions and timed mock exams for AI-300, built from the official skills outline. Practice questions on all 58 topics listed below, with every answer explained.

Ten free questions a day, no card. Full access to every exam is one pass: $29.99 a year.

AI-300 mock exam and practice questions

Practice questions
On all 58 topics listed
Mock exam
50 questions, 100 min
Pass mark in our mocks
70%
Kept up to date
Updated every week
Pass guarantee
With the yearly pass

AI-300 sample questions with answers explained

Three free AI-300 practice questions, each with the right answer, why it is right and the official page it comes from. For more, try 5 questions. No account needed.

Sample question 1Single answer

Your team used the Foundry (classic) portal to fine-tune gpt-4.1-mini in an Azure OpenAI resource. Before you decide on production, you must test the candidate model with an evaluation that sends chat completion requests to it. The evaluation will finish within six hours. For this test, you want to pay only per-token charges and no hourly hosting fee. The test does not require an availability SLA or data residency guarantees.

How should you make the candidate model available for the evaluation?

Choose one answer
Why

A fine-tuned model must be deployed before it can receive completion calls. The Developer deployment type avoids the hourly hosting fee that Standard and Global deployments incur, and only per-token charges apply. It offers no availability SLA and no data residency guarantees, which this test does not need. Its fixed 24-hour lifetime is long enough for a six-hour evaluation.

  • Not correct: Create a deployment of the fine-tuned model that uses the Standard deployment type. Standard deployments incur the hourly hosting fee that Developer Tier avoids, so this fails the per-token-only requirement.
  • Correct: Create a deployment of the fine-tuned model that uses the Developer deployment type. A Developer Tier deployment has no hourly hosting fee and charges only per token. Its lack of an SLA and data residency guarantees does not matter here, and the six-hour test fits within its fixed 24-hour lifetime.
  • Not correct: Create a deployment of the fine-tuned model that uses the Global Standard deployment type. Global deployments incur the hourly hosting fee that Developer Tier avoids, so this fails the per-token-only requirement.
  • Not correct: Send the requests to the fine-tuned model ID without creating any deployment. A custom model must be deployed before it can be used with completion calls, so the evaluation cannot call the model without a deployment.
Sample question 2Single answer

Subnet snet-pe (10.1.1.0/24) in virtual network myVNet contains:

  • virtual machine vm-jump
  • private endpoint pe-foundry for a Microsoft Foundry resource
  • private endpoint pe-search for an Azure AI Search service

Network security group nsg-pe is associated with snet-pe, and nsg-pe already filters traffic to vm-jump. Private endpoint network policies on snet-pe are currently Disabled.

An engineer runs the commands in the exhibit because the security team asked for NSG filtering of pe-foundry.

$net = @{
    Name = 'myVNet'
    ResourceGroupName = 'myResourceGroup'
}
$vnet = Get-AzVirtualNetwork @net

$sub = @{
    Name = 'snet-pe'
    VirtualNetwork = $vnet
    AddressPrefix = '10.1.1.0/24'
    NetworkSecurityGroupId = ($vnet.Subnets | Where-Object { $_.Name -eq 'snet-pe' }).NetworkSecurityGroup.Id
    PrivateEndpointNetworkPoliciesFlag = 'NetworkSecurityGroupEnabled'
}
Set-AzVirtualNetworkSubnetConfig @sub

$vnet | Set-AzVirtualNetwork

Which statement describes how nsg-pe filters traffic after the commands complete?

Choose one answer
Why

Private endpoint network policies are a subnet setting. They apply only to private endpoints and affect every private endpoint in that subnet. Enabling NSG support on snet-pe therefore brings both pe-foundry and pe-search under nsg-pe. Other resources such as vm-jump were already controlled by the NSG's security rules, so they are unaffected.

  • Not correct: nsg-pe filters neither endpoint until route table support is also enabled. Network policies can be enabled for network security groups only. NetworkSecurityGroupEnabled is enough for NSG rules to apply to the private endpoints.
  • Not correct: nsg-pe filters pe-foundry; pe-search and vm-jump are unchanged. The setting is configured on the subnet and affects all private endpoints in it. pe-search is filtered as well, not only pe-foundry.
  • Not correct: nsg-pe filters pe-foundry, pe-search and, for the first time, vm-jump. The setting applies only to private endpoints. Access to other resources such as vm-jump was already controlled by NSG rules, so nothing changes for the VM.
  • Correct: nsg-pe filters pe-foundry and pe-search; vm-jump is unchanged. The setting applies to every private endpoint in snet-pe. vm-jump is not a private endpoint, so the NSG continues to control its access as before.
Sample question 3Single answer

Proseware serves its no-show model from an Azure Machine Learning managed online endpoint whose name is stored in $ENDPOINT_NAME. The Azure CLI already has default values for the resource group and workspace.

After a staged rollout, the new green deployment receives 100% of traffic. The previous blue deployment is still deployed and receives 0% of traffic. Clinic staff now report unacceptable predictions from the new model.

Requirements:

  • Immediately route all client requests back to the previous model.
  • The endpoint URL used by the scheduling system must not change.
  • The green deployment must remain available for investigation.

Which command should you run?

Choose one answer
Why

A managed online endpoint can host several deployments, and you control the share of traffic each one receives. When a newly promoted model misbehaves and the previous deployment is still available, the rollback is a traffic change that sends 100% back to blue. This keeps the endpoint URL stable and is faster than deleting and recreating the endpoint. Because green stays deployed with 0% traffic, the team can investigate it without exposing users to it.

  • Correct: az ml online-endpoint update --name $ENDPOINT_NAME --traffic "blue=100 green=0". Changing the traffic split sends all requests to the retained blue deployment, keeps the endpoint URL, and leaves green deployed so it can be investigated without exposing users to it.
  • Not correct: az ml online-endpoint delete --name $ENDPOINT_NAME --yes. Deleting the endpoint takes it down and would require recreating it; the module recommends changing traffic instead because that preserves the endpoint URL and recovers faster.
  • Not correct: az ml online-endpoint invoke --name $ENDPOINT_NAME --deployment-name blue --request-file sample-request.json. Invoking a named deployment only sends a test request directly to it; it does not change the traffic allocation, so client requests would still go to green.
  • Not correct: az ml online-endpoint update --name $ENDPOINT_NAME --traffic "blue=0 green=100". This split keeps all traffic on green, the deployment that is producing unacceptable predictions, so nothing is rolled back to blue.
  • Not correct: az ml online-deployment delete --name green --endpoint-name $ENDPOINT_NAME --yes. Removing green destroys the deployment the team needs to investigate; the guidance is to return traffic to blue and then investigate green while it receives no users.
Try 5 free AI-300 questions, no account

What the AI-300 exam covers

The AI-300 topics

Design and implement an MLOps infrastructure (13 topics)
Create and manage resources in a Machine Learning workspaceCreate and manage a workspaceCreate and manage datastoresCreate and manage compute targetsConfigure identity and access management for workspacesCreate and manage assets in a Machine Learning workspaceCreate and manage data assetsCreate and manage environmentsCreate and manage componentsShare assets across workspaces by using registriesImplement IaC for Machine LearningConfigure GitHub integration with Machine Learning to enable secure accessDeploy Machine Learning workspaces and resources by using Bicep and Azure CLIAutomate resource provisioning by using GitHub Actions workflowsRestrict network access to Machine Learning workspacesManage source control for machine learning projects by using Git
Implement machine learning model lifecycle and operations (18 topics)
Design and implement a GenAIOps infrastructure (11 topics)
Implement generative AI quality assurance and observability (8 topics)
Configure evaluation and validation for generative AI applications and agentsCreate test datasets and data mapping for comprehensive model evaluationImplement AI quality metrics, including groundedness, relevance, coherence, and fluencyConfigure risk and safety evaluations for harmful content detectionSet up automated evaluation workflows by using built-in and custom evaluation metricsImplement observability for generative AI applications and agentsExamine continuous monitoring in FoundryMonitor performance metrics, including latency, throughput, and response timesTrack and optimize cost metrics, including token consumption and resource usageConfigure detailed logging, tracing, and debugging capabilities for production troubleshooting
Optimize generative AI systems and model performance (8 topics)

AI-300 practice test: frequently asked questions

Is there a free AI-300 practice test?

Yes. 5 AI-300 questions need no account, and every answer is explained after you pick it. The free plan adds ten questions a day, and there is a free AI-300 question of the day.

Are these real AI-300 exam questions?

No. The questions are our own, written from Microsoft Azure's official documentation. Each answer links the page it comes from, so you can check it.

How long is the AI-300 mock exam?

50 questions in 100 minutes, the exam time Microsoft Azure publishes. Each domain is weighted as on the real exam, and the mock is timed so you practise pace as well as content.

What score do I need to pass AI-300?

In our mocks the pass line is 70%. Microsoft Azure marks the real exam on its own scaled score, so treat a practice percentage as a guide to readiness, not a prediction. The official study guide lists the real passing score.

How current are the AI-300 questions?

The question bank is updated every week, and every answer cites an official Microsoft Learn page, so you can see where the explanation comes from.

The pass guarantee covers AI-300

Reach 90% on every skill, keep it fresh within 14 days of your exam, and still fail? Your money back or a free extra year.

Read the conditions

Start your AI-300 streak today.

Try AI-300 free