nerdexam
Microsoft

DP-100 · Question #369

You create a workspace to include a compute instance by using Azure Machine Learning Studio. You are developing a Python SDK v2 notebook in the workspace. You need to use Intellisense in the…

The correct answer is B. Start the compute instance. You must start the compute instance to enable Intellisense in Azure Machine Learning Studio notebooks. Intellisense (code completion, type hints, and inline documentation) in a Jupyter notebook requires an active, running kernel and compute backend. When the compute instance is…

Explore data and run experiments

Question

You create a workspace to include a compute instance by using Azure Machine Learning Studio. You are developing a Python SDK v2 notebook in the workspace. You need to use Intellisense in the notebook. What should you do?

Options

  • AStop the compute instance.
  • BStart the compute instance.
  • CRun a %pip magic function on the compute instance.
  • DRun a !pip magic function on the compute instance.

How the community answered

(22 responses)
  • B
    95% (21)
  • C
    5% (1)

Explanation

You must start the compute instance to enable Intellisense in Azure Machine Learning Studio notebooks. Intellisense (code completion, type hints, and inline documentation) in a Jupyter notebook requires an active, running kernel and compute backend. When the compute instance is stopped, there is no running Python environment to power Intellisense features. Starting the compute instance brings the kernel online, allowing Intellisense to introspect the Python SDK and provide completions. Running pip magic functions (%pip or !pip) installs packages but does not enable Intellisense on its own, and stopping the instance would disable it.

Topics

#Azure ML Studio#Notebooks#Compute Instance#Intellisense

Community Discussion

No community discussion yet for this question.

Full DP-100 Practice