nerdexam
Microsoft

DP-100 · Question #241

You run a script as an experiment in Azure Machine Learning. You have a Run object named run that references the experiment run. You must review the log files that were generated during the…

The correct answer is A. run.get_details() E. run.get_all_logs(destination='./runlogs'). The run Class get_all_logs method downloads all logs for the run to a directory. The run Class get_details gets the definition, status information, current log files, and other details Incorrect Answers: B: The run get_file_names list the files that are stored in association…

Explore data and run experiments

Question

You run a script as an experiment in Azure Machine Learning. You have a Run object named run that references the experiment run. You must review the log files that were generated during the experiment run. You need to download the log files to a local folder for review. Which two code segments can you run to achieve this goal? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.

Options

  • Arun.get_details()
  • Brun.get_file_names()
  • Crun.get_metrics()
  • Drun.download_files(output_directory='./runfiles')
  • Erun.get_all_logs(destination='./runlogs')

How the community answered

(46 responses)
  • A
    89% (41)
  • B
    2% (1)
  • C
    2% (1)
  • D
    7% (3)

Explanation

The run Class get_all_logs method downloads all logs for the run to a directory. The run Class get_details gets the definition, status information, current log files, and other details Incorrect Answers: B: The run get_file_names list the files that are stored in association with the run. https://docs.microsoft.com/en-us/python/api/azureml-core/azureml.core.run(class)

Topics

#Azure ML SDK#Experiment Management#Log Files#Data Retrieval

Community Discussion

No community discussion yet for this question.

Full DP-100 Practice