Last Chance Black Friday Deal: Take 75% Off! Use coupon code below to secure your exam bundles! - Ends in 0d 00h 00m 00s - Coupon code: my75ex

Home > Microsoft > Microsoft Certified: Machine Learning Operations (MLOps) Engineer > AI-300

AI-300 Operationalizing Machine Learning and Generative AI Solutions Question and Answers

Question # 4

-

You have a Microsoft Foundry project with a connected Azure OpenAI Service model.

You have a set of text files stored locally on your computer.

You must set up a flow that will generate responses based on the content of your local files.

You need to implement a solution.

Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

Full Access
Question # 5

Fabrikam Inc. needs to improve the performance of a GPT-5 model based on the stated technical requirements.

Which action should you perform first?

A.

Deploy the model to production to gather real-world feedback.

B.

Evaluate the model output.

C.

Fine-tune the model to improve accuracy.

D.

Generate synthetic interaction data.

Full Access
Question # 6

You create an Azure Machine Learning workspace.

You must use the Python SDK v2 to implement an experiment from a Jupyter notebook in the workspace. The experiment must log string metrics. You need to implement the method to log the string metrics. Which method should you use?

A.

mlflowlog_metrk()

B.

mlflow.log.dict()

C.

mlflow.log text()

D.

mlflow.log_artifact()

Full Access
Question # 7

A team deploys a generative Al application built by using Microsoft Foundry to production and receives variable traffic throughout the day.

The team requires uninterrupted insight into the application ' s health and model behavior to detect issues without relying on manual inspection.

You need to select the monitoring capabilities that provide real-time operational visibility into the application.

Which monitoring capability should you use for each requirement? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Full Access
Question # 8

You have an Azure Machine Learning workspace.

You have the following code:

You plan to rely on serverless compute to train a model by using Azure Machine Learning Python SDK v2. The serverless compute must use a designated number of nodes of a specific virtual machine type.

You need to modify the code to run the training job according to the plan.

How should you modify the command object? To answer, select the appropriate oations in the answer area.

NOTE: Each correct selection is worth one point.

Full Access
Question # 9

A team develops and manages a conversational assistant by using Microsoft Foundry.

The team must be able to validate that the assistant does not produce hateful responses before the application is exposed to any users.

You need to evaluate the model output for hateful responses as part of a repeatable validation process.

Which evaluator should you configure first?

A.

Protected material

B.

Groundedness

C.

Indirect attacks

D.

Content safety

Full Access
Question # 10

A team deploys a model to a real-time endpoint in Azure Machine Learning. You deploy some updates to the endpoint.

The endpoint returns errors after the new deployment is released.

You need to restore the service as quickly as possible.

What should you do first?

A.

Roll back traffic to the previous deployment.

B.

Delete the endpoint and immediately redeploy it.

C.

Change the authentication type to Azure Machine Learning token-based authentication.

D.

Increase the compute size.

Full Access
Question # 11

-

A team is standardizing MLOps practices by using automated deployments.

The team requires infrastructure to be defined declaratively and deployed through automation pipelines.

You need to configure infrastructure deployment.

What should you configure for each requirement? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Full Access
Question # 12

You need to deploy the RAG-based chat application that meets Fabrikam Inc. ' s business and technical requirements. Which configuration should you use for each requirement? To answer, select the appropriate options in the answer

area NOTE Each correct selection is worth one point.

Full Access
Question # 13

You manage an Azure Machine Learning workspace

You build an Azure Machine Learning pipeline for image classification by using custom components. You need to define the interface, metadata, and code to execute components from a Python function. Which function should you use?

A.

create_or_update()

B.

Ioad_component()

C.

from config()

D.

command_component()

Full Access
Question # 14

You manage an Azure Machine Learning workspace that includes a batch endpoint. You plan to deploy a model to the batch endpoint. You need to configure compute for the deployment. Which compute should you use?

A.

Remote VM

B.

Kubernetes cluster

C.

Azure Databricks

D.

Azure Batch

Full Access
Question # 15

You need to refine a GPT-5 model so that its performance and behavior align with the technical and business requirements of Fabrikam Inc.

Which two Foundry strategies should you apply? Each correct answer presents a complete solution. Choose two.

NOTE: Each correct selection is worth one point.

A.

Guardrails

B.

Evaluations

C.

Supervised fine tuning

D.

Synthetic data generation

Full Access
Question # 16

Fabrikam Inc. must improve its deployment process because traditional machine learning models are deployed manually and the organization has limited rollback capability .

You need to recommend a deployment approach that supports staged rollout and rollback while minimizing operational overhead.

Which deployment approach should you recommend?

A.

VM-hosted REST APIs

B.

Azure Kubernetes Service with blue-green switching

C.

Managed online endpoints with traffic splitting

D.

Batch endpoints

Full Access
Question # 17

You need to make model training repeatable and auditable to address Fabnkam Inc. ' s current environment challenges and technical requirements.

What should you use?

A.

Serverless execution by using Azure Functions

B.

Scheduled notebook runs by using Azure Machine Learning jobs

C.

Training pipelines in Azure Machine Learning

D.

Workflow automation by using Azure Logic Apps

Full Access
Question # 18

You need to configure an optimization method to meet Fabrikam Inc.’s technical requirements.

Which strategy should you apply first? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Full Access
Question # 19

You need to isolate training workloads while remaining cost-aware to address Fabrikam Inc.’s issues, constraints, and technical requirements.

What should you implement?

A.

Training jobs that run on a single shared compute cluster

