Microsoft
DP-100 · Question #276
You develop a machine learning project on a local machine. The project uses the Azure Machine Learning SDK for Python. You use Git as version control for scripts. You submit a training run that return
Sign in or unlock DP-100 to reveal the answer and full explanation for question #276. The question stem and answer options stay visible for context.
Explore data and run experiments
Question
You develop a machine learning project on a local machine. The project uses the Azure Machine Learning SDK for Python. You use Git as version control for scripts. You submit a training run that returns a Run object. You need to retrieve the active Git branch for the training run. Which two code segments should you use? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
Options
- Adetails = run.get_environment()
- Bdetails.properties['azureml.git.branch']
- Cdetails.properties['azureml.git.commit']
- Ddetails = run.get_details()1
Unlock DP-100 to see the answer
You've previewed enough free DP-100 questions. Unlock DP-100 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Azure Machine Learning SDK#Run management#Git integration#Experiment tracking