A data scientist wants to explore a new dataset interactively in Jupyter inside the workspace, with the repository cloned and nothing to install locally. What do they use?
- Exam domain
- Implement machine learning model lifecycle and operations25–30% of the exam
- Difficulty
- Easy
- In this mock
- 22 questions on this domainPractise this domain
Why the exam asks this
Implement machine learning model lifecycle and operations: Orchestrate model training.
Objective in the exam guide: Use notebooks for experimentation and exploration.
Exploration comes before production code. The exam checks you know where interactive work runs.
Why C is the answer
A compute instance with notebooks in the workspace
Compute instances are managed development machines that run Jupyter notebooks in the workspace.
How it works
Notebooks in the workspace run on a compute instance, a managed cloud workstation.
The instance comes with common ML libraries and Jupyter, and can clone Git repositories.
Notebooks are for exploration; repeatable training should run as jobs.
Clues in the question
The words that point to the answer, and what each one tells you.
- Interactively in Jupyter
- Notebooks.
- Nothing to install locally
- A managed workstation.
In detail
- Set idle shutdown on the instance so it stops when not in use.
- Move code that works into scripts and jobs for repeatable runs.
Side by side with look-alikes
| Compute | Interactive? | Best for |
|---|---|---|
| A compute instance with notebooks in the workspace | Yes | Exploration |
| Compute cluster | No | Training jobs |
| Batch endpoint | No | Scoring |
| Registry | Not compute | Sharing assets |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. A compute cluster with zero minimum nodesWrongMost tempting
Clusters run submitted jobs, not interactive notebooks.
Why it tempts: Clusters are cheap when idle, which sounds good for occasional work. But they run submitted jobs, not interactive sessions.
B. A registryWrong
A registry stores shared assets.
C. A compute instance with notebooks in the workspaceRight
Compute instances are managed development machines that run Jupyter notebooks in the workspace.
D. A batch endpointWrong
Batch endpoints score data in jobs; they are not interactive.
In practice
- Schedule the instance to stop each evening and enable idle shutdown.