exam questions

Exam DP-201 All Questions

View all questions & answers for the DP-201 exam

Exam DP-201 topic 3 question 6 discussion

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

You need to recommend a security solution to grant anonymous users permission to access the blobs in a specific container only.
What should you include in the recommendation?

  • A. access keys for the storage account
  • B. shared access signatures (SAS)
  • C. Role assignments
  • D. the public access level for the container
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
You can enable anonymous, public read access to a container and its blobs in Azure Blob storage. By doing so, you can grant read-only access to these resources without sharing your account key, and without requiring a shared access signature (SAS).
Public read access is best for scenarios where you want certain blobs to always be available for anonymous read access.
Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-manage-access-to-resources

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
wyxh
Highly Voted 4 years, 12 months ago
D is right, in the container clic "Change access level" , you can choose between : private, blob , container, select blob to get "anonymous read access for blob only"
upvoted 35 times
cadio30
4 years ago
entirely correct. keyword here is "specific container" and SAS doesn't provide permission to specific container but it allows to access the storage.
upvoted 2 times
...
...
0gorek
Highly Voted 4 years, 6 months ago
D is correct- You have to do 2 steps: 1) Enable "Allow Blob public access" for the Storage Account 2) On the selected container -> Change Access Level -> Public Access Level -must be set on Blobs or Container. Ref: https://docs.microsoft.com/en-us/azure/storage/blobs/anonymous-read-access-configure?tabs=portal
upvoted 8 times
...
davita8
Most Recent 4 years, 1 month ago
B. shared access signatures (SAS)
upvoted 1 times
davita8
4 years, 1 month ago
Explanation The most secure way is to use a shared access signature A shared access signature (SAS) provides secure delegated access to resources in your storage account. With a SAS, you have granular control over how a client can access your data. For example: What resources the client may access. What permissions they have to those resources. How long the SAS is valid. Blob level access can be provided via Azure portal and folder level access can be provided via Storage Explorer https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview Incorrect answers: Access keys for the storage account - This would give access to the entire storage account Role based access control - This is used to control permissions to the entire storage account Public access level for the blob service - This would give access to the entire blob service and to anyone who has the storage link
upvoted 2 times
...
...
LG5
4 years, 1 month ago
correct answer is B.
upvoted 2 times
...
dpp2020
4 years, 4 months ago
https://docs.microsoft.com/en-us/azure/storage/blobs/anonymous-read-access-configure?tabs=portal
upvoted 2 times
...
avix
4 years, 9 months ago
I agree with D however as now Storage explorer been integrated with r Storage account, so if you open a container via storage explorer and then right click , you'll get SAS oprion too
upvoted 3 times
...
passnow
4 years, 10 months ago
I bring my knowledge of similar scenario from GCP. D is the way to do it
upvoted 3 times
...
SebK
4 years, 11 months ago
D is correct.
upvoted 2 times
...
Abhilvs
4 years, 11 months ago
using SAS, if given at container level, one can access all the containers in a service account, the permission is not specific to a particular container. However, this is possible with by creating a container with public access level set to 'Public access to Anonymous users'
upvoted 4 times
...
Divs123
5 years ago
No, The correct Answer is B
upvoted 2 times
Certnovice
4 years, 7 months ago
Verified in SKillCertPro, B is correct
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 ...