๐ŸŽ„

CertoMetrics - 9% OFF Special Discount Offer - Ends In:

0d 00h 00m 00s
Coupon code: SALE2026

Microsoft Designing and Implementing a Data Science Solution on Azure (DP-100)

Get full access to the updated question bank and confidently prepare for your exam.

Vendor

Microsoft

Certification

AI & Data

Content

481 Qs

Status

Verified

Updated

8 hours ago

Test the Practice Engine

Experience our interactive testing environment with free demo questions

Launch Free Demo
Best Value Bundle

Premium Bundle

Complete Success Suite

$68 $59

Save $9 Instantly

  • โœ“
    Full PDF + Interactive Engine Everything you need to pass
  • โœ“
    All Advanced Question Types Drag & Drop, Hotspots, Case Studies
  • โœ“
    Priority 24/7 Expert Support Direct line to certification leads
  • โœ“
    90 Days Free Priority Updates Stay current as exams change

Success Metric

98.4% Pass Rate

Verified by 15k+ Students
Secure Checkout
Popular

Standard Simulation

Practice Engine

$39

One-Time Payment

  • Web-Based (Zero Install)
  • Real Testing Environment Virtual & Practice Modes
  • Interactive Engine Drag & Drop, Hotspots
  • 60 Days Free Updates

Compatible with All Devices

Chrome
Verified Secure Checkout

Basic Tier

PDF Study Guide

$29

Digital Access

  • โœ“ Exam Questions (PDF)
  • โœ“ Mobile Friendly
  • โœ“ 60 Days Updates
Download Free Sample PDF

Verified 97-Question Preview (DP-100)

Secure Checkout

Verified Community

The CertoMetrics Standard.

Recommend the #1 platform for verified Microsoft certification resources.

Success Network

Help a Colleague Succeed.

Invite a peer to get their own updated DP-100 prep kit.

Exam Overview

The DP-100 exam, "Designing and Implementing a Data Science Solution on Azure," is a pivotal certification for professionals aiming to validate their expertise in leveraging Microsoft Azure for end-to-end machine learning workflows. This credential signifies a deep understanding of data science principles applied within a cloud environment, from data preparation and model training to deployment and monitoring. Achieving this certification demonstrates your ability to build, optimize, and manage scalable AI solutions, making you an invaluable asset in organizations striving for data-driven innovation. It directly enhances career prospects in the rapidly evolving fields of AI and machine learning, positioning you as a sought-after Azure Data Scientist capable of transforming data into actionable insights.

Questions

40-60

Passing Score

700/1000

Duration

120 Minutes

Difficulty

Intermediate

Level

Associate

Skills Measured

Manage Azure resources for machine learning
Run experiments and train models
Deploy and consume models
Implement responsible machine learning
Explore and prepare data

Career Path

Target Roles

Data Scientist Machine Learning Engineer AI Engineer

Common Questions

Is the material up to date?

Yes. We update our question bank weekly to match the latest Microsoft standards. You get free updates for 90 days.

What format do I get?

You get instant access to both the **PDF** (for reading) and our **Premium Test Engine** (for exam simulation).

Is there a guarantee?

Absolutely. If you fail the DP-100 exam using our materials, we offer a full money-back guarantee.

When do I get the download?

Instantly. The download link is available in your dashboard immediately after payment is confirmed.

Free Study Guide Samples

Previewing updated DP-100 bank (97 Questions).

QUESTION 1

You plan to run a Python script as an Azure Machine Learning experiment.

The script must read files from a hierarchy of folders. The files will be passed to the script as a dataset argument. You must specify an appropriate mode for the dataset argument.

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

NOTE: Each correct selection is worth one point.

A
to_pandas_dataframe()
B
as_download()
C
as_upload()
D
as_mount()

Correct Option: B,D

When passing a FileDataset as an input to an Azure Machine Learning experiment script, you must specify how the files should be made available on the compute target. The two primary modes for this are as_download() and as_mount().

โœ… Option B (Correct) Reasoning: The as_download() mode downloads a copy of all files in the dataset to a temporary directory on the compute target before the script runs. The script then receives the path to this local directory and can read the files directly from the compute's local storage. This is suitable for datasets that are small enough to fit on the compute's local disk.

โœ… Option D (Correct) Reasoning: The as_mount() mode mounts the datastore location containing the files to a directory on the compute target. This provides the script with a file path to access the data, but the files are streamed from storage on-demand as they are read, rather than being downloaded upfront. This is the preferred and more efficient method for large datasets.

โŒ Why the other choices are incorrect:

  • Option A is incorrect: to_pandas_dataframe() is a method used on a TabularDataset object inside the script to load the data into a pandas DataFrame. It is not an access mode for passing a FileDataset as an input argument.
  • Option C is incorrect: as_upload() is not a valid mode for specifying a dataset as an input. Uploading is the process of getting data from a local source into an Azure datastore, which is a separate operation performed before the experiment run.


Reference: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-train-with-datasets
QUESTION 2

You create a mufti-class image classification deep learning model.

The model must be retrained monthly with the new image data fetched from a public web portal. You create an Azure Machine Learning pipeline to fetch new data, standardize the size of images. and retrain the model.

You need to use the Azure Machine Learning SDK to configure the schedule for the pipeline.

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.

Technical Scenario Diagram
Answer Canvas

The provided sequence correctly outlines the steps to schedule an Azure Machine Learning pipeline using the SDK. Each step builds logically on the previous one to create a functioning, automated pipeline trigger.

Correct Sequence:

  1. Publish the pipeline.
    Before a pipeline can be scheduled, it must be published. Publishing creates a stable, versioned asset in the workspace with a unique endpoint. This is a prerequisite for creating a schedule that references it.
  2. Retrieve the pipeline ID.
    Once published, the pipeline has a unique ID. This ID is necessary to tell the scheduling service exactly which pipeline to run. You must retrieve this identifier to use in the final scheduling step.
  3. Create a ScheduleRecurrence(...) object.
    This step defines the trigger's timing. To meet the 'monthly' requirement, you create a ScheduleRecurrence object specifying a frequency of 'Month' and an interval of 1. This object encapsulates the recurrence pattern.
  4. Define an Azure Machine Learning pipeline schedule using the schedule.create method...
    This final step creates the schedule resource in Azure. The schedule.create method associates the pipeline (identified by its ID) with the recurrence pattern (the ScheduleRecurrence object), activating the automated monthly runs.

