exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 2 question 101 discussion

Actual exam question from Microsoft's DP-100
Question #: 101
Topic #: 2
[All DP-100 Questions]

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?

  • A. Stop the compute instance.
  • B. Start the compute instance.
  • C. Run a %pip magic function on the compute instance.
  • D. Run a !pip magic function on the compute instance.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Ahmed_Gehad
Highly Voted 1 year, 3 months ago
Selected Answer: B
- Option A (Stop the compute instance) will not enable Intellisense. Stopping the compute instance will shut it down, and you won't be able to access its resources until you start it again. - Option C (Run a %pip magic function on the compute instance) and Option D (Run a !pip magic function on the compute instance) are not related to enabling Intellisense. These magic functions are used to install Python packages in the notebook's environment. While installing packages may be necessary for code execution, it won't impact the availability of Intellisense.
upvoted 5 times
...
evangelist
Most Recent 5 months ago
Selected Answer: B
Correct is B, intellisense needs a running compute instance to support this feature
upvoted 1 times
...
jojashi
5 months ago
Correct. C Chat GPT says it is C. To enable Intellisense in a Python SDK v2 notebook within an Azure Machine Learning Studio workspace, you don't need to perform any actions related to starting or stopping the compute instance. Instead, you need to ensure that the required Python packages are installed in your environment to support Intellisense.
upvoted 1 times
...
Matt2000
9 months, 1 week ago
B seems to be correct. See https://learn.microsoft.com/en-us/azure/machine-learning/how-to-run-jupyter-notebooks?view=azureml-api-2
upvoted 2 times
...
ferren
11 months, 3 weeks ago
claude says it is B
upvoted 1 times
...
cyberfriends
1 year ago
You can use %pip install to install packages and enable Intellisense. For example, if you want to install a package like numpy, you can run the following command in your Jupyter notebook cell: %p ip install numpy
upvoted 1 times
...
PradhanManva
1 year, 1 month ago
Selected Answer: B
B is correct
upvoted 2 times
...
ABosco
1 year, 2 months ago
B is correct When a compute instance is running, you can also use code completion, powered by Intellisense, in any Python notebook.
upvoted 2 times
...
PI_Team
1 year, 3 months ago
Selected Answer: B
To use Intellisense in a Python SDK v2 notebook in Azure Machine Learning Studio, you should start the compute instance. This will enable you to use advanced features like full IntelliSense and inline error highlighting directly in your Jupyter notebooks1. So the correct answer is B. Start the compute instance. SaM
upvoted 2 times
...
phdykd
1 year, 4 months ago
To use it, you must ensure that your compute instance is running and connected to your notebook. the correct answer is: B. Start the compute instance.
upvoted 1 times
...
fhlos
1 year, 4 months ago
C - is correct answer
upvoted 1 times
...
Batman160591
1 year, 4 months ago
B seems the correct
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago