exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 5 question 33 discussion

Actual exam question from Microsoft's DP-100
Question #: 33
Topic #: 5
[All DP-100 Questions]

You have an Azure Machine Learning workspace named workspace1.
You must add a datastore that connects an Azure Blob storage container to workspace1. You must be able to configure a privilege level.
You need to configure authentication.
Which authentication method should you use?

  • A. Service principal
  • B. Account key
  • C. SAS token
  • D. Managed identity
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Fefnut
5 months, 2 weeks ago
Managed identity can be done see https://learn.microsoft.com/en-us/azure/machine-learning/how-to-datastore?view=azureml-api-2&tabs=cli-identity-based-access%2Csdk-adls-identity-access%2Csdk-azfiles-accountkey%2Csdk-adlsgen1-identity-access%2Csdk-onelake-identity-access
upvoted 1 times
...
sl_mslconsulting
10 months, 4 weeks ago
Selected Answer: C
The latest UI in the Machine Learning Studio only have two options in Authentication type when creating a datastore : Account Key or SAS Token. This is consistent with what you can specify in the constructor: https://learn.microsoft.com/en-us/python/api/azure-ai-ml/azure.ai.ml.entities.azureblobdatastore?view=azure-python
upvoted 3 times
...
Piddi
2 years ago
You can have either Account Key or SAS while defining datastore. I guess SAS is the answer.
upvoted 1 times
...
esimsek
2 years, 1 month ago
In exam on 2023-03-27
upvoted 3 times
...
phdykd
2 years, 2 months ago
A. the most secure and recommended method is to use a Service principal. A Service principal is an Azure Active Directory (Azure AD) object that you can use to authenticate and authorize access to Azure resources. By using a Service principal, you can provide granular access to specific resources, without exposing the account key or SAS token. It also provides a centralized location to manage access to resources. While using a Managed identity is a valid option for authenticating when running code within a workspace or compute instance, it's not applicable for configuring authentication for datastores. A Managed identity provides an identity for a resource that can be used to authenticate to Azure services without requiring the use of credentials such as account keys or SAS tokens.
upvoted 1 times
AzureJobsTillRetire
2 years, 2 months ago
Service principle is less secure than managed identity. You can impersonate a service principle but you cannot impersonate a managed identity.
upvoted 1 times
...
AzureJobsTillRetire
2 years, 2 months ago
Automatically generated service principle is more secure than user created service principle, as for one identity you can have multiple user created service principles pointing to it, but you only have one automatically generated service principle per identity that cannot be modified.
upvoted 1 times
...
...
ahson0124
2 years, 2 months ago
In exam on 2023-02-15
upvoted 2 times
...
michaelmorar
2 years, 3 months ago
Selected Answer: D
Managed Identity works for privilege control.
upvoted 3 times
...
giusecozza
2 years, 7 months ago
on exam 09/09/2022
upvoted 2 times
...
giusecozza
2 years, 7 months ago
service principal, SAS an auth are credential-based methods, which require the user to have Reader access on the whole workspace. I guess Managed identity is the answer we are looking for, since it enables a more fine-grained access control https://docs.microsoft.com/en-us/azure/machine-learning/concept-data?tabs=uri-file-example%2Ccli-data-create-example#datastore
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago