DP-100 · Question #186
You create an Azure Machine Learning workspace. You are preparing a local Python environment on a laptop computer. You want to use the laptop to connect to the workspace and run experiments. You…
The correct answer is B. resource_group C. subscription_id. To connect to an Azure Machine Learning workspace using the SDK, the config.json file must contain three required fields: 'workspace_name', 'resource_group', and 'subscription_id'. The question states a config.json was already created (implying 'workspace_name' is present), so…
Question
Options
- Alogin
- Bresource_group
- Csubscription_id
- Dkey
- Eregion
How the community answered
(23 responses)- A4% (1)
- B87% (20)
- D9% (2)
Explanation
To connect to an Azure Machine Learning workspace using the SDK, the config.json file must contain three required fields: 'workspace_name', 'resource_group', and 'subscription_id'. The question states a config.json was already created (implying 'workspace_name' is present), so the two missing parameters are 'resource_group' (B) and 'subscription_id' (C). These three values uniquely identify a workspace within Azure. 'login' (A) and 'key' (D) are not valid config.json fields for the Azure ML SDK workspace connection, and 'region' (E) is not required in config.json-the SDK resolves location from the workspace metadata.
Topics
Community Discussion
No community discussion yet for this question.