nerdexam
Microsoft

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.

Design and prepare a machine learning solution

Question

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 configure permanent access to Share1 from the Azure Files datastore. Which authorization method should you use?

Options

  • APrimary access key
  • BAnonymous access
  • CAccount SAS key
  • DUser delegation SAS key

How the community answered

(40 responses)
  • A
    5% (2)
  • B
    3% (1)
  • C
    83% (33)
  • D
    10% (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.

APrimary access key

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.

BAnonymous access

Anonymous access is not supported for Azure Files shares, meaning files cannot be accessed without some form of authentication.

CAccount SAS keyCorrect

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.

DUser delegation SAS key

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

#Azure Storage#Azure Files#Datastores#SAS Keys

Community Discussion

No community discussion yet for this question.

Full DP-100 Practice