Pass4itsure > Microsoft > Microsoft Certifications > DP-100 > DP-100 Online Practice Questions and Answers

DP-100 Online Practice Questions and Answers

Questions 4

HOTSPOT

You are using Azure Machine Learning to train machine learning models. You need to compute target on which to remotely run the training script.

You run the following Python 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.

Hot Area:

Buy Now
Questions 5

HOTSPOT

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

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 to run an automated machine learning experiment to train these models.

You need to configure the automated machine learning run.

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

NOTE: Each correct selection is worth one point.

Hot Area:

Buy Now
Questions 6

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 are creating a model to predict the price of a student's artwork depending on the following variables:

the student's length of education, degree type, and art form.

You start by creating a linear regression model.

You need to evaluate the linear regression model.

Solution: Use the following metrics: Mean Absolute Error, Root Mean Absolute Error, Relative Absolute Error, Relative Squared Error, and the Coefficient of Determination.

Does the solution meet the goal?

A. Yes

B. No

Buy Now
Questions 7

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 are creating a model to predict the price of a student's artwork depending on the following variables:

the student's length of education, degree type, and art form.

You start by creating a linear regression model.

You need to evaluate the linear regression model.

Solution: Use the following metrics: Accuracy, Precision, Recall, F1 score, and AUC.

Does the solution meet the goal?

A. Yes

B. No

Buy Now
Questions 8

You plan to use a Python script to run an Azure Machine Learning experiment. The script creates a reference to the experiment run context, loads data from a file, identifies the set of unique values for the label column, and completes the experiment run:

from azureml.core import Runimport pandas as pdrun = Run.get_context()data = pd.read_csv('data.csv')label_vals = data['label'].unique()# Add code to record metrics here run.complete()

The experiment must record the unique labels in the data as metrics for the run that can be reviewed later.

You must add code to the script to record the unique label values as run metrics at the point indicated by the comment.

Solution: Replace the comment with the following code:

run.upload_file('outputs/labels.csv', './data.csv')

Does the solution meet the goal?

A. Yes

B. No

Buy Now
Questions 9

You create a classification model with a dataset that contains 100 samples with Class A and 10,000 samples with Class B.

The variation of Class B is very high.

You need to resolve imbalances.

Which method should you use?

A. Partition and Sample

B. Cluster Centroids

C. Tomek links

D. Synthetic Minority Oversampling Technique (SMOTE)

Buy Now
Questions 10

You have an Azure Machine Learning workspace. You are connecting an Azure Data Lake Storage Gen2 account to the workspace as a data store.

You need to authorize access from the workspace to the Azure Data Lake Storage Gen2 account.

What should you use?

A. Service principal

B. SAS token

C. Managed identity

D. Account key

Buy Now
Questions 11

You are using a ScriptRunConfig object to configure an experiment that uses a script to train a machine learning model.

The script must apply a regularization rate hyperparameter to the algorithm that is used to train the model.

You need to pass the regularization rate in a variable named reg_rate to the script.

Which code segment should you use?

A. Option A

B. Option B

C. Option C

D. Option D

Buy Now
Questions 12

You create an Azure Machine Learning workspace named workspace1. The workspace contains a Python SDK v2 notebook that uses MLflow to collect model training metrics and artifacts from your local computer.

You must reuse the notebook to run on Azure Machine Learning compute instance in workspace1.

You need to continue to log metrics and artifacts from your data science code.

What should you do?

A. Instantiate the job class.

B. Instantiate the MLCIient class.

C. Log in to workspace1.

D. Configure the tracking URL.

Buy Now
Questions 13

You have a dataset that contains records of patients tested for diabetes. The dataset includes the patient's age.

You plan to create an analysis that will report the mean age value from the differentially private data derived from the dataset.

You need to identify the epsilon value to use in the analysis that minimizes the risk of exposing the actual data.

Which epsilon value should you use?

A. -1.5

B. -0.5

C. 0.5

D. 1.5

Buy Now
Exam Code: DP-100
Exam Name: Designing and Implementing a Data Science Solution on Azure
Last Update: Jun 14, 2026
Questions: 617
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99