nerdexam
MicrosoftMicrosoft

DP-100 · Question #243

DP-100 Question #243: Real Exam Question with Answer & Explanation

Sign in or unlock DP-100 to reveal the answer and full explanation for question #243. The question stem and answer options stay visible for context.

Explore data and run experiments

Question

You use the following code to define the steps for a pipeline: from azureml.core import Workspace, Experiment, Run from azureml.pipeline.core import Pipeline from azureml.pipeline.steps import PythonScriptStep ws = Workspace.from_config() . . . step1 = PythonScriptStep(name="step1", ...) step2 = PythonScriptsStep(name="step2", ...) pipeline_steps = [step1, step2] You need to add code to run the steps. Which two code segments can you use to achieve this goal? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.

Options

  • Aexperiment = Experiment(workspace=ws,
  • Brun = Run(pipeline_steps)
  • Cpipeline = Pipeline(workspace=ws, steps=pipeline_steps)
  • Dpipeline = Pipeline(workspace=ws, steps=pipeline_steps)

Unlock DP-100 to see the answer

You've previewed enough free DP-100 questions. Unlock DP-100 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Azure ML Pipelines#Pipeline definition#PythonScriptStep
Full DP-100 PracticeBrowse All DP-100 Questions