AWS Certified Developer – Associate — Question 42

A developer is adding a feature to a client-side application so that users can upload videos to an Amazon S3 bucket.
What is the MOST secure way to give the application the ability to write files to the S3 bucket?

Answer options

Correct answer: C

Explanation

The correct answer is C because using signed URLs allows for secure uploads without exposing AWS credentials. Option A is insecure as it allows public access, while B and D compromise security by hardcoding IAM keys in the application, which could be exploited if the code is exposed.