Black Friday Flash Sale - Everything Must Go at 75% Off - Ends in 0d 00h 00m 00s - Coupon code: w75best

Microsoft AI-300 Dumps

Page: 1 / 23
Total 228 questions

Operationalizing Machine Learning and Generative AI Solutions Questions and Answers

Question 1

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 2

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 3

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 4

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.

as

Options:

Question 5

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 6

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.

as

Options:

Question 7

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 8

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 9

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 10

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 manage an Azure Machine Learning workspace. The Python script named script.py reads an argument named training_data.

The training_data argument specifies the path to the training data in a file named dataset1.csv.

You plan to run the script.py Python script as a command job that trains a machine learning model.

You need to provide the command to pass the path for the dataset as a parameter value when you submit the script as a training job.

Solution: python train.py --training_data training_data

Does the solution meet the goal?

Options:

A.

Yes

B.

No

Question 11

You train and publish a machine teaming model.

You need to run a pipeline that retrains the model based on a trigger from an external system.

What should you configure?

Options:

A.

Azure Data Catalog

B.

Azure Batch

C.

Azure logic App

Question 12

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 13

You manage a Microsoft Foundry project.

You plan to fine-tune a base model by using pre-uploaded training and validation data. You must specify a hyperparameter to ensure the job is reproducible.

You need to submit the fine-tuning training job.

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

NOTE: Each correct selection is worth one point.

as

Options:

Question 14

You create an Azure Machine Learning workspace.

You must use the Python SDK v2 to implement an experiment from a Jupiter 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?

Options:

A.

mlflow.log-metric0

B.

mlflow.log. artifact0

C.

mlflow.log. dist0

D.

mlflow.log-text0

Question 15

-

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.

as

Options:

Question 16

Vou manage an Azure Machine Learning workspace named workspace 1 with a compute instance named compute`.

Vou must remove a kernel named kernel` from compute 1. You connect to compute1 by using a terminal window from workspace`.

Vou need to enter a command in the terminal window to remove kernel`.

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

NOTE: Each correct selection is worth one point.

as

Options:

Question 17

You create a workspace by using Azure Machine Learning Studio.

You must run a Python SDK v2 notebook in the workspace by using Azure Machine Learning Studio.

You need to reset the state of the notebook.

Which three actions should you use? Each correct answer presents a complete solution.

Options:

A.

Navigate to another section of the workspace.

B.

Stop the current kernel.

C.

Reset the compute.

D.

Change the current kernel.

E.

Change the compute.

Question 18

A team deploys a machine learning model to a managed online endpoint. The team monitors model performance and data quality metrics in production.

When monitoring thresholds are exceeded, the team requires an automated operational response that notifies downstream systems.

You need to configure the monitoring solution to meet the requirements.

Which configuration should you associate with each requirement as a first step? To answer, move the appropriate configurations to the correct requirements. You may use each configuration 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.

as

Options:

Question 19

You are a data scientist working for a hotel booking website company. You use the Azure Machine Learning service to train a model that identifies fraudulent transactions.

You must deploy the model to an Azure Machine Learning online endpoint by using the Azure Machine Learning Python SDK v2. The deployed model must return real-lime predictions of fraud based on transaction data input.

You need to create the script that is specified as the scoring_script parameter for the CodeConfiguration class used to deploy the model.

What should the entry script do?

Options:

A.

Start a node on the inference cluster where the model is deployed.

B.

Create a Conda environment for the online endpoint compute and install the necessary Python packages.

C.

Specify the number of cores and the amount of memory required for the online endpoint compute.

D.

Load the model and use it to predict labels from input data.

E.

Register the model with appropriate tags and properties.

Question 20

A team iterates prompts used by a generative AI agent. The team must support internal review before releasing changes.

The team must:

Track prompt changes with a clear history for audit and rollback.

Compare prompt variants in parallel without affecting the prompt used in the production environment.

You need to select the appropriate source control approach for each requirement.

What should you use for each requirement? To answer, move the appropriate source controls to the correct requirements. You may use each source control 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.