B.

Fixed-size compute cluster

C.

Dedicated compute clusters per experiment

D.

Managed compute targets with autoscaling

Full Access
Question # 20

You need to standardize how Fabrikam Inc. manages machine learning assets.

Which action should you perform first?

A.

Register assets in the Azure Machine Learning registry.

B.

Create a shared Azure Machine Learning workspace.

C.

Deploy a managed online endpoint.

D.

Create a new Microsoft Foundry project.

Full Access
Question # 21

You need to recommend an experiment-tracking strategy that ensures consistent experiment results.

What should you recommend?

A.

Azure Machine Learning job output logs

B.

MLflow experiment tracking

C.

Application Insights logs

D.

Azure Monitor alerts

Full Access
Question # 22

You manage an Azure Machine Learning workspace named workspace1.

You must register an Azure Blob storage datastore in workspace1 by using an access key. You develop Python SDK v2 code to import all modules required to register the datastore.

You need to complete the Python SDK v2 code to define the datastore.

How should you complete the code? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Full Access
Question # 23

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals.

You have an Azure Machine Learning workspace. You connect to a terminal session from the Notebooks page in Azure Machine Learning studio.

You plan to add a new Jupyter kernel that will be accessible from the same terminal session.

You need to perform the task that must be completed before you can add the new kernel.

Solution: Delete the Python 3.8 - AzureML kernel.

Does the solution meet the goal?

A.

Yes

B.

No

Full Access
Question # 24

You have an Azure Machine Learning workspace.

You have the following code:

You plan to rely on serverless compute to train a model by using Azure Machine learning Python SDK v2. The serverless compute must be a designated number of nodes of a specific virtual machine type. You need to modify the code to run the training job according to the plan.

How should you modify the command object? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Full Access
Question # 25

You manage a Microsoft Foundry project.

You plan to develop a RAG solution from a set of PDF files. To achieve this, you plan to create a vector index from the data

You need to select the location of the data you plan to index.

Which two data sources can you use? Each correct answer presents a complete solution. Choose two.

NOTE: Each correct selection is worth one point.

A.

Azure Blob Storage

B.

Azure Data Lake Storage Gen2

C.

Onetake in Microsoft Fabric

D.

Data in Microsoft Foundry

Full Access
Question # 26

A team deploys a classification model to production and monitors performance and data changes.

The team wants to ensure that significant drops in prediction accuracy automatically trigger the following:

Stakeholders must be notified of the drops.

Retraining must be initiated when thresholds are exceeded

You need to configure monitoring to meet the requirements.

Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

Full Access
Question # 27

You have an Azure Machine Learning workspace.

You plan to set up logging and tracking experiments by using MLflow Tracking.

You need to log the accuracy as a numerical value and the training loss as a plot.

How should you complete the commands? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Full Access
Question # 28

You manage an Azure Machine learning workspace named workspace1.

You must develop Python SDK v2 code to add a compute instance to workspace1. The code must import all required modules and call the constructor of the Compute instance class.

You need to add the instantiated compute instance to workspace 1.

What should you use?

A.

constructor of the azure ai.ml. ComputerPowerAction enemy

B.

set resources method of an instance of the azureai.ml. Command class

C.

begin create or update method of a stance of the azure.ai. imLMLCSentdass

D.

contractor of the azure.ai.ml. mLComputeSchedule class

Full Access
Question # 29

A Retrieval-Augmented Generation (RAG) solution returns incomplete answers because relevant content is inconsistently retrieved from the knowledge source.

You need to improve RAG accuracy without changing the embedding model currently in use. You need to achieve this goal while minimizing operational costs.

Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point. Choose two.

A.

Tune chunk size and overlap to match content structure.

B.

Implement an optimized re-ranker.

C.

Increase token limits for all requests.

D.

Optimize the length of embedding vectors.

Full Access
Question # 30

You manage an Azure Machine Learning workspace. You have a folder that contains a CSV file. The folder is registered as a folder data asset.

You plan to use the folder data asset for data wrangling during interactive development.

You need to access and load the folder data asset into a Pandas data frame.

Which method should you use to achieve this goal?

A.

mltable.load()

B.

mltable.from_delimited_files()

C.

mltable.from_parquet_files()

D.

mltable.from_delta_lake()

Full Access
Question # 31

You have an Azure Machine Learning workspace.

You plan to run a job to tram a model as an MLflow model output.

You need to specify the output mode of the MLflow model.

Which three modes can you specify? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

A.

rw_mount

B.

ro mount

C.

upload

D.

download

E.

direct

Full Access
Question # 32

A company is creating an internal tool that summarizes long meeting transcripts and extracts action items.

The model must:

Process text inputs up to 200k tokens long.

Generate concise summaries in seconds.

Support interactive testing before integration into the app.

You need to select, deploy, and test a model that supports summarization with low latency.

How should you complete the configuration plan? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Full Access
Question # 33

You manage an Azure Machine Learning workspace.

You schedule a pipeline job by using Azure Machine Learning Python SDK v2.

You need to decide whether the time-based schedule with cron expression is implemented correctly.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.

Full Access
Question # 34

A team is building a generative AI agent by using Retrieval-Augmented Generation (RAG) in Microsoft Foundry.

The team frequently updates prompt content. The team must be able to track changes across contributors while avoiding full application redeployments.

You need to enable rapid prompt iteration with traceability. Applications consuming the agent must be able to use updated prompts without requiring redeployment.

What should you configure for each requirement? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Full Access