Halloween Sale Special - 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 75only

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

Demo: 34 questions
Total 187 questions

Operationalizing Machine Learning and Generative AI Solutions Questions and Answers

Question 1

You manage an Azure Machine Learning workspace.

You must create and configure a compute cluster for a training job by using Python SDK v2.

You need to create a persistent Azure Machine Learning compute resource, specifying the fewest possible properties.

Which two properties should you define? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Options:

A.

max_instances

B.

name

C.

type

D.

Min_instances

E.

size

Question 2

You manage an Azure Machine Learning workspace named workspace!.

You plan to author custom pipeline components by using Azure Machine Learning Python SDK v2.

You must transform the Python code into a YAML specification that can be processed by the pipeline service.

You need to import the Python library that provides the transformation functionality.

Which Python library should you import?

Options:

A.

azure.ai ml.automl

B.

azure.ai.ml.entities

C.

sklearn

D.

mldesigner

Question 3

A team is validating a generative AI assistant for a company. The assistant generates responses by using internal knowledge sources.

The company requires assurance that responses are accurate, supported by sources, and related to the user prompts before enabling production access.

You need to implement quality metrics that confirm the assistant produces reliable and meaningful responses.

Which two evaluation metrics should you use? Each correct answer presents part of the solution.

Options:

A.

Groundedness

B.

Relevance

C.

Harmfulness

D.

Tone

E.

Fairness

Question 4

You create an Azure Machine Learning workspace and install the MLflow library.

You need to tog different types of data by using the MLflow library.

Which method should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Question 5

You are reviewing a dataset that will be used for an advanced fine-tuning job in Microsoft Foundry.

The fine-tuning job uses preference comparison data.

You review the following dataset excerpt.

For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.

Options:

Question 6

You manage a Microsoft Foundry project.

You are developing a solution to generate content based on text and images. The solution requires the ability to manage high-volume processing and avoid disruptions to the online workloads.

You need to deploy the solution.

Which deployment type and large language model (LLM) should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Question 7

You manage an Azure Machine Learning workspace. You create an experiment named experiment1 by using the Azure Machine Learning Python SDK v2 and MLflow. You are reviewing the results of experiment1 by using the following code segment:

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

Options:

Question 8

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. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear on the review screen.

You work in Microsoft Foundry with a prompt flow.

You must manually evaluate prompts and compare results across prompt variants.

You need to capture the inputs, outputs, token usage, and latencies for each flow run for the evaluation.

Solution: In Microsoft Foundry, turn on Tracing for the prompt flow of the project and execute test runs to produce trace data.

Does the solution meet the goal?

Options:

A.

Yes

B.

No

Question 9

An organization is deploying generative AI solutions by using Microsoft Foundry to support multiple production workloads.

The organization has the following workload requirements:

• One workload must be real-time, latency-sensitive, and have predictable global usage patterns that demand consistent performance.

• One workload must have variable performance and be optimized for cost-efficient operation.

You need to select a global deployment type for each workload.

Which type of deployment should you use for each workload requirement? To answer, move the appropriate deployment types to the correct requirements. You may use each deployment type 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.

Options:

Question 10

You have an Azure Machine Learning workspace named Workspace 1 Workspace! has a registered Mlflow model named model 1 with PyFunc flavor

You plan to deploy model1 to an online endpoint named endpoint1 without egress connectivity by using Azure Machine learning Python SDK vl

You have the following code:

You need to add a parameter to the ManagedOnllneDeployment object to ensure the model deploys successfully

Solution: Add the scoring_script parameter.

Does the solution meet the goal?

Options:

A.

Yes

B.

No

Question 11

-

A team performs interactive experimentation during development. The team also runs scalable jobs for model training.

The team must minimize costs while ensuring compute resources scale when needed. Different workloads require different compute behaviors within the same workspace.

You need to configure compute targets that support each workload.

Which compute targets should you use? To answer, move the appropriate compute targets to the correct workload types. You may use each compute target 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.

Options:

Question 12

You are preparing training data for a fine-tuning job in Microsoft Foundry.

Real production conversations cannot be used due to compliance requirements.

You need to generate synthetic interaction data that can be used for fine-tuning a generative model.

What should you do?

Options:

A.

Export model evaluation logs and use them directly as training data.

B.

Use a simulator to generate prompt-response interaction data that matches the target task.

C.

Enable A/B testing and capture live user traffic for data generation.

D.

Run a simulator to produce telemetry logs and trace data from user interactions.

Question 13

You are planning to register a trained model in an Azure Machine Learning workspace.

You must store additional metadata about the model in a key-value format. You must be able to add new metadata and modify or delete metadata after creation.

You need to register the model.

Which parameter should you use?

Options:

A.

description

B.

model_framework

C.

cags

D.

properties

Question 14

You manage an Azure Machine learning workspace. You develop a machine learning model.

You must deploy the model to use a low-priority VM with a pricing discount.

You need to deploy the model.

Which compute target should you use?

Options:

A.

Azure Container Instances (ACI)

B.

Azure Machine Learning compute clusters

C.

Local deployment

D.

Azure Kubernetes Service (AKS)

Question 15

You are designing an Azure Machine Learning solution for traffic optimization.

The model must be deployed as a web service on a serverless compute and provide real-time predictions based on current traffic and weather conditions. You need to choose an inferencing strategy for the solution. Which compute should you use?

