
Answer-first summary for fast verification
Answer: ScriptRunConfig
The correct answer is ScriptRunConfig (B) because it is the primary class in Azure ML SDK v1 used to configure and submit training runs. ScriptRunConfig encapsulates all necessary components for a training run including the source directory, training script, compute target, and environment. The community discussion shows 100% consensus with multiple upvoted comments demonstrating ScriptRunConfig usage with detailed code examples. Other options are incorrect: ScriptRun (A) is not a valid Azure ML class, RunConfiguration (C) is a lower-level configuration class not typically used directly for script runs, and Run (D) represents a submitted run instance rather than the configuration for submitting one.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You are using the Azure Machine Learning SDK for Python v1 and notebooks to train a model. You have created a compute target, an environment, and a training script using Python code.
You need to prepare the information to submit a training run.
Which class should you use?
A
ScriptRun
B
ScriptRunConfig
C
RunConfiguration
D
Run