Redeem Your Black Friday Code: 80% Off All Exam Bundles! Use coupon code below! - Ends in 0d 00h 00m 00s - Coupon code: SECRET80

Microsoft AI-300 Operationalizing Machine Learning and Generative AI Solutions Exam Practice Test

Page: 1 / 23
Total 228 questions

Operationalizing Machine Learning and Generative AI Solutions Questions and Answers

Question 1

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

Which action should you perform first?

Options:

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.

Question 2

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.

Question # 2

Options:

Question 3

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?

Options:

A.

VM-hosted REST APIs

B.

Azure Kubernetes Service with blue-green switching

C.

Managed online endpoints with traffic splitting

D.

Batch endpoints

Question 4

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.

Question # 4

Options:

Question 5

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

What should you use?

Options:

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

Question 6

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

What should you recommend?

Options:

A.

Azure Machine Learning job output logs

B.

MLflow experiment tracking

C.

Application Insights logs

D.

Azure Monitor alerts

Question 7

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.

Options:

A.

Guardrails

B.

Evaluations

C.

Supervised fine tuning

D.

Synthetic data generation

Question 8

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

What should you implement?

Options:

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

Question 9

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

Which action should you perform first?

Options:

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.

Question 10

You have an Azure Machine Learning (ML) model deployed to an online endpoint.

You need to review container logs from the endpoint by using Azure Ml Python SDK v2. The logs must include the console log from the inference server with print/log statements from the models scoring script.

What should you do first?

Options:

A.

Create an instance of the the MLCIient class.

B.

Create an instance of the OnlineDeploymentOperations class.

C.

Connect by using SSH to the inference server.

D.

Connect by using Docker tools to the inference server.

Question 11

you create an Azure Machine learning workspace named workspace1. The workspace contains a Python SOK v2 notebook mat uses Mallow to correct model coaxing men’s anal arracks from your local computer.

Vou must reuse the notebook to run on Azure Machine I earning compute instance m workspace.

You need to comminute to log training and artifacts from your data science code.

What should you do?

Options:

A.

Configure the tracking URL.

B.

Instantiate the MLClient class.

C.

Log in to workspace1.

D.

Instantiate the job class.

Question 12

You use Azure Machine Learning to train models across multiple experiments by using the same workspace.

You must record training runs in a centralized location to compare results from different jobs.

During training, performance values must be captured so they appear in the experiment run history.

You need to configure experiment tracking.

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.

Question # 12

Options:

Question 13

A team manages an Azure Machine Learning workspace and deploys a model to an endpoint.

A deployed online endpoint shows inconsistent response times during periods of high traffic.

You need to identify potential performance degradation.

Which three metrics should you monitor? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point. Choose three

Options:

A.

Feature count

B.

Requests per minute

C.

Connections active

D.

Dataset size

E.

Request latency

Question 14

An organization provisions Azure Machine learning workspaces for development, test, and production environments.

Each environment must be deployed consistently and updated through source control. The deployment process must be automated repeatable. and auditable. You need to deploy Azure Machine Learning resources in a consistent and controlled manner.

Solution: Clone an existing Azure Machine I earning workspace to create additional environments.

Does the solution meet the goal?

Options:

A.

Yes

B.

No

Question 15

You collect data from a nearby weather station. You have a pandas dataframe named weather_df that includes the following data:

Question # 15

The data is collected every 12 hours: noon and midnight.

You plan to use automated machine learning to create a time-series model that predicts temperatures over the next seven days. For the initial round of training, you want to train a maximum of SO different models

You must use the Azure Machine Learning Python SDK v2 to run an automated machine learning experiment to train these models.

You need to configure the automated machine learning job and its settings.

How should you configure parameters of the classes that implement the job? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Question # 15

Options:

Question 16

You create a new Azure Machine Learning workspace with a compute cluster.

You need to create the compute cluster asynchronously by using the Azure Machine Learning Python SDK v2.

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

