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: Jan 29, 2026
Add To Cart
Question 1

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 2

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 3

You plan to run a script as an experiment using a Script Run Configuration. The script uses modules from the scipy library as well as several Python packages that are not typically installed in a default conda environment. You plan to run the experiment on your local workstation for small datasets and scale out the experiment by running it on more powerful remote compute clusters for larger datasets. You need to ensure that the experiment runs successfully on local and remote compute with the least administrative effort. What should you do?


Answer: A
Question 4

You manage an Azure Machine Learning workspace. You plan to irain a natural language processing (NLP) tew classification model in multiple languages by using Azure Machine learning Python SDK v2. You need to configure the language of the text classification job by using automated machine learning. Which method of the TextClassifkationlob class should you use?


Answer: B
Question 5

You create an Azure Machine Learning pipeline named pipeline 1 with two steps that contain Python scnpts. Data processed by the first step is passed to the second step. You must update the content of the downstream data source of pipeline 1 and run the pipeline again. You need to ensure the new run of pipeline 1 fully processes the updated content. Solution: Change the value of the compute.target parameter of the PythonScriptStep object in the two steps. Does the solution meet the goal'


Answer: B
Page:    1 / 103      
Total 511 Questions | Updated On: Jan 29, 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.