Security
A custom client receives InvalidSignatureException ('Signature expired') from DynamoDB despite using valid credentials and the correct signing Region. Its system clock is 20 minutes slow; what should the developer do?
Show the answer
Correct answerC. Synchronize the client's system clock.
AWhy not this: Authorization permissions do not correct an expired request timestamp.
BWhy not this: Replacing valid access keys does not correct the timestamp used to sign requests.
CWhy this is right: An accurate clock lets the client generate request timestamps within the accepted time window.
DWhy not this: Credential lifetime and the acceptable timestamp window for individual requests are separate.
AWS rejects signed requests whose timestamp is outside the allowed window (about 15 minutes from the service's time), so a clock 20 minutes off produces a "Signature expired" error. Increasing the role session duration changes credential lifetime, not the acceptable age of a signed request.