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.
When a leaked SAS needs revocation. It might be a service SAS using stored access policy, or an ad hoc user delegation SAS, the action 'Identify SAS type and signing/policy association before choosing a revocation method' can be relevant: changing a stored access policy affects associated service SAS but not every ad hoc or user delegation token. For the different problem of a report-download service needs temporary access without distributing a long-lived account key, 'Identify SAS type and signing/policy association before choosing a revocation method' misses the mechanism that entra-secured delegation limits token permissions and avoids handing out the storage account secret. Choosing 'Identify SAS type and signing/policy association before choosing a revocation method' would address that other need, whereas 'Issue a short-lived, least-privilege user delegation SAS when supported' is intended to solve the stated condition.
The nearby action 'Migrate incompatible clients to supported Entra authorization before enforcing Shared-Key denial' is associated with this separate need: a storage owner disables Shared Key and some legacy clients using account-key signatures fail. That is because key-signed SAS or account-key requests may be affected; check exact service support and access method. Here a report-download service needs temporary access without distributing a long-lived account key, so 'Migrate incompatible clients to supported Entra authorization before enforcing Shared-Key denial' misses the fact that entra-secured delegation limits token permissions and avoids handing out the storage account secret. 'Issue a short-lived, least-privilege user delegation SAS when supported' is the more defensible action; confirm its behavior in the target service before calling the task complete.






Microsoft Azure Administrator (AZ-104) Practice Tests