NOTE: Each correct selection is worth one point

Question # 16

Options:

Question 17

You manage an Azure Machine Learning workspace.

You need to define an environment from a Docker image by using the Azure Machine Learning Python SDK v2.

Which parameter should you use?

Options:

A.

conda_file

B.

properties

C.

build

D.

image

Question 18

You ate using a Git repository to track work in an Azure Machine learning workspace.

You need to authenticate a Git account by using SSH.

Which three 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.

Question # 18

Options:

Question 19

A team manages an Azure Machine Learning workspace where they deploy models to online endpoints.

The team needs to introduce a new version of a model to production without disrupting existing users.

The team must validate the new version before full rollout.

You need to reduce risk during deployment.

What should you do?

Options:

A.

Deploy the model to a batch endpoint.

B.

Split traffic between deployments.

C.

Replace the existing endpoint.

D.

Route all traffic to the new deployment.

Question 20

A real-time endpoint is deployed in Azure Machine Learning to serve predictions to a web application.

Users report intermittent failures and unexpected responses when calling the endpoint.

You need to identify the appropriate troubleshooting action for each reported issue.

Which troubleshooting action should you perform for each issue? To answer, move the appropriate troubleshooting actions to the correct issues. You may use each troubleshooting action once, more than once, or not at all. You may need to move the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point.

Question # 20

Options:

Question 21

A data science team trains a classification model that predicts loan approval outcomes.

Before registering the model, the team must ensure the following:

Predictions must not disproportionately impact protected groups.

Prediction errors can be evaluated across different data segments.

You need to assess whether the model meets Responsible AI expectations.

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

Options:

A.

Analyze error rates across the global cohort.

B.

Measure endpoint latency under load.

C.

Validate inference schema compatibility.

D.

Evaluate feature importance for prediction transparency.

E.

Analyze error rates across defined demographic cohorts.

Question 22

An organization is deploying several generative AI workloads by using Microsoft Foundry. Each workload must meet different requirements related to data governance, task specialization, and operational cost control.

The organization requires models that meet the following requirements:

Model behavior aligns with the task being performed.

Data handling aligns with internal governance policies.

Operational complexity and cost are justified by workload needs.

You need to select the foundation model options that meet the requirements.

Which three models can you select? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point. Choose three.

Options:

A.

A model that is optimized for conversational reasoning when deploying an interactive assistant

B.

The largest available model to simplify operational management

C.

The smallest available model to minimize the usage cost

D.

A model that supports multiple input types when workloads require combined text and image analysis

E.

A model that offers enterprise governance controls when workloads process regulated business data

Question 23

You manage an Azure Machine Learning workspace. You submit a training job with the Azure Machine Learning Python SDK v2. You must use MLflow to log metrics, model parameters, and model artifacts automatically when training a model.

You start by writing the following code segment:

Question # 23

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

Question # 23

Options:

Question 24

You create an Azure Machine Learning workspace. You use the Azure Machine Learning Python SDK v2 to create a compute cluster.

The compute cluster must run a training script. Costs associated with running the training script must be minimized.

You need to complete the Python script to create the compute cluster.

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

NOTE: Each correct selection is worth one point.

Question # 24

Options:

Question 25

You are designing a new machine learning solution to predict customer churn by using Azure Machine Learning. You have raw data in CSV format stored in Azure Data Lake.

You need to design the solution so that it can efficiently handle large-scale model training and iterative development.

Which two actions should you perform? Each correct answer presents part of the solution. Choose two.

NOTE: Each correct selection is worth one point

Options:

A.

Convert the data into the JSONL format and upload into Blob Storage.

B.

Schedule training using an Azure Data Factory pipeline.

C.

Configure an Azure Machine Learning compute instance for model training.

D.

Register the data as a tabular dataset in the Azure Machine Learning workspace.

E.

Configure an Azure Machine Learning compute cluster for model training.

