DP-100 · Question #345
You manage an Azure Machine Learning Workspace named Workspase1 and an Azure Files share named Share1. You plan to create an Azure Files datastore in Workspace1 to target Share1. You need to…
The correct answer is C. Account SAS key. To configure permanent access to an Azure Files share from an Azure Machine Learning datastore, an Account SAS key is the most appropriate and secure authorization method.
Question
Options
- APrimary access key
- BAnonymous access
- CAccount SAS key
- DUser delegation SAS key
How the community answered
(40 responses)- A5% (2)
- B3% (1)
- C83% (33)
- D10% (4)
Why each option
To configure permanent access to an Azure Files share from an Azure Machine Learning datastore, an Account SAS key is the most appropriate and secure authorization method.
Using the primary access key directly for datastore creation grants full control over the storage account and is generally not recommended for long-term or shared access due to significant security risks.
Anonymous access is not supported for Azure Files shares, meaning files cannot be accessed without some form of authentication.
An Account SAS (Shared Access Signature) key provides delegated access to resources in your storage account with customizable permissions and an expiry date. By setting a very long expiry or renewing it, it can provide practical 'permanent' access without exposing the storage account's primary key, which is a security best practice.
A User delegation SAS key is typically issued by Azure Active Directory for Blob storage, not Azure Files, and it still has a defined validity period, making it less 'permanent' than a long-lived Account SAS.
Concept tested: Azure ML datastore Azure Files authentication
Source: https://learn.microsoft.com/en-us/azure/machine-learning/how-to-create-datastore?view=azureml-api-2#azure-files
Topics
Community Discussion
No community discussion yet for this question.