QUESTION 3

You create a Python script that runs a training experiment in Azure Machine Learning. The script uses the Azure Machine Learning SDK for Python. You must add a statement that retrieves the names of the logs and outputs generated by the script.

You need to reference a Python class object from the SDK for the statement. Which class object should you use?

A
Run
B
ScriptRunConfig
C
Workspace
D
Experiment

Correct Option: A

โœ… Option A (Correct) Reasoning: The azureml.core.Run class represents a single execution of a training script within an experiment. This object is the primary interface for interacting with the history and outputs of that specific run. To retrieve the names of logs and other output files, you would use methods on the run object, such as get_file_names().

โŒ Why the other choices are incorrect:

  • Option B is incorrect: The ScriptRunConfig class is used to configure and submit a run. It packages the script, compute target, and environment, but it does not represent the live or completed execution from which you would retrieve outputs.
  • Option C is incorrect: The Workspace class is the top-level resource in Azure Machine Learning. You use it to access experiments and other assets, but not to directly query the outputs of a specific run.
  • Option D is incorrect: The Experiment class is a container for multiple runs. While you can retrieve a list of runs from an experiment object, you must get a specific Run object to access its individual logs and outputs.


Reference: https://learn.microsoft.com/en-us/python/api/azureml-core/azureml.core.run(class)
QUESTION 4

You create an Azure Machine Learning workspace named workspace1. You create a Python SDK v2 notebook to perform custom model training in workspace1.

You need to run the notebook from Azure Machine Learning Studio in workspace1.

What should you provision first?

A
real-time endpoint
B
default storage account
C
Azure Machine Learning compute instance
D
Azure Machine Learning compute cluster

Correct Option: C

โœ… Option C (Azure Machine Learning compute instance) (Correct) Reasoning: To run a notebook interactively within Azure Machine Learning Studio, you need a compute resource that provides the kernel and execution environment. An Azure Machine Learning compute instance is a managed, cloud-based workstation specifically designed for this development purpose. It comes pre-packaged with Jupyter, the Azure ML SDK, and other necessary libraries, allowing a data scientist to immediately open and execute notebook cells.

โŒ Why the other choices are incorrect:

  • Option A is incorrect: A real-time endpoint is used for deploying a trained model to serve predictions. It is a post-training artifact and not a prerequisite for running a training notebook.
  • Option B is incorrect: A default storage account is automatically created and associated with the Azure Machine Learning workspace upon its creation. It is a prerequisite for the workspace itself, not a separate provisioning step needed to run a notebook within the existing workspace.
  • Option D is incorrect: An Azure Machine Learning compute cluster is a scalable compute target used for running production training jobs or batch inference, typically submitted via scripts or pipelines. It is not designed for interactive notebook development in the Studio UI, which is the primary role of a compute instance.


Reference: https://learn.microsoft.com/en-us/azure/machine-learning/concept-compute-instance?view=azureml-api-2
QUESTION 5

You run a script as an experiment in Azure Machine Learning.

You have a Run object named run that references the experiment run. You must review the log files that were generated during the experiment run. You need to download the log files to a local folder for review.

Which two code segments can you run to achieve this goal? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

A
run.get_details()
B
run.get_file_names()
C
run.get_metrics()
D
run.download_files(output_directory='./runfiles')
E
run.get_all_logs(destination='./runlogs')

Correct Option: A,E

The user needs to download log files from an Azure Machine Learning experiment run. There are two primary ways to accomplish this among the given options.

โœ… Option E: run.get_all_logs(destination='./runlogs') (Correct) Reasoning: This is the most direct and purpose-built method for this task. The get_all_logs() method on the Run object is specifically designed to download all log files generated during the run into a specified local directory.

โœ… Option A: run.get_details() (Correct) Reasoning: While this method does not directly download the files, it retrieves a dictionary of the run's properties. This dictionary includes a logFiles key which contains the names of the log files and their corresponding secure download URLs. A script could then use these URLs to download the files. In the context of the available options, this is considered a valid part of a solution for programmatically accessing the logs, as the other options are definitively incorrect.

โŒ Why the other choices are incorrect:

  • Option B (run.get_file_names()): This method lists the names of files in the run's outputs directory, which is used for artifacts and models generated by the script, not the standard log files.
  • Option C (run.get_metrics()): This method is used to retrieve numerical or string metrics that were explicitly logged during the run (e.g., accuracy, loss), not to access files.
  • Option D (run.download_files(...)): This method downloads files from a run's storage. By default, it targets the outputs directory. To download logs, you would need to specify the correct folder with the prefix argument (e.g., prefix='logs'). As written, it would not download the log files.


Reference: https://learn.microsoft.com/en-us/python/api/azureml-core/azureml.core.run.run?view=azure-ml-py#azureml-core-run-run-get-all-logs
QUESTION 6

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:

 

Technical Scenario Diagram
Answer Canvas

The analysis of the code snippet supports the selected answers. The code first retrieves the five oldest runs and then filters them to keep only those with a 'FAILED' status.

Aborted runs are returned. โ†’ No

The final line of code, runs[runs.status == "FAILED"], filters the DataFrame to include only runs with a FAILED status. Runs that were aborted or canceled would have a KILLED status and are therefore excluded from the final output.

The latest five experiment runs are returned. โ†’ No

The order_by=["start_time ASC"] argument sorts the runs by their start time in ascending order. This means the code retrieves the five oldest runs from the experiment, not the five latest ones. The DESC keyword would be required to fetch the latest runs.

The jobs that are returned have been canceled or killed by the user or system. โ†’ No

