Free Microsoft DP-100 Exam Questions

Become Microsoft Certified with updated DP-100 exam questions and correct answers

Page:    1 / 103      
Total 511 Questions | Updated On: Mar 06, 2026
Add To Cart
Question 1

You use the following Python code in a notebook to deploy a model as a web service: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?


Answer: C
Question 2

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 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 Run
import pandas as pd
run = 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:
for label_val in label_vals:
run.log('Label Values', label_val)
Does the solution meet the goal?


Answer: A
Question 3

You create an Azure Machine Learning workspace. You must create a custom role named DataScientist that meets the following requirements: Role members must not be able to delete the workspace. Role members must not be able to create, update, or delete compute resource in the workspace. Role members must not be able to add new users to the workspace. You need to create a JSON file for the DataScientist role in the Azure Machine Learning workspace. The custom role must enforce the restrictions specified by the IT Operations team. Which JSON code segment should you use?


Answer: A
Question 4

You register a model in an Azure Machine Learning workspace by running the following code:

image460
You are creating a scoring script to use in a real-time service for the model.
You need to write code in the scoring script to set the path of the registered model so that it can be loaded by the service. You include the necessary import statements.
Which code segment should you use?


Answer: A
Question 5

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 create a model to forecast weather conditions based on historical data. You need to create a pipeline that runs a processing script to load data from a datastore and pass the processed data to a machine learning model training script. Solution: Run the following code:


Answer: A
Page:    1 / 103      
Total 511 Questions | Updated On: Mar 06, 2026
Add To Cart

© Copyrights DumpsCertify 2026. All Rights Reserved

We use cookies to ensure your best experience. So we hope you are happy to receive all cookies on the DumpsCertify.