exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 4 question 70 discussion

Actual exam question from Microsoft's DP-100
Question #: 70
Topic #: 4
[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.

  • A. PythonScriptStep
  • B. AutoMLStep
  • C. CommandStep
  • D. StepRun
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
evangelist
11 months, 2 weeks ago
Selected Answer: AC
AC is the correct answer.
upvoted 1 times
...
Techlover74
1 year, 3 months ago
Selected Answer: AC
AC is the correct answer. StepRun is used for the submitted pipeline.
upvoted 1 times
...
zishankamal
1 year, 3 months ago
Selected Answer: AC
A and C python_script_step: Contains functionality to create an Azure ML Pipeline step that runs Python script. command_step: Contains functionality to create an Azure ML Pipeline step that runs commands. from azureml.pipeline.steps import CommandStep trainStep = CommandStep(name='train step', command='python train.py arg1 arg2', source_directory=project_folder, compute_target=compute_target)
upvoted 1 times
...
ferren
1 year, 9 months ago
chatgpt says AC
upvoted 1 times
...
BR_CS
1 year, 9 months ago
Selected Answer: AC
A, C python_script_step , CommandStep
upvoted 3 times
...
phdykd
1 year, 10 months ago
A, C python_script_step , CommandStep
upvoted 2 times
...
Michael_AUT
1 year, 10 months ago
AB python_script_step Contains functionality to create an Azure ML Pipeline step that runs Python script. automl_step Contains functionality for adding and managing an automated ML pipeline step in Azure Machine Learning.
upvoted 1 times
...
damaldon
1 year, 11 months ago
Ans. AB https://learn.microsoft.com/en-us/python/api/azureml-pipeline-steps/?view=azure-ml-py
upvoted 1 times
vv_bb
1 year, 6 months ago
Nope, the answer is A + C While B = AutoMLStep is a valid option for the pipeline step, it doesn't solve the task of "...You need to run a Python script as a pipeline step...."
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...