nerdexam
Microsoft

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.

Submitted by miguelv· Mar 6, 2026Secure compute, storage, and databases

Question

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 access expires after six days. What should you use?

Options

  • Aa shared access signature (SAS)
  • Brole-based access control (RBAC)
  • Ca shared access policy
  • Da managed identity

How the community answered

(47 responses)
  • A
    74% (35)
  • B
    13% (6)
  • C
    4% (2)
  • D
    9% (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.

Aa shared access signature (SAS)Correct

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.

Brole-based access control (RBAC)

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.

Ca shared access policy

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.

Da managed identity

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.

Full AZ-500 Practice