exam questions

Exam DP-201 All Questions

View all questions & answers for the DP-201 exam

Exam DP-201 topic 1 question 48 discussion

Actual exam question from Microsoft's DP-201
Question #: 48
Topic #: 1
[All DP-201 Questions]

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You plan to store delimited text files in an Azure Data Lake Storage account that will be organized into department folders.
You need to configure data access so that users see only the files in their respective department folder.
Solution: From the storage account, you enable a hierarchical namespace, and you use access control lists (ACLs).
Does this meet the goal?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Azure Data Lake Storage implements an access control model that derives from HDFS, which in turn derives from the POSIX access control model.
Blob container ACLs does not support the hierarchical namespace, so it must be disabled.
Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-known-issues

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
niwe
Highly Voted 4 years, 2 months ago
Hierarchical namespace, must be enabled, so No. https://docs.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-acl-dotnet
upvoted 12 times
azurenav
4 years ago
Question has "Enable",please check
upvoted 8 times
...
Sennkumar
3 years, 11 months ago
It says enable, please check the question. Answer is "Yes"
upvoted 7 times
...
cadio30
4 years ago
The link provided already stated that it requires to "ENABLE" the Hierarchical namespace which is included in the question. The appropriate answer is "Yes". Also this configuration is only available in Azure Data Lake Storage Gen 2 (azure storage blob)
upvoted 6 times
...
Deasto
4 years, 1 month ago
The question saying "you enable a hierarchical namespace" though. Did the question change? Solution: From the storage account, you enable a hierarchical namespace, and you use access control lists (ACLs).
upvoted 7 times
niwe
4 years, 1 month ago
Yes you are right question has change
upvoted 5 times
Psycho
4 years ago
So, the answer is Yes, right?
upvoted 7 times
BobFar
4 years ago
right, the answer is YES
upvoted 5 times
...
...
crissw22
4 years ago
so, YES is the answer
upvoted 9 times
...
...
...
...
satyamkishoresingh
Most Recent 3 years, 9 months ago
This should be Yes as solution Fit the problem statement , Enable Hierarchical namespace + ACL
upvoted 1 times
...
tes
3 years, 11 months ago
you enable a hierarchical namespace = then the storage account becomes Gen2 Enable ACL: Gen2 automatically has ACL so the answer is Yes
upvoted 1 times
tes
3 years, 11 months ago
sorry ignore this, wrong answer. I cannot delete it. ACL is there in Gen1.
upvoted 1 times
...
...
davita8
4 years, 1 month ago
B. No The answer
upvoted 1 times
...
Apox
4 years, 1 month ago
The answer is "NO" Hierarchical namespace must be enabled to have a folder structure and actually be an ADLS account (or else it is regular blob) However, it is correct to use ACLs, as this is the only mechanism to give "finer grain" level of access to directories and files. (except Shared Access Signature, but this would make more sense to use for external users for e.g. a limited amount of time) Source: https://docs.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-access-control-model
upvoted 2 times
azurenav
4 years ago
Question has "Enable",please check
upvoted 1 times
...
...
aksoumi
4 years, 2 months ago
Also, note below from the Azure Documentation. In order to create ADLS account you have to enable Hierarchical option, else it is not ADLS. Hence correct ANSWER is "NO" "You'll create a Data Lake Storage Gen2 account the same way you create an Azure Blob store, but with one setting difference. In Advanced, in the Data Lake Storage Gen2 (preview) section, next to Hierarchical namespace, select Enabled."
upvoted 3 times
azurenav
4 years ago
Question has "Enable",please check
upvoted 1 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 ...