An administrator needs to configure temporary access to a blob container named invoices within an Azure Storage account named corpfinance2026. The configuration must satisfy the following security requirements:
- Prevent exposure of the storage account's primary and secondary access keys.
- Authenticate the client using a Microsoft Entra ID security principal.
- Limit the validity of the temporary access to exactly two hours.
- Enforce the use of the HTTPS protocol only.
Which two actions should the administrator perform to meet these requirements? (Select two.)
- Assign the Storage Blob Delegator role at the storage account level to the security principal generating the SAS.Answer
- Generate a User Delegation SAS token using the Microsoft Entra ID credentials of the authorized security principal.Answer
- CGenerate an Account SAS signed with the storage account access key and restrict the permissions to the container level.
- DAssign the Reader role at the storage account level to the security principal generating the SAS.
- EConfigure the SAS token with a validity period of 10 days to allow for client retries.
Answer
Assign the Storage Blob Delegator role to the security principal generating the SAS at the storage account level, and generate a User Delegation SAS token using the Microsoft Entra ID credentials of the authorized security principal.
To secure access without exposing account access keys and to authenticate via Microsoft Entra ID, a User Delegation SAS should be generated. To generate a User Delegation SAS, the identity requesting the user delegation key must be assigned the Storage Blob Delegator role at the storage account scope.
Step-by-Step Solution
Key Concept
User Delegation SAS and the required RBAC roles for generation.
Estimated Time:2m 0s