New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft DP-100 Exam - Topic 1 Question 109 Discussion

Actual exam question for Microsoft's DP-100 exam
Question #: 109
Topic #: 1
[All DP-100 Questions]

You build a data pipeline in an Azure Machine Learning workspace by using the Azure Machine Learning SDK for Python.

You need to run a Python script as a pipeline step.

Which two classes could you use? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Aja
3 months ago
Yup, those are the right choices!
upvoted 0 times
...
Ashton
3 months ago
Wait, is StepRun even a valid option here?
upvoted 0 times
...
Joni
3 months ago
Pretty sure it's just PythonScriptStep and CommandStep.
upvoted 0 times
...
Galen
4 months ago
I thought AutoMLStep could work too?
upvoted 0 times
...
Blythe
4 months ago
Definitely PythonScriptStep and CommandStep!
upvoted 0 times
...
Carri
4 months ago
I’m pretty confident about PythonScriptStep, but I’m uncertain about StepRun; it seems more related to tracking runs than executing scripts.
upvoted 0 times
...
Cammy
4 months ago
I practiced a similar question, and I feel like CommandStep might be the right choice too, but I need to double-check that.
upvoted 0 times
...
Becky
4 months ago
I think PythonScriptStep is definitely one of the answers, but I can't recall if AutoMLStep can be used for running custom scripts.
upvoted 0 times
...
Oretha
5 months ago
I remember studying the PythonScriptStep for running scripts in pipelines, but I'm not sure if CommandStep is also valid.
upvoted 0 times
...
Krystina
5 months ago
I'm a little confused by the options. AutoMLStep and StepRun don't seem directly relevant to running a Python script, but I want to make sure I'm not missing something. I'll review the class descriptions carefully before answering.
upvoted 0 times
...
Barrie
5 months ago
This seems straightforward enough. I'm pretty confident that the PythonScriptStep is the right choice here, since it's specifically designed for running Python scripts as part of a pipeline. I'll select that one.
upvoted 0 times
...
Sylvie
5 months ago
Okay, I think I've got this. Based on the question, I'm guessing I'll need to use either the PythonScriptStep or the CommandStep to run my Python script. I'll double-check the documentation to be sure.
upvoted 0 times
...
Isaiah
5 months ago
Hmm, I'm a bit unsure about this one. I know we covered pipeline steps in class, but I can't quite remember all the different options. Let me think this through carefully.
upvoted 0 times
...
Fausto
5 months ago
This looks straightforward. I'll start by reviewing the options and thinking about which ones could be used to run a Python script as a pipeline step.
upvoted 0 times
...
Izetta
5 months ago
I think I remember learning about CMS content elements in class, but I'm drawing a blank right now. I'll have to review my notes.
upvoted 0 times
...
Micah
9 months ago
Wait, there's an Azure Machine Learning SDK for Python? I thought we were still using punch cards and abacuses in the cloud.
upvoted 0 times
...
Artie
9 months ago
A and C, for sure. I've used PythonScriptStep before, and CommandStep sounds like it would work too. This is an easy one!
upvoted 0 times
Kristine
8 months ago
Great, let's go with A and C for running the Python script in the data pipeline.
upvoted 0 times
...
Dorothy
8 months ago
I've used PythonScriptStep in the past, so I'm confident in that choice.
upvoted 0 times
...
France
9 months ago
Yes, I agree. PythonScriptStep and CommandStep should work for running a Python script.
upvoted 0 times
...
Carolann
9 months ago
I think A and C are the correct classes to use.
upvoted 0 times
...
...
Reyes
10 months ago
Hmm, I'm not sure about this one. B and D sound more like machine learning-specific steps, so I'm going to guess A and C.
upvoted 0 times
Margurite
9 months ago
Yes, PythonScriptStep and CommandStep are the right choices for running a Python script in the data pipeline.
upvoted 0 times
...
Sharee
9 months ago
I agree, PythonScriptStep and CommandStep are the classes you would use for that.
upvoted 0 times
...
Elfrieda
9 months ago
I think A and C are the correct classes to use for running a Python script as a pipeline step.
upvoted 0 times
...
...
Sharika
11 months ago
I'm going to go with A and D. StepRun seems like it could be used to run a Python script as a pipeline step, and PythonScriptStep is a no-brainer.
upvoted 0 times
Veda
10 months ago
I agree, PythonScriptStep is a must for running Python scripts in the pipeline.
upvoted 0 times
...
William
10 months ago
I think A and D are the right choices too. StepRun is definitely for running a Python script as a pipeline step.
upvoted 0 times
...
...
Corrie
11 months ago
A and C seem like the correct options here. PythonScriptStep is specifically for running Python scripts, and CommandStep can be used to run any command-line script.
upvoted 0 times
Malcolm
9 months ago
No problem, happy to help!
upvoted 0 times
...
Lacey
9 months ago
That makes sense, thanks for clarifying.
upvoted 0 times
...
Launa
9 months ago
Yes, PythonScriptStep is for running Python scripts and CommandStep can run any command-line script.
upvoted 0 times
...
Lillian
10 months ago
I think A and C are the right choices.
upvoted 0 times
...
...
Ben
11 months ago
I'm not sure about AutoMLStep and StepRun. I think they might not be the right classes for running a Python script in the data pipeline.
upvoted 0 times
...
Moira
11 months ago
I agree with Von. PythonScriptStep allows us to run a Python script as a pipeline step, and CommandStep can also be used for executing commands.
upvoted 0 times
...
Von
11 months ago
I think the classes we could use are PythonScriptStep and CommandStep.
upvoted 0 times
...

Save Cancel