Identity and Access Management
An application must let an unauthenticated customer upload one file to a specific S3 object key without receiving AWS credentials. Which mechanism should the application provide?
Show the answer
Correct answerA. A presigned PUT URL for the object
AWhy this is right: A presigned PUT URL delegates an upload to the specified object key without giving the customer AWS credentials.
BWhy not this: A presigned GET URL permits retrieving an object, not uploading it.
CWhy not this: A user pool ID token identifies an authenticated user but does not directly authorize an S3 upload.
DWhy not this: A session token alone cannot authenticate AWS requests and would not provide a credential-free upload mechanism.
A presigned PUT URL authorizes an upload to the specified S3 object key without exposing AWS credentials. A presigned GET URL authorizes downloading rather than uploading.