Question 44 — AZ-104 Practice Exam 13
Your mobile clients upload to Blob Storage using SAS. To avoid user disruption if a token is lost or the issuing service briefly goes down, the design must not rely on long-lived SAS, and clients should keep working seamlessly through token rollover. What should you implement? (Select one answer)
Require clients to renew the SAS well before the expiration time, obtaining a fresh token proactively.
Issue SAS with a multi-year expiry so clients don’t need renewal.
Embed the account key in the app and generate SAS locally.
Set each SAS start time to exactly now to ensure immediate validity.
Correct answers
Require clients to renew the SAS well before the expiration time, obtaining a fresh token proactively.
Explanations
Correct:
Require clients to renew the SAS well before the expiration time, obtaining a fresh token proactively. Early renewal provides headroom for retries and avoids outages during short control-plane incidents.
Wrong:
Multi-year expiry. Increases blast radius if leaked; contradicts near-term expiry guidance.
Embed account key. Exposes a high-privilege secret.
Start time = now. Susceptible to clock skew; can cause intermittent failures.