DP-100 Exam Question 86

You have a Python script that executes a pipeline. The script includes the following code:
from azureml.core import Experiment
pipeline_run = Experiment(ws, 'pipeline_test').submit(pipeline)
You want to test the pipeline before deploying the script.
You need to display the pipeline run details written to the STDOUT output when the pipeline completes.
Which code segment should you add to the test script?
  • DP-100 Exam Question 87

    You are performing a classification task in Azure Machine Learning Studio.
    You must prepare balanced testing and training samples based on a provided data set.
    You need to split the data with a 0.75:0.25 ratio.
    Which value should you use for each parameter? To answer, select the appropriate options in the answer area.
    NOTE: Each correct selection is worth one point.

    DP-100 Exam Question 88

    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 an Azure Machine Learning service datastore in a workspace. The datastore contains the following files:
    * /data/2018/Q1 .csv
    * /data/2018/Q2.csv
    * /data/2018/Q3.csv
    * /data/2018/Q4.csv
    * /data/2019/Q1.csv
    All files store data in the following format:
    id,M,f2,l
    1,1,2,0
    2,1,1,1
    32,10
    You run the following code:

    You need to create a dataset named training_data and load the data from all files into a single data frame by using the following code:

    Solution: Run the following code:

    Does the solution meet the goal?
  • DP-100 Exam Question 89

    You are preparing to use the Azure ML SDK to run an experiment and need to create compute. You run the following 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.

    DP-100 Exam Question 90

    You are creating a machine learning model in Python. The provided dataset contains several numerical columns and one text column.
    *Biker
    *Cars
    *Vans
    *Boats
    You are building a regression model using the scikit- learn Python package.
    You need to transform the text data to be compatible with the scikit-learn Python package How should you complete the code segment? To answer, select the appropriate options in the answer area.
    NOTE: Each correct selection is worth one point.