as

Options:

Question 21

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.

as

Options:

Question 22

You are fine-tuning a base language model to analyze customer feedback.

You label examples of support tickets. You must improve classification accuracy by configuring and fine-tuning the base model in Microsoft Foundry.

You need to configure and run fine-tuning.

What should you do first?

Options:

A.

Use prompt flow to generate multiple prompt templates for evaluation.

B.

Deploy the base model to an online endpoint before starting fine-tuning.

C.

Enable tracing for all inference calls in the evaluation pipeline.

D.

Format the dataset as a JSONL file with prompt-completion pairs and upload the file.

Question 23

You run Azure Machine Learning training experiments. The training scripts directory contains 100 files that includes a file named. amlignore. The directory also contains subdirectories named. /outputs and./logs.

There are 20 files in the training scripts directory that must be excluded from the snapshot to the compute targets. You create a file named. gift ignore in the root of the directory. You add the names of the 20 files to the. gift ignore file. These 20 files continue to be copied to the compute targets.

You need to exclude the 20 files. What should you do?

Options:

A.

Add the contents of the file named. amlignore to the file named. gift ignore.

B.

Move the file named. gift ignore to the. /logs directory.

C.

Copy the contents of the file named. gift ignore to the file named. amlignore.

D.

Move the file named. gift ignore to the. /outputs directory.

Question 24

You manage an Azure Machine learning workspace. You plan to import data from Azure Data Lake Storage Gen2. You need to build a URL that represents the storage location. Which protocol should you use?

Options:

A.

wasbs

B.

abfss

C.

hups

D.

adl

Question 25

-

A biomedical research company plans to enroll people in an experimental medical treatment trial.

You create and train a binary classification model to support selection and admission of patients to the trial. The model includes the following features: Age, Gender, and Ethnicity.

The model returns different performance metrics for people from different ethnic groups.

You need to use Fairlearn to mitigate and minimize disparities for each category in the Ethnicity feature.

Which technique and constraint should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

as

Options:

Question 26

You manage an Azure Machine Learning workspace named Workspace1 and an Azure Blob Storage accessed by using the URL

You plan to create an Azure Blob datastore in Workspace1. The datastore must target the Blob Storage by using Azure Machine Learning Python SDK v2. Access authorization to the datastore must be limited to a specific amount of time.

You need to select the parameters of the Azure Blob Datastore class that will point to the target datastore and authorize access to it.

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

NOTE: Each correct selection is worth one point.

as

Options:

Question 27

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:

as

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

as

Options:

Question 28

You have an Azure Machine Learning workspace named WS1 and a GitHub account named account! that hosts a private repository named repo1. You need lo done repo1 to make it available directly from WS1. The configuration must maximize the performance of the repo1 clone. Which four actions should you perform in sequence?

as

Options:

Question 29

A machine learning model is deployed to production in Azure Machine Learning and is actively serving predictions for a business application. The model was trained by using a historical dataset that represented expected input patterns at the time of deployment.

The team working on the model must ensure the following:

Changes in input data distribution are detected.

Appropriate actions are triggered when predefined thresholds are exceeded.

You need to configure monitoring to meet the 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.

as

Options:

Question 30

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.

Options:

A.

rw_mount

B.

ro mount

C.

upload

D.

download

E.

direct

Question 31

You create an Azure Machine Learning model to include model files and a scorning script. You must deploy the model. The deployment solution must meet the following requirements:

• Provide near real-time inferencing.

• Enable endpoint and deployment level cost estimates.

• Support logging to Azure Log Analytics.

You need to configure the deployment solution.

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

NOTE: Each correct selection is worth one point.

as

Options:

Question 32

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 33

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?

Options:

A.

Archive the training dataset for the model version.

B.

Delete the model version.

C.

Archive the model version.

D.

Unregister the model version.

Question 34

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.

Kubernetes cluster

B.

Azure Batch

C.

Apache Spark pool

D.

AmICompute instance

Page: 1 / 23
Total 228 questions