Free preview mode

Enjoy the free questions and consider upgrading to gain full access!

DP-100Free trialFree trial

By microsoft
Aug, 2025

Verified

25Q per page

Question 51

DRAG DROP

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.

Image 1

Question 52

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

Question 53

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

Question 54

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

Question 55

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:

Dataset1 -

Image 1

Dataset2 -

Image 2

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

Does the solution meet the goal?

  • A: Yes
  • B: No

Question 56

You plan to use a Data Science Virtual Machine (DSVM) with the open source deep learning frameworks Caffe2 and PyTorch.
You need to select a pre-configured DSVM to support the frameworks.
What should you create?

  • A: Data Science Virtual Machine for Windows 2012
  • B: Data Science Virtual Machine for Linux (CentOS)
  • C: Geo AI Data Science Virtual Machine with ArcGIS
  • D: Data Science Virtual Machine for Windows 2016
  • E: Data Science Virtual Machine for Linux (Ubuntu)

Question 57

HOTSPOT -

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

Image 1

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

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

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

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

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

NOTE: Each correct selection is worth one point.

Image 2

Question 58

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 the following Azure subscriptions and Azure Machine Learning service workspaces:

Image 1

You need to obtain a reference to the ml-project workspace.

Solution: Run the following Python code:

Image 2

Does the solution meet the goal?

  • A: Yes
  • B: No

Question 59

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 the following Azure subscriptions and Azure Machine Learning service workspaces:

Image 1

You need to obtain a reference to the ml-project workspace.

Solution: Run the following Python code:

Image 2

Does the solution meet the goal?

  • A: Yes
  • B: No

Question 60

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 the following Azure subscriptions and Azure Machine Learning service workspaces:

Image 1

You need to obtain a reference to the ml-project workspace.

Solution: Run the following Python code:

Image 2

Does the solution meet the goal?

  • A: Yes
  • B: No

Question 61

HOTSPOT

You manage an Azure Machine Learning workspace named workspace1.

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

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

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

NOTE: Each correct selection is worth one point.

Image 1

Question 62

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: https
  • B: adl
  • C: abfss
  • D: wasbs

Question 63

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

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

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

Which method should you use to achieve this goal?

  • A: mltable.from_parquet_files()
  • B: mltable.from_delimited_files()
  • C: mltable.from_data_lake()
  • D: mltable.load()

Question 64

You manage an Azure Machine Learning workspace named proj1.

You plan to use assets defined in proj1 to create a pipeline in the Machine Learning studio designer.

You need to set the Registry name filter to display only the list of assets defined in proj1.

What should you set the Registry name filter to?

  • A: proj1
  • B: azureml-meta
  • C: azureml
  • D: workspace

Question 65

DRAG DROP

You have an Azure Machine Learning workspace named WS1 and a GitHub account named account1 that hosts a private repository named repo1.

You need to clone 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?

Image 1

Question 66

You manage an Azure Machine Learning workspace. You design a training job that is configured with a serverless compute.

The serverless compute must have a specific instance type and count.

You need to configure the serverless compute by using Azure Machine Learning Python SDK v2.

What should you do?

  • A: Specify the compute name by using the compute parameter of the command job.
  • B: Configure the tier parameter to Dedicated VM.
  • C: Initialize and specify the ResourceConfiguration class.
  • D: Initialize AmiCompute class with size and type specification.

Question 67

HOTSPOT -
You are performing sentiment analysis using a CSV file that includes 12,000 customer reviews written in a short sentence format. You add the CSV file to Azure
Machine Learning Studio and configure it as the starting point dataset of an experiment. You add the Extract N-Gram Features from Text module to the experiment to extract key phrases from the customer review column in the dataset.
You must create a new n-gram dictionary from the customer review text and set the maximum n-gram size to trigrams.
What should you select? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Image 1

Question 68

HOTSPOT

You manage an Azure subscription that contains the following resources:

Image 1

You plan to implement a solution that will automatically trigger the retraining of the model implemented by MLPipeline1. The trigger must be invoked if data drift is detected in Dataset1.

You need to select the components to invoke and run the solution. The solution must minimize coding implementation and maintenance efforts.

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

NOTE: Each correct selection is worth one point.

Image 2

Question 69

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: size
  • B: win_instances
  • C: type
  • D: name
  • E: max_instances

Question 70

You manage an Azure Machine Learning workspace named Workspace1.

You plan to create a pipeline in the Azure Machine Learning Studio designer. The pipeline must include a custom component.

You need to ensure the custom component can be used in the pipeline.

What should you do first?

  • A: Create a pipeline endpoint.
  • B: Add a linked service to Workspace1.
  • C: Upload a .json file to Workspace1.
  • D: Create a datastore.
  • E: Upload a .yaml file to Workspace1.

Question 71

You have an Azure Machine Learning workspace and a serverless Spark compute resource.

You plan to run the same Spark session every 40 minutes. Each session runs for 15 minutes.

During testing, you observe a 15-minute delay at the start of the Spark sessions.

You need to reduce the delay to less than 1 minute.

What should you do?

  • A: Configure the session timeout to be 25 minutes.
  • B: Increase the number of nodes to 16.
  • C: Enable dynamically allocated executors.
  • D: Enable an isolated compute.

Question 72

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 manage an Azure Machine Learning workspace. The development environment for managing the workspace is configured to use Python SDK v2 in Azure Machine Learning Notebooks.

A Synapse Spark Compute is currently attached and uses system-assigned identity.

You need to use Python code to update the Synapse Spark Compute to use a user-assigned identity.

Solution: Create an instance of the MLClient class.

Does the solution meet the goal?

  • A: Yes
  • B: No

Question 73

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 manage an Azure Machine Learning workspace. The development environment for managing the workspace is configured to use Python SDK v2 in Azure Machine Learning Notebooks.

A Synapse Spark Compute is currently attached and uses system-assigned identity.

You need to use Python code to update the Synapse Spark Compute to use a user-assigned identity.

Solution: Initialize the DefaultAzureCredential class.

Does the solution meet the goal?

  • A: Yes
  • B: No

Question 74

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 manage an Azure Machine Learning workspace. The development environment for managing the workspace is configured to use Python SDK v2 in Azure Machine Learning Notebooks.

A Synapse Spark Compute is currently attached and uses system-assigned identity.

You need to use Python code to update the Synapse Spark Compute to use a user-assigned identity.

Solution: Configure the IdentityConfiguration class with the appropriate identity type.

Does the solution meet the goal?

  • A: Yes
  • B: No

Question 75

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 that includes an AmlCompute cluster and a batch endpoint.

You clone a repository that contains an MLflow model to your local computer.

You need to ensure that you can deploy the model to the batch endpoint.

Solution: Add a compute resource to the workspace.

Does the solution meet the goal?

  • A: Yes
  • B: No
Page 3 of 21 • Questions 51-75 of 521

Free preview mode

Enjoy the free questions and consider upgrading to gain full access!