Question 130
A container issues multiple service SAS links needing coordinated expiration changes. What configuration can centralize control?
Explanation
Correct Answer
A stored access policy is maintained on the blob container and can define the start time, expiration and permissions inherited by service SAS tokens that reference its identifier. The administrator can update or revoke that policy to affect all associated links without rotating the account keys. It cannot centrally modify ad hoc account SAS or user delegation SAS tokens, so confirm the links are compatible and associated correctly. Azure Storage allows at most five stored policies per container, and a policy update can take time to propagate; test the intended permission and expiry behavior before declaring the rollout successful.
Incorrect Answers
Identifying each token's SAS type and whether it uses a stored-policy identifier is essential before changing it, because a container policy can govern only qualifying service SAS tokens. But this inspection is not the configuration that centralizes expiration for the several links in the scenario. If the links are already ad hoc, merely classifying them leaves their independent expirations unchanged. Create a supported stored access policy on the relevant blob container, issue or replace the service SAS links with the policy identifier, and then verify that the intended constraints apply to those links.
A narrowly timed, read-only SAS for one blob limits that one recipient's access, which is good practice when the use case is a single short download. The question instead concerns coordinating expiration changes across several service SAS links issued for the same container. Independent ad hoc SAS links carry their own signed constraints; editing one link does not centrally alter its siblings. A stored access policy supplies a common server-side source for appropriate service SAS constraints. A read-only grant could still be part of that policy where justified, but it is not the central-management feature being requested.
An account SAS can authorize service-level operations and more than one Azure Storage service, which is broader than this container's delegated blob access requires. More importantly, Microsoft documents that account SAS tokens do not support association with stored access policies. Switching to an account SAS would therefore remove, rather than create, the specific coordinated expiry control needed here. Use a service SAS bound to the container's stored access policy. Account SAS is appropriate only when account-wide operation capabilities are actually required and broader delegated permissions are acceptable.
A valid SAS functions as a bearer authorization: its holder may perform the operations allowed by the signed token without holding a separate Azure data-role assignment on the destination account. That explains why a recipient can use a link, but it does not explain how an operator can change the expiration of several already issued links together. The revocation and expiry mechanism depends on SAS type and policy association. For this use case, eligible service SAS links should refer to the container's stored access policy, rather than relying on general bearer-token behavior.






Microsoft Azure Administrator (AZ-104) Practice Tests