Designing and Implementing a Data Science Solution on Azure — Question 117

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 variables set in the notebook for the current instance.

You need to maintain the state of the notebook.

What should you do?

Answer options

Correct answer: D

Explanation

The correct answer is D because stopping the current kernel allows the state of the notebook to be preserved without losing the variable values. Changing the compute or the kernel could disrupt the current session, and stopping the compute would terminate the entire instance, which is not desired.