
Answer-first summary for fast verification
Answer: resource_group, subscription_id
To connect to an Azure Machine Learning workspace using the SDK, the config.json file requires the subscription_id to identify the Azure subscription and the resource_group to specify the resource group containing the workspace. These are essential for authenticating and locating the workspace within the Azure environment. The login parameter is not used in config.json as authentication is typically handled separately via Azure CLI or service principal. The key parameter refers to workspace keys for specific operations, not initial connection. The region is not required in config.json as it is inferred from the workspace properties.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You create an Azure Machine Learning workspace and are preparing a local Python environment on a laptop to connect to the workspace and run experiments. You create the following config.json file.
{
"workspace_name": "ml-workspace"
}
{
"workspace_name": "ml-workspace"
}
You must use the Azure Machine Learning SDK to interact with data and experiments in the workspace. You need to configure the config.json file to connect to the workspace from the Python environment.
Which two additional parameters must you add to the config.json file in order to connect to the workspace? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A
login
B
resource_group
C
subscription_id
D
key
E
region
No comments yet.