Options:

A.

Azure Machine Learning batch endpoint

B.

Azure Machine Learning online endpoint

C.

Azure Machine Learning Kubernetes online endpoints

D.

Azure Machine Learning serverless compute

Question 16

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 17

A company ' s platform engineers manage the resource settings and governance of Microsoft Foundry.

Developers must be able to create and update project assets but must not be able to change resource-level configurations.

You need to enforce least privilege access for the engineers and developers.

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

Options:

A.

Assign a resource-level Azure AI Administrator role to the platform engineers.

B.

Disable Microsoft Entra ID authentication for the Microsoft Foundry resource.

C.

Assign the Azure AI Developer role to the developers.

D.

Share a single API key across all teams.

Question 18

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.

Options:

Question 19

You use Azure Machine Learning to tram a model.

You must use Baylean sampling to Tune hyperparaters.

You need to select a learning_rate parameter distribution.

Which two distributions can you use? Each correct answer presents a complete solution.

NOTE Each correct selection is worth one point.

Options:

A.

Normal

B.

Uniform

C.

Choice

D.

LogUniform

E.

QNormal

Question 20

You manage an Azure Machine Learning workspace.

You must set up an event-driven process to trigger a retraining pipeline.

You need to configure an Azure service that will trigger a retraining pipeline in response to data drift in Azure Machine Learning datasets. Which Azure service should you use?

Options:

A.

Event Grid

B.

Azure Functions

C.

Event Hubs

D.

Logic Apps

Question 21

You have an Azure Machine Learning workspace and a data source file ./data/cc_data.csv in the local storage.

You plan to use Azure Machine Learning Python SDK v2 to store the content of the cc.data.csv file in a data asset named cc_data_asset in the workspace.

You write code to connect to the workspace and import all required libraries.

You need to complete the remaining code to ensure it will result in the cc_data_asset that contains the data from cc_data.csv.

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

NOTE: Each correct selection is worth one point.

Options:

Question 22

A data science team trains a model that depends on features that are stored in a managed feature store.

The model is registered in Azure Machine Learning and will be deployed to a real-time endpoint.

After deployment, the model must:

• Retrieve feature values dynamically at inference time.

• Use the same feature definitions that were used during training.

• Run without manual configuration changes across environments.

You need to define feature store entities so that feature retrieval behaves as expected when the model is deployed.

Which feature store entity should you select for each requirement? To answer, move the appropriate feature store entities to the correct requirements. You may use each feature store entity 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.

Options:

Question 23

You use an Azure Machine Learning workspace.

You must monitor cost at the endpoint and deployment level.

You have a trained model that must be deployed as an online endpoint. Users must authenticate by using Microsoft Entra ID.

What should you do?

Options:

A.

Deploy the model lo Azure Kubernetes Service (AKS). During deployment, set the token_auth_mode parameter of the target configuration object to true.

B.

Deploy the model to a managed online endpoint. During deployment, set the token_auth_mode parameter of the target configuration object to true.

C.

Deploy the model to Azure Kubernetes Service (AKS). During deployment, set the auth.mode parameter to configure the authentication type.

D.

Deploy the model to a managed online endpoint. During deployment, set the auth_mode parameter to configure the authentication type.

Question 24

An organization maintains separate Azure Machine Learning workspaces for development and production.

Both environments must use the same validated assets without duplicating them.

Assets must be shared across workspaces while maintaining centralized governance and version control.

You need to enable reuse of assets across workspaces without copying them.

What should you do?

Options:

A.

Enable workspace-level Git integration and sync assets between repositories.

B.

Publish the asset as a pipeline component.

C.

Create a shared Azure Machine Learning environment that includes the asset.

D.

Publish the asset to an Azure Machine Learning registry.

Question 25

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?

Options:

A.

Remote VM

B.

Kubernetes cluster

C.

Azure Databricks

D.

Azure Batch

Question 26

You manage an Azure Machine Learning workspace That has an Azure Machine Learning datastore.

Data must be loaded from the following sources:

• a credential-less Azure Blob Storage

• an Azure Data Lake Storage (ADLS) Gen 2 which is not a credential-less datastore

You need to define the authentication mechanisms to access data in the Azure Machine Learning datastore.

Which data access mechanism should you use? To answer, move the appropriate data access mechanisms to the correct storage types. You may use each data access mechanism 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.

Options:

Question 27

You retrain an existing model.

You need to register the new version of a model while keeping the current version of the model in the registry.

What should you do?

Options:

A.

Register a model with a different name from the existing model and a custom property named version with the value 2.

B.

Register the model with the same name as the existing model.

C.

Save the new model in the default datastore with the same name as the existing model. Do not register the new model.

D.

Delete the existing model and register the new one with the same name.

Question 28

You create an Azure Machine Learning workspace. The workspace contains a dataset named sample.dataset, a compute instance, and a compute cluster. You must create a two-stage pipeline that will prepare data in the dataset and then train and register a model based on the prepared data. The first stage of the pipeline contains the following code:

You need to identify the location containing the output of the first stage of the script that you can use as input for the second stage. Which storage location should you use?

Options:

A.

workspaceblobstore datastore

B.

workspacefi lest ore datastore

C.

compute instance

Question 29

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.

Options:

Question 30

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 31

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 32

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 33

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 34

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.

Demo: 34 questions
Total 187 questions