Question 26

You manage an Azure Machine Learning workspace.

An MLflow model is already registered. You plan to customize how the deployment does inference. You need to deploy the MLflow model to a batch endpoint for batch inferencing. What should you create first?

Options:

A.

scoring script

B.

deployment

C.

environment

D.

deployment definition

Question 27

An organization runs a customer-lacing generative Al application built by using Microsoft Foundry. The application uses a managed foundation model and serves thousands of requests per hour across multiple regions.

The operations team reports intermittent response delays and inconsistent output quality.

The organization requires continuous visibility into runtime behavior to identify operational and model-related issues during production use.

You need to ensure that the application is continuously monitored.

Solution: Run scheduled cloud evaluation jobs to assess response quality and latency trends for the deployed generative Al application.

Does the solution meet the goal?

Options:

A.

Yes

B.

No

Question 28

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.

Question # 28

Options:

Question 29

You have an Azure Machine Learning workspace named workspace1 that is accessible from a public endpoint. The workspace contains an Azure Blob storage datastore named store1 that represents a blob container in an Azure storage account named account1. You configure workspace1 and account1 to be accessible by using private endpoints in the same virtual network.

You must be able to access the contents of store1 by using the Azure Machine Learning SDK for Python. You must be able to preview the contents of store1 by using Azure Machine Learning studio.

You need to configure store1.

What should you do? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Question # 29

Options:

Question 30

You are preparing to build a deep learning convolutional neural network model for image classification. You create a script to train the model using CUDA devices.

You must submit an experiment that runs this script in the Azure Machine Learning workspace.

The following compute resources are available:

a Microsoft Surface device on which Microsoft Office has been installed. Corporate IT policies prevent the installation of additional software

a Compute Instance named ds-workstation in the workspace with 2 CPUs and 8 GB of memory

an Azure Machine Learning compute target named cpu-cluster with eight CPU-based nodes

an Azure Machine Learning compute target named gpu-cluster with four CPU and GPU-based nodes

You need to specify the compute resources to be used for running the code to submit the experiment, and for running the script in order to minimize model training time.

Which resources should the data scientist use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Question # 30

Options:

Question 31

You are designing an Azure Machine Leaning solution by using the Python SDK v2.

You must train and deploy the solution by using a compute target. The compute target must meet the following requirements:

• Enable the use of on-premises compute resources.

• Support autoscalling.

You need to configure a compute target for training and inference.

Which compute target t should you configure?

To answer select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Question # 31

Options:

Question 32

You manage an Azure Machine Learning workspace by using the Azure CLI ml extension v2. You need to define a YAML schema to create a compute cluster. Which schema should you use?

Options:

A.

https://azuremlschemas.azureedge.net/latest/computdnstarKeichema.json

B.

https://azuremlschemas.azureedge.net/latest/amlCompute.schemajson

C.

https://azuremlschemas.azureedge.net/latest/vmCompute.schema.json

D.

https://azuremlschemas.azureedge.net/latest/kubernetesCompute.schema.json

Question 33

You have an Azure subscription that contains a resource group named rg-ml.

You plan to create an Azure Machine Learning workspace named workspacel in rg-ml by using Azure Machine Learning Python SDK v2.

You need to ensure workspacel is configured to prevent the collection of potentially sensitive data by Microsoft diagnostics.

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

NOTE: Each correct selection is worth one point.

Question # 33

Options:

Question 34

You plan to use automated machine learning by using Azure Machine Learning Python SDK v2 to tram a regression model. You have data that has features with missing values, and categorical features with few distinct values.

You need to control whether automated machine learning automatically imputes missing values and encode categorical features as part of the training task.

Which number of the autom1 package should you use?

Options:

A.

FeaturizationMode

B.

ForecastHorizonMode

C.

Regress ion Primary Metrics

D.

RegressionModels

Page: 1 / 23
Total 228 questions