
Answer-first summary for fast verification
Answer: Stop the current kernel.
The question requires maintaining the state of the notebook, including preserving current variable values. Stopping the current kernel (Option D) is the correct approach because it halts code execution without clearing variables or resetting the notebook state. This allows the notebook to resume with all variables intact. Changing the compute (Option A) would disconnect and potentially reset the environment. Changing the kernel (Option B) would restart the kernel and clear all variables. Stopping the compute (Option C) would terminate the entire compute instance, losing the notebook state. The community discussion strongly supports Option D with 100% consensus and references to Microsoft documentation confirming this approach.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You create a workspace using Azure Machine Learning Studio. You need to run a Python SDK v2 notebook in this workspace and preserve the current values of variables for the current notebook instance.
What should you do to maintain the state of the notebook?
A
Change the compute.
B
Change the current kernel.
C
Stop the compute.
D
Stop the current kernel.
No comments yet.