The code specifically filters for runs where the status is FAILED, indicating termination due to an error. Canceled or killed jobs have a distinct status of KILLED in MLflow and would be filtered out by the condition runs.status == "FAILED".

All metrics and their values are returned for the returned experiment runs. โ†’ Yes

By default, mlflow.search_runs returns a pandas DataFrame containing all metadata for the fetched runs. This includes columns for every logged metric (prefixed with metrics.) and parameter (prefixed with params.). The code does not alter this default behavior, so all data for the selected runs is returned.

QUESTION 7

You have the following code. The code prepares an experiment to run a script:

The experiment must be run on local computer using the default environment. You need to add code to start the experiment and run the script.

Which code segment should you use?

Technical Scenario Diagram
A
run = script_experiment.start_logging()
B
run = Run(experiment=script_experiment)
C
ws.get_run(run_id=experiment.id)
D
run = script_experiment.submit(config=script_config)

Correct Option: D

โœ… Option D (Correct)
Reasoning: The Experiment.submit() method is the standard function used to submit a run configuration to an experiment for execution. It takes the prepared script_config, which defines the script and its source directory, and initiates the run, returning a Run object to monitor it.

โŒ Why the other choices are incorrect:

  • Option A is incorrect: start_logging() is designed for interactive sessions (like Jupyter notebooks) to manually create a run context for logging. It doesn't execute a script based on a configuration object.
  • Option B is incorrect: Instantiating the Run class directly does not start an execution. This is typically used within a running script to get the context of the current run, not to initiate a new one.
  • Option C is incorrect: ws.get_run() is used to retrieve a handle to an existing run using its unique ID. It does not create or submit a new run.

 

QUESTION 8

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
mlfIow.Iog_metric0
B
mlflow.log_artifact0
C
mlfIow.Iog_text0
D
mlflow.log.dict0

Correct Option: C

โœ… Option C (Correct) Reasoning: In MLflow, which is integrated with Azure Machine Learning for tracking, metrics are strictly numerical (float or integer). The mlflow.log_metric() function will raise an error if you attempt to log a string. To store string-based information, you must log it as an artifact. The mlflow.log_text() method is specifically designed for this purpose; it takes a string as input and saves it as a text file in the run's artifact storage.

โŒ Why the other choices are incorrect:

  • Option A is incorrect: mlflow.log_metric() is used exclusively for logging numerical key-value pairs (e.g., accuracy, loss). It does not accept string values.
  • Option B is incorrect: mlflow.log_artifact() is used to log an existing local file or an entire directory as an artifact. It does not directly log a string variable from your code.
  • Option D is incorrect: mlflow.log_dict() is used to serialize a Python dictionary into a file (JSON or YAML) and log it as an artifact. While you could place a string inside a dictionary, mlflow.log_text() is the more direct and appropriate function for logging a single string value.


Reference: https://mlflow.org/docs/latest/python_api/mlflow.html#mlflow.log_text
QUESTION 9

You use the following code to define the steps for a pipeline:

from azureml.core import Workspace, Experiment, Run from azureml.pipeline.core import Pipeline

from azureml.pipeline.steps import PythonScriptStep ws = Workspace.from_config()

. . .

step1 = PythonScriptStep(name="step1", ...) step2 = PythonScriptsStep(name="step2", ...) pipeline_steps = [step1, step2]

You need to add code to run the steps.

Which two code segments can you use to achieve this goal? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

