You manage an Azure Storage account named datashareprod that contains a blob container named exports. A partner company requires access to download files from the container. You must grant access that meets the following security requirements:
- The partner must only be allowed to read blobs.
- Access must be restricted to the public IP address .
- You must be able to revoke the access immediately if needed, without rotating the storage account access keys and without affecting other applications that access the storage account.
Which configuration should you use to generate the shared access signature (SAS)?
- A service SAS associated with a stored access policy defined on the containerCevap
- BAn account SAS with the permissions and IP address restriction defined directly in the SAS token
- CA user delegation SAS signed using an Entra ID user account assigned the Storage Blob Data Reader role
- DA service SAS that relies on the 'Allow trusted Microsoft services to access this storage account' firewall bypass setting
Cevap
A service SAS associated with a stored access policy defined on the container
A service SAS associated with a stored access policy is the correct choice because stored access policies allow you to manage the lifetime and permissions of the SAS. If the SAS needs to be revoked immediately, the administrator can simply delete or modify the stored access policy on the container. This invalidates the SAS without requiring a rotation of the storage account keys, thereby leaving other applications unaffected.
Adım Adım Çözüm
Anahtar Kavram
Stored access policies provide a way to group shared access signatures and provide additional lifecycle management, including immediate revocation, for service SAS tokens.
Tahmini Süre:1m 30s