Microsoft Azure Developer Associate AZ-204 Practice Question
Your e-commerce web app must allow unauthenticated clients to download pictures stored in an Azure Storage blob container during a marketing campaign that lasts two hours. After the campaign, you need a single action that immediately invalidates every URL you issued. Which technique should you implement?
A service-level SAS token created directly on each blob with a two-hour expiry.
A service-level SAS token that is associated with a stored access policy on the container.
An account-level SAS token with read permissions limited to the blob service.
Set the container access level to Blob (anonymous read access) and remove public access after two hours.
A service SAS that references a stored access policy is created on the container. Each URL contains only the signed identifier of the policy, not its own start and expiry times. When the campaign ends, deleting or updating the stored access policy instantly revokes (or changes) the permissions for all SAS URLs that depend on it, so no individual link has to be regenerated. A service SAS created directly on each blob is still valid until its individual expiry time, an account SAS cannot be limited to just the container, and making the container public provides no centrally revocable tokens.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a service-level SAS token?
Open an interactive chat with Bash
What is a stored access policy in Azure?
Open an interactive chat with Bash
How do stored access policies differ from manually setting expiry times on individual SAS tokens?
Open an interactive chat with Bash
Microsoft Azure Developer Associate AZ-204
Implement Azure security
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99 $11.99
$11.99/mo
Billed monthly, Cancel any time.
$19.99 after promotion ends
3 Month Pass
$44.99 $26.99
$8.99/mo
One time purchase of $26.99, Does not auto-renew.
$44.99 after promotion ends
Save $18!
MOST POPULAR
Annual Pass
$119.99 $71.99
$5.99/mo
One time purchase of $71.99, Does not auto-renew.
$119.99 after promotion ends
Save $48!
BEST DEAL
Lifetime Pass
$189.99 $113.99
One time purchase, Good for life.
Save $76!
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .