nerdexam
Microsoft

DP-100 · Question #497

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might h

The correct answer is A. Yes. Creating a conda or Python environment is the required prerequisite before registering a new Jupyter kernel in an Azure ML compute instance terminal.

Design and prepare a machine learning solution

Question

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure Machine Learning workspace. You connect to a terminal session from the Notebooks page in Azure Machine Learning studio. You plan to add a new Jupyter kernel that will be accessible from the same terminal session. You need to perform the task that must be completed before you can add the new kernel. Solution: Create an environment. Does the solution meet the goal?

Options

  • AYes
  • BNo

How the community answered

(28 responses)
  • A
    93% (26)
  • B
    7% (2)

Why each option

Creating a conda or Python environment is the required prerequisite before registering a new Jupyter kernel in an Azure ML compute instance terminal.

AYesCorrect

A new Jupyter kernel must be backed by a specific Python environment; without first creating that environment and installing ipykernel into it, there is nothing to register as a kernel. Creating the environment provides the interpreter and packages the kernel will expose, after which the kernel can be registered using 'python -m ipykernel install' from within that environment.

BNo

Answering No is incorrect because creating an environment is the actual prerequisite step before a new Jupyter kernel can be added and made accessible in the terminal session.

Concept tested: Azure ML compute instance Jupyter kernel prerequisites

Source: https://learn.microsoft.com/en-us/azure/machine-learning/how-to-access-terminal

Topics

#Azure Machine Learning#Jupyter Notebooks#Environments#Compute Instances

Community Discussion

No community discussion yet for this question.

Full DP-100 Practice