Multiple Choice
A company is developing a web application that allows its employees to upload a profile picture to a private Amazon S3 bucket. There is no size limit for the profile pictures, which should be displayed every time an employee logs in. For security reasons, the pictures cannot be publicly accessible. What is a viable long-term solution for this scenario?
A) Generate a presigned URL when a picture is uploaded. Save the URL in an Amazon DynamoDB table. Return the URL to the browser when the employee logs in.
B) Save the picture's S3 key in an Amazon DynamoDB table. Create an Amazon S3 VPC endpoint to allow the employees to download pictures once they log in.
C) Encode a picture using base64. Save the base64 string in an Amazon DB table. Allow the browser to retrieve the string and convert it to a picture.
D) Save the picture's S3 key in an Amazon DynamoDB table. Use a function to generate a presigned URL every time an employee logs in. Return the URL to the browser.
Correct Answer:

Verified
Correct Answer:
Verified
Q397: A developer converted an existing program to
Q398: A Developer is storing sensitive data generated
Q399: An application stores payroll information nightly in
Q400: A Developer is writing a Linux-based application
Q401: Amazon S3 has the following structure: S3://BUCKET/FOLDERNAME/FILENAME.zip
Q403: Which statements about DynamoDB are true? (Choose
Q404: A Developer is creating an application that
Q405: A Developer has an Amazon DynamoDB table
Q406: A company is using Amazon API Gateway
Q407: A Developer decides to store highly secure