Question 44 — AZ-104 Practice Exam 7
You’re releasing a mobile app that uploads users’ files to your storage account. Requirements: do not expose account keys, use time-limited access, and let users keep working if a token is lost by renewing it before it expires. You also need to reduce failures from client/server clock differences. (Select three answers)
Issue a service-level SAS to the app rather than exposing the account key.
Distribute SAS only over HTTPS.
Require the client to renew the SAS early
Set the SAS start time to exactly now to prevent early use.
Set the SAS start time ~15 minutes in the past or omit it to avoid clock-skew failures.
Correct answers
Issue a service-level SAS to the app rather than exposing the account key.
Distribute SAS only over HTTPS.
Set the SAS start time ~15 minutes in the past or omit it to avoid clock-skew failures.
Explanations
Correct:
Issue a service-level SAS… Delegates limited, time-bound permissions without sharing the account key.
Distribute SAS only over HTTPS. Prevents interception of the URI token in transit.
Set the SAS start time ~15 minutes in the past or omit it… Mitigates clock skew so tokens work immediately across clients.
Wrong:
Require the client to renew the SAS early… (Good practice, but this duplicates the renewal requirement already captured elsewhere in this scenario—treat as out-of-scope for selection here.)
Set the SAS start time exactly now… Increases risk of intermittent failures due to skew.