
Ultimate access to all questions.
As a part of their onboarding process, employees at an IT company are required to upload their profile photos to a private S3 bucket. The company aims to develop an internal web application, hosted on an EC2 instance, to securely display these profile photos when employees mark their attendance.
As a Developer Associate, which of the following solutions would you recommend to fulfill this requirement?
A
Keep each user's profile image encoded in base64 format in an RDS table and reference it from the application for display
B
Save the S3 key for each user's profile photo in a DynamoDB table and use a lambda function to dynamically generate a pre-signed URL. Reference this URL for display via the web application
C
Keep each user's profile image encoded in base64 format in a DynamoDB table and reference it from the application for display
D
Make the S3 bucket public so that the application can reference the image URL for display