DP-100 Practice Online

Quickly grab our DP-100 product now and kickstart your exam preparation today!

Name: Microsoft Designing and Implementing a Data Science Solution on Azure
Exam Code: DP-100
Certification: Microsoft Azure Data Scientist Associate
Vendor: Microsoft
Total Questions: 511
Last Updated: Apr 22, 2024
Page:    1 / 103      
Total 511 Questions | Updated On: Apr 22, 2024
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 create a training pipeline by using the Azure Machine Learning designer. You need to load data into a machine learning pipeline by using the Import Data component. Which two data sources could you use? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point


Answer: A,C

Question 3

You define a datastore named ml-data for an Azure Storage blob container. In the container, you have a folder
named train that contains a file named data.csv. You plan to use the file to train a model by using the Azure
Machine Learning SDK.
You plan to train the model by using the Azure Machine Learning SDK to run an experiment on local
compute.
You define a DataReference object by running the following code:
162
You need to load the training data.
Which code segment should you use?


Answer: A

Question 4

You have an Azure Machine Learning workspace.

You plan to tune a model hyperparameter when you train the model.

You need to define a search space that returns a normally distributed value.

Which parameter should you use?


Answer: D

Question 5

You have been tasked with creating a new Azure pipeline via the Machine Learning designer. You have to makes sure that the pipeline trains a model using data in a comma-separated values (CSV) file that is published on a website. A dataset for the file for this file does not exist. Data from the CSV file must be ingested into the designer pipeline with the least amount of administrative effort as possible. Which of the following actions should you take? 


Answer: D

Page:    1 / 103      
Total 511 Questions | Updated On: Apr 22, 2024