A tuning job runs 50 trials per model family. How should runs be organized in MLflow?
- Exam domain
- Model Development44% of the exam
- Difficulty
- Medium
- In this mock
- 22 questions on this domainPractise this domain
Why the exam asks this
Model Development (44% of the exam)
Objective in the exam guide: Utilize nested runs using MLflow for tracking complex experiments.
Nested runs are named.
Why B is the answer
A parent run per family with each trial as a nested child run
Nested runs group child runs under a parent, so a family's trials stay together and compare easily.
Remember: Nest trials under a parent.
How it works
Nested runs structure complex experiments.
In detail
- start_run(nested=True).
- Parent per family.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. No logging until the best trial is knownWrong
Late logging loses trials.
B. A parent run per family with each trial as a nested child runRight
Nest trials under a parent.
C. One flat list of 150 runs with the family name typed into each run name by handWrongMost tempting
Flat lists are hard to navigate.
Why it tempts: Naming conventions feel like enough.
D. A new experiment for every trialWrong
Too many experiments scatter results.
Use case
An illustrative scenario, not a real incident.
Illustrative: the UI shows three parent runs, each expandable to its trials.
See it in different ways
mindmap
root(("Experiment"))
n1["XGBoost parent"]
n2["50 trial runs"]
n3["Random forest parent"]
n4["50 trial runs"]How to read this chart
- The centre is "Experiment".
- "XGBoost parent" covers "50 trial runs".
- "Random forest parent" covers "50 trial runs".
flowchart LR S0["start_run parent"] --> S1["start_run nested child"] --> S2["log trial"] --> S3["end child"]
How to read this chart
- Read it in order: start_run parent, then start_run nested child, then log trial, then end child.