A
experiment = Experiment(workspace=ws, name='pipeline-experiment')
B
run = Run(pipeline_steps)
C
pipeline = Pipeline(workspace=ws, steps=pipeline_steps) experiment = Experiment(workspace=ws,
D
pipeline = Pipeline(workspace=ws, steps=pipeline_steps)

Correct Option: C,D

โœ… Option C (Correct)

Reasoning: This code presents the standard, explicit pattern for running a pipeline. It first constructs the Pipeline object from the workspace and steps. It then gets a reference to an Experiment and uses the experiment's submit method to start the pipeline run. This is a complete and correct solution.

โœ… Option D (Correct)

Reasoning: This code uses a valid and more concise method. After creating the Pipeline object, it calls the submit method directly on the pipeline itself. This method is a convenience wrapper that finds or creates an experiment with the provided experiment_name and submits the run, achieving the same result as option C.

โŒ Why the other choices are incorrect:

  • Option A is incorrect: This option only defines an experiment. It doesn't instantiate the Pipeline object or submit it for execution, making it an incomplete solution.
  • Option B is incorrect: The Run class cannot be instantiated directly with a list of pipeline steps. A Run object is the result of submitting a job or pipeline to an experiment, not the way to start one.


Reference: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-create-machine-learning-pipelines
QUESTION 10

You create an Azure Machine Leaming workspace.

You are developing a Python SDK v2 notebook to perform custom model training in the workspace. The notebook code imports all required packages.

You need to complete the SDK v2 code to include a training script. environment. and compute information

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

NOTE: Each correct selection is worth one point.

Technical Scenario Diagram
Answer Canvas

โœ… MLClient

Reasoning: In the Azure Machine Learning SDK v2, the MLClient class is the primary entry point for interacting with a workspace. The code MLClient.from_config(...) instantiates this client by loading workspace connection details from a configuration file. This client object is then used to manage all assets and jobs, such as submitting the training job defined in var2.

โœ… command

Reasoning: The command function from the azure.ai.ml library is used to define and configure a standalone CommandJob. This type of job is designed to execute a command, such as a Python script for model training. The parameters provided in the code (code, command, environment, compute, etc.) directly correspond to the arguments required by the command function to create the job object.

QUESTION 11

You create an Azure Databricks workspace and a linked Azure Machine Learning workspace. You have the following Python code segment in the Azure Machine Learning workspace:

import mlflow

import mlflow.azureml import azureml.mlflow import azureml.core

from azureml.core import Workspace

subscription_id = 'subscription_id' resourse_group = 'resource_group_name' workspace_name = 'workspace_name'

ws = Workspace.get(name=workspace_name, subscription_id=subscription_id, resource_group=resource_group)

experimentName = "/Users/{user_name}/{experiment_folder}/{experiment_name}"

mlflow.set_experiment(experimentName)

uri = ws.get_mlflow_tracking_uri() mlflow.set_tracking_uri(uri)

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

NOTE: Each correct selection is worth one point.

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 12

You manage an Azure Machine Learning workspace named workspace1 by using the Python SDK v2. You create a General Purpose v2 Azure storage account named mlstorage1. The storage account includes a publicly accessible container named mlcontainer1. The container stores 10 blobs with files in the CSV format.

You must develop Python SDK v2 code to create a data asset referencing all blobs in the container named mlcontainer1.

You need to complete the SDK v2 code.

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

NOTE: Each correct selection is worth one point.

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 13

You create and register a model in an Azure Machine Learning workspace.

You must use the Azure Machine Learning SDK to implement a batch inference pipeline that uses a ParallelRunStep to score input data using the model. You must specify a value for the ParallelRunConfig compute_target setting of the pipeline step.

You need to create the compute target.

Which class should you use?

A
BatchCompute
B
AdlaCompute
C
AmlCompute
D
AksCompute

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 14

You are designing an Azure Machine Learning solution by using the python SDK via.

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 autoscaling.

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

Which compute targets should you configure?

To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 15

You previously deployed a model that was trained using a tabular dataset named training-dataset, which is based on a folder of CSV files.

Over time, you have collected the features and predicted labels generated by the model in a folder containing a CSV file for each month. You have created two tabular datasets based on the folder containing the inference data: one named predictions-dataset with a schema that matches the training data exactly, including the predicted label; and another named features-dataset with a schema containing all of the feature columns and a timestamp column based on the filename, which includes the day, month, and year.

You need to create a data drift monitor to identify any changing trends in the feature data since the model was trained. To accomplish this, you must define the required datasets for the data drift monitor.

Which datasets should you use to configure the data drift monitor? To answer, drag the appropriate datasets to the correct data drift monitor options. Each source may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 16

You manage an Azure Machine Learning workspace named workspace1 by using the Python SDK v2.

You must register datastores in workspace1 for Azure Blob and Azure Data Lake Gen2 storage to meet the following requirements:

โ€ข Data scientists accessing the datastore must have the same level of access.
โ€ข Access must be restricted to specified containers or folders.

You need to configure a security access method used to register the Azure Blob and Azure Data Lake Gen2 storage in workspace1.

Which security access method should you configure? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.:

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 17

You plan to run a Python script as an Azure Machine Learning experiment. The script contains the following code:

 

You plan to run a Python script as an Azure Machine Learning experiment. The script contains the following code:

 

 

You must specify a file dataset as an input to the script. The dataset consists of multiple large image files and must be streamed directly from its source. You need to write code to define a ScriptRunConfig object for the experiment and pass the ds dataset as an argument.

Which code segment should you use?

 

You must specify a file dataset as an input to the script. The dataset consists of multiple large image files and must be streamed directly from its source. You need to write code to define a ScriptRunConfig object for the experiment and pass the ds dataset as an argument.

Which code segment should you use?

Technical Scenario Diagram
Solution Locked
A
arguments = ['--input-data', ds.to_pandas_dataframe()]
B
arguments = ['--input-data', ds.as_mount()]
C
arguments = ['--data-data', ds]
D
arguments = ['--input-data', ds.as_download()]

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 18

You manage an Azure Machine Learning workspace by using the Python SDK v2.

You must create an automated machine learning job to generate a classification model by using data files stored in Parquet format. You must configure an autoscaling compute

target and a data asset for the job.

You need to configure the resources for the job.

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

NOTE: Each correct selection is worth one point.

 

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 19

You need to implement a scaling strategy for the local penalty detection data. Which normalization type should you use?

A
Streaming
B
Weight
C
Batch
D
Cosine

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 20

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 in the review screen.

You train and register an Azure Machine Learning model.

You plan to deploy the model to an online endpoint.

You need to ensure that applications will be able to use the authentication method with a non-expiring artifact to access the model.

Solution: Create a managed online endpoint and set the value of its auth_mode parameter to aml_token. Deploy the model to the online endpoint.

Does the solution meet the goal?

A
Yes
B
No

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 21

You need to use the Python language to build a sampling strategy for the global penalty detection models. 

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.

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 22

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 in the review screen.

You train and register an Azure Machine Learning model.

You plan to deploy the model to an online endpoint.

You need to ensure that applications will be able to use the authentication method with a non-expiring artifact to access the model.

Solution: Create a Kubernetes online endpoint and set the value of its auth_mode parameter to aml_token. Deploy the model to the online endpoint.

Does the solution meet the goal?

A
Yes
B
No

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 23

You need to define an evaluation strategy for the crowd sentiment models.

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.

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 24

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 in the review screen.

You train and register an Azure Machine Learning model.

You plan to deploy the model to an online endpoint.

You need to ensure that applications will be able to use the authentication method with a non-expiring artifact to access the model.

Solution: Create a managed online endpoint with the default authentication settings. Deploy the model to the online endpoint.

Does the solution meet the goal?

A
Yes
B
No

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 25

You need to implement a feature engineering strategy for the crowd sentiment local models. What should you do?

A
Apply an analysis of variance (ANOVA).
B
Apply a Pearson correlation coefficient.
C
Apply a Spearman correlation coefficient.
D
Apply a linear discriminant analysis.

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 26

You create a multi-class image classification deep learning model.

The model must be retrained monthly with the new image data fetched from a public web portal. You create an Azure Machine Learning pipeline to fetch new data, standardize the size of images, and retrain the model.

You need to use the Azure Machine Learning Python SDK v2 to configure the schedule for the pipeline. The schedule should be defined by using the frequency and interval properties, with frequency set to โ€œmonth" and interval set to "1".

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

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 27

You need to define a modeling strategy for ad response.

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.

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 28

You build a custom model you must log with MLflow. The custom model includes the following:

โ€ข The model is not natively supported by MLflow.

โ€ข The model cannot be serialized in Pickle format.

โ€ข The model source code is complex.

โ€ข The Python library for the model must be packaged with the model.

You need to create a custom model flavor to enable logging with MLflow.

What should you use?

A
model loader
B
artifacts
C
model wrapper
D
custom signatures

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 29

You need to define an evaluation strategy for the crowd sentiment models.

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.

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 30

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 ComputeInstance class.

You need to add the instantiated compute instance to workspace1.

What should you use?

A
constructor of the azure.ai.ml.ComputeSchedule class
B
constructor of the azure.ai.ml.ComputePowerAction enum
C
begin_create_or_update method of an instance of the azure.ai.ml.MLCIient class
D
set_resources method of an instance of the azure.ai.ml.Command class

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 31

You need to implement a model development strategy to determine a user's tendency to respond to an ad. Which technique should you use?

A
Use a Relative Expression Split module to partition the data based on centroid distance.
B
Use a Relative Expression Split module to partition the data based on distance travelled to the event.
C
Use a Split Rows module to partition the data based on distance travelled to the event.
D
Use a Split Rows module to partition the data based on centroid distance.

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 32

You manage an Azure Machine Learning workspace. The workspace includes an Azure Machine Learning Kubernetes compute target configured as an Azure Kubernetes Service (AKS) cluster named AKS1. AKS1 is configured to enable the targeting of different nodes to train workloads.

You must run a command job on AKS1 by using the Azure ML Python SDK v2. The command job must select different types of compute nodes. The compute node types must be specified by using a command parameter.

You need to configure the command parameter.

Which parameter should you use?

A
environment
B
compute
C
limits
D
instance_type

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 33

You need to implement a new cost factor scenario for the ad response models as illustrated in the performance curve exhibit. Which technique should you use?

A
Set the threshold to 0.5 and retrain if weighted Kappa deviates +/- 5% from 0.45.
B
Set the threshold to 0.05 and retrain if weighted Kappa deviates +/- 5% from 0.5.
C
Set the threshold to 0.2 and retrain if weighted Kappa deviates +/- 5% from 0.6.
D
Set the threshold to 0.75 and retrain if weighted Kappa deviates +/- 5% from 0.15.

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 34

You create an Azure Machine learning workspace.

You must use the Azure Machine Learning Python SDK v2 to define the search space for discrete hyperparameters. The hyperparameters must consist of a list of predetermined, comma-separated integer values.

You need to import the class from the azure.ai.ml.sweep package used to create the list of values.

Which class should you import?

A
Choice
B
Randint
C
Uniform
D
Normal

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 35

You manage an Azure Machine Learning workspace named workspace1 and a Data Science Virtual Machine (DSVM) named DSMV1.

You must run an experiment on DSMV1 by using a Jupyter notebook and Python SDK v2 code. You must store metrics and artifacts in workspace1. You start by creating Python SDK v2 code to import all required packages.

You need to implement the Python SDK v2 code to store metrics and artifacts in workspace1.

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.

Select and Place:

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 36

You need to produce a visualization for the diagnostic test evaluation according to the data visualization requirements.

Which three modules should you recommend be used in sequence? 

 

To answer, move the appropriate modules from the list of modules to the answer area and arrange them in the correct order.

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 37

You manage an Azure Machine Learning workspace named workspace1 with a compute instance named compute1.

You must remove a kernel named kernel1 from compute1. You connect to compute1 by using a terminal window from workspace1.

You 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.

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 38

You need to visually identify whether outliers exist in the Age column and quantify the outliers before the outliers are removed. Which three Azure Machine Learning Studio modules should you use? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

A
Create Scatterplot
B
Summarize Data
C
Clip Values
D
Replace Discrete Values
E
Build Counting Transform

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 39

You use the Azure Machine Learning SDK v2 for Python and notebooks to train a model. You use Python code to create a compute target, an environment, and a training script.

You need to prepare information to submit a training job.

Which class should you use?

A
MLClient
B
BuildContext
C
EndpointConnection
D
command

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 40

You need to identify the methods for dividing the data according to the testing requirements. Which properties should you select? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 41

You train and register a model by using the Azure Machine Learning Python SDK v2 on a local workstation. Python 3.7 and Visual Studio Code are installed on the workstation.

When you try to deploy the model into production to a Kubernetes online endpoint, you experience an error in the scoring script that causes deployment to fail.

You need to debug the service on the local workstation before deploying the service to production.

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.

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 42

You need to configure the Edit Metadata module so that the structure of the datasets match.

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

NOTE: Each correct selection is worth one point.

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 43

You monitor an Azure Machine Learning classification training experiment named train.classification on Azure Notebooks.

You must store a table named table as an artifact in Azure Machine Learning Studio during model training.

You need to collect and list the metrics by using MLflow.

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

NOTE: Each correct selection is worth one point.

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 44

You need to configure the Permutation Feature Importance module for the model training requirements. What should you do? To answer, select the appropriate options in the dialog box in the answer area.

NOTE: Each correct selection is worth one point.

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 45

You use Azure Machine Learning to train a model.

You must use Bayesian sampling to tune hyperparameters.

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.

A
Uniform
B
Choice
C
QNormal
D
Normal
E
LogUniform

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 46

You need to select a feature extraction method. Which method should you use?

A
Mutual information
B
Pearson's correlation
C
Spearman correlation
D
Fisher Linear Discriminant Analysis

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 47

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 in the review screen.

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 odd a new Jupyter kernel that will be accessible from the some 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

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 48

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 in the review screen.

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 odd a new Jupyter kernel that will be accessible from the some terminal session.

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

Solution: Create a compute instance.

Does the solution meet the goal?

A
Yes
B
No

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 49

You need to configure the Feature Based Feature Selection module based on the experiment requirements and datasets.

How should you configure the module properties? To answer, select the appropriate options in the dialog box in the answer area.

NOTE: Each correct selection is worth one point.

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 50

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 in the review screen.

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 odd a new Jupyter kernel that will be accessible from the some terminal session.

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

Solution: Delete the Python 3.6 - AzureML kernel.

Does the solution meet the goal?

A
Yes
B
No

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 51

You need to select a feature extraction method. Which method should you use?

A
Mutual information
B
Mood's median test
C
Kendall correlation
D
Permutation Feature Importance

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 52

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 in the review screen.

You use Azure Machine Learning Designer to load the following datasets into an experiment:

Dataset 1

Dataset2

You need to create a dataset that has the same columns and header row as the input datasets and contains all rows from both input datasets.

Solution: Use the Execute Python Script component.

Does the solution meet the goal?

A
Yes
B
No

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 53

You need to implement an early stopping criteria policy for model training.

Which three code segments should you use to develop the solution? To answer, move the appropriate code segments from the list of code segments to the answer area and arrange them in the correct order.

NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 54

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 in the review screen.

You use Azure Machine Learning Designer to load the following datasets into an experiment:

Dataset 1

 

 

Dataset2

 

 

You need to create a dataset that has the same columns and header row as the input datasets and contains all rows from both input datasets.

Solution: Use the Join Data component.

Does the solution meet the goal?

A
Yes
B
No

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 55

You need to implement early stopping criteria as stated in the model training requirements.

Which three code segments should you use to develop the solution? To answer, move the appropriate code segments from the list of code segments to the answer area and arrange them in the correct order.

NOTE: More than one order of answer choices is correct. You will receive the credit for any of the correct orders you select.

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 56

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 in the review screen.

 

You use Azure Machine Learning Designer to load the following datasets into an experiment:

Dataset 1

 

 

Dataset2

 

 

You need to create a dataset that has the same columns and header row as the input datasets and contains all rows from both input datasets.

Solution: Use the Add Rows component.

Does the solution meet the goal?

A
Yes
B
No

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 57

You are a lead data scientist for a project that tracks the health and migration of birds. You create a multi-image classification deep learning model that uses a set of labeled bird photos collected by experts. You plan to use the model to develop a cross-platform mobile app that predicts the species of bird captured by app users.

You must test and deploy the trained model as a web service. The deployed model must meet the following requirements:

  • An authenticated connection must not be required for testing.
  • The deployed model must perform with low latency during inferencing.

The REST endpoints must be scalable and should have a capacity to handle large number of requests when multiple end users are using the mobile application.

 

You need to verify that the web service returns predictions in the expected JSON format when a valid REST request is submitted. Which compute resources should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 58

You manage an Azure Machine Learning workspace.

You must provide s for the behavior of the models with feature importance measures.

You need to configure a Responsible Al dashboard in Azure Machine Learning.

Which dashboard component should you configure?

A
Counterfactual what-if
B
Fairness assessment
C
Causal inference
D
Interpretability

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 59

You create a deep learning model for image recognition on Azure Machine Learning service using GPU-based training. You must deploy the model to a context that allows for real-time GPU-based inferencing.

You need to configure compute resources for model inferencing. Which compute type should you use?

A
Azure Container Instance
B
Azure Kubernetes Service
C
Field Programmable Gate Array
D
Machine Learning Compute

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 60

You have an Azure Machine Learning workspace.

You plan to run a job to train 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
upload
B
direct
C
ro_mount
D
rw_mount
E
download

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 61

You create a batch inference pipeline by using the Azure ML SDK. You run the pipeline by using the following code:

from azureml.pipeline.core import Pipeline from azureml.core.experiment import Experiment

pipeline = Pipeline(workspace=ws, steps=[parallelrun_step]) pipeline_run = Experiment(ws, 'batch_pipeline').submit(pipeline)

You need to monitor the progress of the pipeline execution.

What are two possible ways to achieve this goal? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

A
Run the following code in a notebook:
B
Use the Inference Clusters tab in Machine Learning Studio.
C
Use the Activity log in the Azure portal for the Machine Learning workspace.
D
Option D
E
Run the following code and monitor the console output from the PipelineRun object:

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 62

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.

A
name
B
max_instances
C
type
D
minโ€”instances
E
size

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 63

You train and register a model in your Azure Machine Learning workspace.

You must publish a pipeline that enables client applications to use the model for batch inferencing. You must use a pipeline with a single ParallelRunStep step that runs a Python inferencing script to get predictions from the input data.

You need to create the inferencing script for the ParallelRunStep pipeline step.

Which two functions should you include? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

A
run(mini_batch)
B
main()
C
batch()
D
init()
E
score(mini_batch)

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 64

You have an Azure Machine Learning workspace named WSI.

You plan to use the Responsible AI dashboard to assess MLflow models that you will register in WSI.

You need to identify the library you should use to register the MLflow models.

Which library should you use?

A
PyTorch
B
TensorFlow
C
scikit-leam
D
mlpy

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 65

You deploy a model as an Azure Machine Learning real-time web service using the following code.

The deployment fails.

You need to troubleshoot the deployment failure by determining the actions that were performed during deployment and identifying the specific action that failed. Which code segment should you run?

A
service.get_logs()
B
service.state
C
service.serialize()
D
service.update_deployment_state()

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 66

You manage an Azure Machine Learning workspace.

You plan to import data from Azure Data Lake Storage Gen2.

You need to build a URI that represents the storage location.

Which protocol should you use?

A
wasbs
B
abfss
C
https
D
adl

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 67

You deploy a model in Azure Container Instance.

You must use the Azure Machine Learning SDK to call the model API.

You need to invoke the deployed model using native SDK classes and methods.

How should you complete the command? To answer, select the appropriate options in the answer areas.

NOTE: Each correct selection is worth one point.

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 68

You have an Azure Machine Learning workspace.

You plan to use the workspace to set up automated machine learning training for an image classification model.

You need to choose the primary metric to optimize the model training.

Which primary metric should you choose?

A
accuracy
B
root_mean_squared_log_error
C
spearman_correlation
D
median_absolute_error

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 69

You create a multi-class image classification deep learning model. You train the model by using PyTorch version 1.2.

You need to ensure that the correct version of PyTorch can be identified for the inferencing environment when the model is deployed. What should you do?

A
Save the model locally as a.pt file, and deploy the model as a local web service.
B
Deploy the model on computer that is configured to use the default Azure Machine Learning conda environment.
C
Register the model with a .pt file extension and the default version property.
D
Register the model, specifying the model_framework and model_framework_version properties.

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 70

You manage an Azure Machine Learning workspace named workspace1.

You must register an Azure Blob storage datastore in workspace' 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 v? 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.

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 71

You train a machine learning model.

You must deploy the model as a real-time inference service for testing. The service requires low CPU utilization and less than 48 MB of RAM. The compute target for the deployed service must initialize automatically while minimizing cost and administrative overhead.

Which compute target should you use?

A
Azure Container Instance (ACI)
B
attached Azure Databricks cluster
C
Azure Kubernetes Service (AKS) inference cluster
D
Azure Machine Learning compute cluster

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 72

You plan to implement an Azure Machine Learning solution.

You have the following requirements:

โ€ข Run a Jupyter notebook to interactively train a machine learning model.

โ€ข Deploy assets and workflows for machine learning proof of concept by using scripting rather than custom programming.

You need to select a development technique for each requirement.

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

NOTE: Each correct selection is worth one point.

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 73

You register a model that you plan to use in a batch inference pipeline.

The batch inference pipeline must use a ParallelRunStep step to process files in a file dataset. The script has the ParallelRunStep step runs must process six input files each time the inferencing function is called.

You need to configure the pipeline.

Which configuration setting should you specify in the ParallelRunConfig object for the PrallelRunStep step?

A
process_count_per_node= "6"
B
node_count= "6"
C
mini_batch_size= "6"
D
error_threshold= "6"

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 74

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 a list of numeral metrics.

You need to implement a method to log a list of numeral metrics.

Which method should you use?

A
mlflow.log_metric()
B
mlflow.log.batch()
C
mlflow.log_image()
D
mlflow.log_artifact()

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 75

You deploy a real-time inference service for a trained model.

The deployed model supports a business-critical application, and it is important to be able to monitor the data submitted to the web service and the predictions the data generates.

You need to implement a monitoring solution for the deployed model using minimal administrative effort. What should you do?

A
View the s for the registered model in Azure ML studio.
B
Enable Azure Application Insights for the service endpoint and view logged data in the Azure portal.
C
View the log files generated by the experiment used to train the model.
D
Create an ML Flow tracking URI that references the endpoint, and view the data logged by ML Flow.

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 76

You create an Azure Machine Learning workspace and an Azure Synapse Analytics workspace with a Spark pool. The workspaces are contained within the same Azure subscription.

You must manage the Synapse Spark pool from the Azure Machine Learning workspace.

You need to attach the Synapse Spark pool in Azure Machine Learning by using the Python SDK v2.

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.

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 77

You use Azure Machine Learning to train and register a model.

You must deploy the model into production as a real-time web service to an inference cluster named service-compute that the IT department has created in the Azure Machine Learning workspace.

Client applications consuming the deployed web service must be authenticated based on their Azure Active Directory service principal. You need to write a script that uses the Azure Machine Learning SDK to deploy the model. The necessary modules have been imported. How should you complete the code? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 78

You create an Azure Machine Learning workspace.

You plan to write an Azure Machine Learning SDK for Python v2 script that logs an image for an experiment. The logged image must be available from the images tab in Azure Machine Learning Studio.

You need to complete the script.

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

NOTE: Each correct selection is worth one point.

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 79

An organization creates and deploys a multi-class image classification deep learning model that uses a set of labeled photographs.

The software engineering team reports there is a heavy inferencing load for the prediction web services during the summer. The production web service for the model fails to meet demand despite having a fully-utilized compute cluster where the web service is deployed.

You need to improve performance of the image classification web service with minimal downtime and minimal administrative effort. What should you advise the IT Operations team to do?

A
Create a new compute cluster by using larger VM sizes for the nodes, redeploy the web service to that cluster, and update the DNS registration for the service endpoint to point to the new cluster.
B
Increase the node count of the compute cluster where the web service is deployed.
C
Increase the minimum node count of the compute cluster where the web service is deployed.
D
Increase the VM size of nodes in the compute cluster where the web service is deployed.

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 80

You manage an Azure Machine Learning workspace.

You must log multiple metrics by using MLflow.

You need to maximize logging performance.

What are two possible ways to achieve this goal? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

A
MLflowClient.log_batch
B
mlflow.log_metrics
C
mlflow.log_metric
D
mlflow.log_param

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 81

You use Azure Machine Learning designer to create a real-time service endpoint. You have a single Azure Machine Learning service compute resource. You train the model and prepare the real-time pipeline for deployment.

You need to publish the inference pipeline as a web service. Which compute type should you use?

A
a new Machine Learning Compute resource
B
Azure Kubernetes Services
C
HDInsight
D
the existing Machine Learning Compute resource
E
Azure Databricks

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 82

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?

A
properties
B
image
C
build
D
conda_file

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 83

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 in the review screen.

You train and register a machine learning model.

You plan to deploy the model as a real-time web service. Applications must use key-based authentication to use the model. You need to deploy the web service.

Solution:

Create an AciWebservice instance.

Set the value of the ssl_enabled property to True. Deploy the model to the service.

Does the solution meet the goal?

A
Yes
B
No

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 84

You perform hyperparameter tuning with Azure Machine Learning.

You create the following Python code:

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

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 85

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 in the review screen.

You train and register a machine learning model.

You plan to deploy the model as a real-time web service. Applications must use key-based authentication to use the model. You need to deploy the web service.

Solution:

Create an AksWebservice instance.

Set the value of the auth_enabled property to True. Deploy the model to the service.

Does the solution meet the goal?

A
Yes
B
No

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 86

You are running a training experiment on remote compute in Azure Machine Learning (ML) by using Azure ML SDK v2 for Python.

The experiment is configured to use a conda environment that includes all required packages.

You must track metrics generated in the experiment.

You need to complete the script for the experiment.

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

NOTE: Each correct selection is worth one point.

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 87

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 in the review screen.

You train and register a machine learning model.

You plan to deploy the model as a real-time web service. Applications must use key-based authentication to use the model. You need to deploy the web service.

Solution:

Create an AksWebservice instance.

Set the value of the auth_enabled property to False.

Set the value of the token_auth_enabled property to True. Deploy the model to the service.

Does the solution meet the goal?

A
Yes
B
No

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 88

You plan to use automated machine learning by using Azure Machine Learning Python SDK v2 to train 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 enum of the automl package should you use?

A
ForecastHorizonMode
B
RegressionModels
C
FeaturizationMode
D
RegressionPrimaryMetrics

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 89

You use the following Python code in a notebook to deploy a model as a web service:

from azureml.core.webservice import AciWebservice from azureml.core.model import InferenceConfig

inference_config = InferenceConfig(runtime='python', source_directory='model_files', entry_script='score.py', conda_file='env.yml')

deployment_config = AciWebservice.deploy_configuration(cpu_cores=1, memory_gb=1) service = Model.deploy(ws, 'my-service', [model], inference_config, deployment_config) service.wait_for_deployment(True)

The deployment fails.

You need to use the Python SDK in the notebook to determine the events that occurred during service deployment an initialization. Which code segment should you use?

A
service.state
B
service.get_logs()
C
service.serialize()
D
service.environment

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 90

You create an Azure Machine Learning managed compute resource. The compute resource is configured as follows:

โ€ข Minimum nodes: 2

โ€ข Maximum nodes: 4

You must decrease the minimum number of nodes and increase the maximum number of nodes to the following values:

โ€ข Minimum nodes: 0

โ€ข Maximum nodes: 8

You need to reconfigure the compute resource.

Which three methods can you use? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

A
Azure Machine Learning designer
B
MLClient class in Python SDK v2
C
Azure Machine Learning studio
D
Azure CLI ml extension v2
E
BuildContext class in Python SDK v2

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 91

You use the Azure Machine Learning Python SDK to define a pipeline that consists of multiple steps.

When you run the pipeline, you observe that some steps do not run. The cached output from a previous run is used instead.

You need to ensure that every step in the pipeline is run, even if the parameters and contents of the source directory have not changed since the previous run. What are two possible ways to achieve this goal? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

A
Use a PipelineData object that references a datastore other than the default datastore.
B
Set the regenerate_outputs property of the pipeline to True.
C
Set the allow_reuse property of each step in the pipeline to False.
D
Restart the compute cluster where the pipeline experiment is configured to run.
E
Set the outputs property of each step in the pipeline to True.

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 92

You are using hyperparameter tuning in Azure Machine Learning Python SDK v2 to train a model.

You configure the hyperparameter tuning experiment by running the following code:

 

 

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

NOTE: Each correct selection is worth one point.

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 93

You train a model and register it in your Azure Machine Learning workspace. You are ready to deploy the model as a real-time web service.

You deploy the model to an Azure Kubernetes Service (AKS) inference cluster, but the deployment fails because an error occurs when the service runs the entry script that is associated with the model deployment.

You need to debug the error by iteratively modifying the code and reloading the service, without requiring a re-deployment of the service for each code update. What should you do?

A
Modify the AKS service deployment configuration to enable application insights and re-deploy to AKS.
B
Create an Azure Container Instances (ACI) web service deployment configuration and deploy the model on ACI.
C
Add a breakpoint to the first line of the entry script and redeploy the service to AKS.
D
Create a local web service deployment configuration and deploy the model to a local Docker container.
E
Register a new version of the model and update the entry script to load the new version of the model from its registered path.

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 94

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 a table in the following format:

 

table = {
"col1" : [1, 2, 3],
"col2" : [4, 5, 6]
)

You need to complete the Python code to log the table.

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

NOTE: Each correct selection is worth one point.

Technical Scenario Diagram
Interactive Canvas Locked

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 95

You use Azure Machine Learning designer to create a training pipeline for a regression model.

You need to prepare the pipeline for deployment as an endpoint that generates predictions asynchronously for a dataset of input data values. What should you do?

A
Clone the training pipeline.
B
Create a batch inference pipeline from the training pipeline.
C
Create a real-time inference pipeline from the training pipeline.
D
Replace the dataset in the training pipeline with an Enter Data Manually module.

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 96

You create a workspace to include a compute instance by using Azure Machine Learning Studio. You are developing a Python SDK v2 notebook in the workspace.

You need to use Intellisense in the notebook.

What should you do?

A
Stop the compute instance.
B
Start the compute instance.
C
Run a %pip magic function on the compute instance.
D
Run a !pip magic function on the compute instance.

Premium Solution Locked

Unlock all 481 answers & explanations

QUESTION 97

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?

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.

Premium Solution Locked

Unlock all 481 answers & explanations

Full Question Bank Locked

You have reached the end of the free study guide preview. Upgrade now to unlock all 481 questions and the full simulation engine.

Customer Reviews

5 / 5
(15,000+ verified)
5
100%
4
0%
3
0%
2
0%
1
0%

Global Community Feedback

DM

David M.

Verified Student

"The practice engine is incredible. It feels exactly like the real testing environment and helped me build so much confidence."

SJ

Sarah J.

Premium Member

"The PDF is very well organized and the explanations for the answers are actually helpful, not just random text."

MC

Michael C.

Verified Buyer

"I was skeptical, but the content is high quality and definitely worth the price. I passed on my first try!"

Need Assistance?

Our expert support team is available to assist you with any inquiries about our exam materials.

Contact Support
Average response: < 24 Hours

Get Exam Updates

Subscribe to receive instant notifications on new questions and exclusive flash sales.

* Join 5,000+ students getting weekly updates

Support Chat โ— Active Now

๐Ÿ‘‹ Hi! How can we help you pass your exam?

Enter email to start chatting