AZ-500 · Question #61
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. Option B (No) is correct because creating a lock on Sa1 does not revoke existing SAS tokens or stored access policies - it only prevents the storage account from being deleted or modified at the management plane level, but it has no effect on the data plane access that SAS…
Question
Options
- AYes
- BNo
How the community answered
(28 responses)- A29% (8)
- B71% (20)
Explanation
Option B (No) is correct because creating a lock on Sa1 does not revoke existing SAS tokens or stored access policies - it only prevents the storage account from being deleted or modified at the management plane level, but it has no effect on the data plane access that SAS tokens provide.
Why Option A (Yes) is wrong: A lock (ReadOnly or Delete) controls Azure Resource Manager operations, not data access. Unauthorized users could still use existing valid SAS tokens to access blob and file services even with a lock in place, making it ineffective for revoking active access.
The correct solution to revoke all SAS-based access would be to regenerate the storage account access keys - this immediately invalidates all SAS tokens and stored access policies that were derived from those keys, effectively cutting off all unauthorized access.
Memory Tip: Think of SAS tokens like copies of a key - a lock on the building doesn't change the keys already in circulation. To invalidate all copies at once, you must change the master key (regenerate storage account keys). When you see "revoke all SAS access," always think "regenerate the keys."
Topics
Community Discussion
No community discussion yet for this question.