AZ-500 · Question #447
You have an Azure subscription that contains a user named User1 and a storage account that hosts a blob container named blob1. You need to grant User1 access to blob1. The solution must ensure that…
The correct answer is A. a shared access signature (SAS). To grant a user temporary, time-limited access to a blob container, a shared access signature (SAS) is the appropriate mechanism.
Question
Options
- Aa shared access signature (SAS)
- Brole-based access control (RBAC)
- Ca shared access policy
- Da managed identity
How the community answered
(47 responses)- A74% (35)
- B13% (6)
- C4% (2)
- D9% (4)
Why each option
To grant a user temporary, time-limited access to a blob container, a shared access signature (SAS) is the appropriate mechanism.
A shared access signature (SAS) provides delegated access to resources in your storage account with granular control over what resources the client can access, what permissions they have, and for how long the access is valid, including setting an expiration time like six days.
Role-based access control (RBAC) grants persistent access based on roles and does not inherently support time-limited access that automatically expires after a set duration.
A shared access policy defines permissions and an expiration time for a SAS, but it is a container for SAS permissions and not the mechanism for granting access itself; the SAS is what the user directly uses for access.
A managed identity is used for Azure services to authenticate to other Azure services without managing credentials, not for granting direct user access with expiration.
Concept tested: Azure Storage Shared Access Signatures (SAS)
Source: https://learn.microsoft.com/en-us/azure/storage/common/storage-sas-overview
Community Discussion
No community discussion yet for this question.