AZ-500 · Question #12
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might…
The correct answer is B. No. Why B (No) is Correct: Generating new SASs does not revoke existing SASs that unauthorized users already possess - those old tokens remain valid until they expire. Since both SAS tokens and stored access policies are in use, simply creating new ones does nothing to invalidate…
Question
Options
- AYes
- BNo
How the community answered
(27 responses)- A26% (7)
- B74% (20)
Explanation
Why B (No) is Correct: Generating new SASs does not revoke existing SASs that unauthorized users already possess - those old tokens remain valid until they expire. Since both SAS tokens and stored access policies are in use, simply creating new ones does nothing to invalidate the compromised credentials already in circulation.
Why A (Yes) is Wrong: Generating new SASs only creates additional access tokens; it has no effect on revoking or invalidating previously issued SASs. Unauthorized users would still retain access using the original tokens.
The Correct Approach: The proper solution to immediately revoke all access is to regenerate the Storage Account's access keys. Since SASs are derived from these keys, rotating the keys instantly invalidates all existing SASs and stored access policies that were based on the old keys - cutting off all unauthorized access in one action.
Memory Tip: Think of the storage account key as the "master lock." SASs are like copies of keys made from that master - if you make a new copy (new SAS), old copies still work. But if you change the master lock (regenerate the account key), all old copies become useless instantly.
Topics
Community Discussion
No community discussion yet for this question.