Question 108:
You already have the Python scripts for several steps (including data ingestion, data cleansing, dividing data into train and test sets etc.) of your machine learning tasks but you want to combine them into a consistent, repeatable flow. You want to make use of the orchestration services offered by Azure ML pipelines. You have defined 3 three steps, each of them referencing a piece of your Python code: <pre class="brush:java;">step1 = PythonScriptStep(name="train_step", script_name="train.py", compute_target=aml_compute, source_directory=source_directory, allow_reuse=False) step2 = PythonScriptStep(name="compare_step", script_name="compare.py", compute_target=aml_compute_cluster2, source_directory=source_directory, allow_reuse=False) step3 = PythonScriptStep(name="extract_step", script_name="extract.py", compute_target=aml_compute, source_directory=source_directory, runconfig=run_config)</pre> Which parts of the codes should be changed to ensure optimal performance?
Answer options:
A.allow_reuse should be set True for the 1st step of a pipeline B.source_directory should reference to different folders for each step C.compute _target should be the same compute for each step in a pipeline D.parameter runconfig should be set for each step