Azure Administrator AZ-104 · Implement and Manage Storage · medium

An auditor discovers that an external contractor was issued an adhoc Service SAS (Shared Access Signature) URL with read/write permissions to a Blob container valid for 90 days. Because the SAS was generated without a Stored Access Policy, what is the only way to immediately revoke that specific contractor's SAS token without deleting the blob container?

Published · Last updated · checked before publication — how we verify questions

Options

  • AModify the expiry timestamp parameter inside the contractor's URL string
  • BSwitch the storage account replication mode from LRS to RA-GRS
  • CRegenerate the storage account access key used to sign the SAS tokenCorrect answer
  • DMove the blobs from the Hot access tier to the Cool access tier

Answer: C. Regenerate the storage account access key used to sign the SAS token

An adhoc Service or Account SAS token that is not associated with a Stored Access Policy embeds its validity period directly in the signed URL. The only way to revoke an adhoc SAS compiled from a storage account key is to rotate (regenerate) the underlying storage account access key (key1 or key2) used to sign it — which also invalidates any other workloads using that same key.

Why the other options are wrong

  • A. Modify the expiry timestamp parameter inside the contractor's URL string — Changing any query parameter in the signed SAS URL invalidates the HMAC signature on the client side, and you cannot remotely edit a URL string held by the contractor.
  • B. Switch the storage account replication mode from LRS to RA-GRS — Changing storage redundancy does not rotate account keys or invalidate SAS tokens.
  • D. Move the blobs from the Hot access tier to the Cool access tier — Changing blob access tiers does not revoke SAS authentication signatures.

All Implement and Manage Storage questions and the topic overview →

Microsoft and Azure are trademarks of Microsoft Corporation. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Microsoft Corporation.