Question 140
A report-download service needs temporary access without distributing a long-lived account key. Which mechanism is preferable?
Explanation
Correct Answer
User delegation shared access signatures are signed using a user delegation key obtained with Microsoft Entra authorization rather than distributing a long-lived storage account key. A reporting service can issue a short-lived, blob-specific URL with read permission and a defined expiry when the account, caller and supported scope meet the feature requirements. That mechanism fits an external report-download request where recipients should not receive broad continuous access. It is not equivalent to granting every recipient a permanent Blob Data Reader role on the whole account: that approach presumes appropriate identities and exposes unrelated objects. Validate the URL's target, signature, expiry and download behavior without reintroducing Shared Key distribution.
Incorrect Answers
A permanent account-wide Blob Data Reader assignment both overgrants other report data and presupposes that every recipient can authenticate as a suitable Microsoft Entra principal. The request is for temporary download access without handing out a persistent account key. Where supported, a short-lived user delegation SAS can expose only the intended blob and read permission, with an explicit expiry and a trusted issuer. A broad ongoing RBAC grant does not meet the intended temporary sharing or least-privilege boundary, even though narrowly scoped OAuth access may suit other integration designs.
Changing a stored access policy affects associated service SAS but not every ad hoc or user delegation token. The stated constraint is different: entra-secured delegation limits token permissions and avoids handing out the storage account secret.
Key-signed SAS or account-key requests may be affected; check exact service support and access method. The stated constraint is different: entra-secured delegation limits token permissions and avoids handing out the storage account secret.






Microsoft Azure Administrator (AZ-104) Practice Tests