Question 71 · 496 in bank
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?
Show answer
Answer: A
Explanation
A shared access signature (SAS) is a URI that grants access to Azure Storage resources without requiring a storage account key. SAS tokens can be used to grant access to specific resources, such as a blob container, for a specific period of time. To grant User1 access to blob1 with an expiration of six days, you can create a SAS token with the following parameters: - Permissions: r, w, or d, depending on the level of access that you want to grant. - Start time: The current time. - Expiry time: Six days from now. Once you have created the SAS token, you can provide it to User1. User1 can then use the SAS token to access blob1 until the expiry time.
Source: Adapted from community discussion — OrangeSG





