DP-100 · Question #426
You create a workspace by using Azure Machine Learning Studio. You must run a Python SDK v2 notebook in the workspace by using Azure Machine Learning Studio. You must preserve the current values of va
The correct answer is D. Stop the current kernel.. Stopping the current kernel terminates the kernel process while keeping the notebook file and its saved cell outputs intact. This preserves the notebook's current state (variable values visible in outputs, execution history) without losing the notebook content itself. In contrast
Question
Options
- AChange the compute.
- BChange the current kernel.
- CStop the compute.
- DStop the current kernel.
How the community answered
(31 responses)- A3% (1)
- B16% (5)
- C10% (3)
- D71% (22)
Explanation
Stopping the current kernel terminates the kernel process while keeping the notebook file and its saved cell outputs intact. This preserves the notebook's current state (variable values visible in outputs, execution history) without losing the notebook content itself. In contrast, stopping or changing the compute instance tears down the underlying VM, destroying all in-memory state and potentially interrupting active sessions. Changing the current kernel restarts the kernel environment entirely, which clears all in-memory variables. Stopping just the kernel is the least disruptive action and is the correct way to maintain notebook state while freeing kernel resources.
Topics
Community Discussion
No community discussion yet for this question.