
Microsoft Certified Azure Data Scientist Associate - DP-100
Get started today
Ultimate access to all questions.
You have the following Azure subscriptions and Azure Machine Learning service workspaces:
- Subscription 1:
- Workspace:
ml-prod in resource group rg-ml-prod
- Subscription 2:
- Workspace:
ml-project in resource group rg-ml-project
You need to obtain a reference to the ml-project workspace.
Solution: Run the following Python code:
from azureml.core import Workspace
ws = Workspace.get(name='ml-project',
subscription_id='sub-id-2',
resource_group='rg-ml-project')
from azureml.core import Workspace
ws = Workspace.get(name='ml-project',
subscription_id='sub-id-2',
resource_group='rg-ml-project')
Does the solution meet the goal?
You have the following Azure subscriptions and Azure Machine Learning service workspaces:
- Subscription 1:
- Workspace:
ml-prodin resource grouprg-ml-prod
- Workspace:
- Subscription 2:
- Workspace:
ml-projectin resource grouprg-ml-project
- Workspace:
You need to obtain a reference to the ml-project workspace.
Solution: Run the following Python code:
from azureml.core import Workspace
ws = Workspace.get(name='ml-project',
subscription_id='sub-id-2',
resource_group='rg-ml-project')
from azureml.core import Workspace
ws = Workspace.get(name='ml-project',
subscription_id='sub-id-2',
resource_group='rg-ml-project')
Does the solution meet the goal?
Exam-Like

Comments
Loading comments...