AWS Certified Developer – Associate — Question 128

A company has copies of customer ID cards in its on-premises system. The company wants the on-premises system to automatically upload the ID card images directly to an Amazon S3 bucket.

What is the MOST secure way to meet this requirement?

Answer options

Correct answer: C

Explanation

Option C is the most secure method as it employs S3 presigned URLs generated through a private REST API, ensuring that the credentials are not exposed. Option A, while functional, involves using an IAM user and static credentials which can be less secure. Option B uses an IAM role, but the AssumeRole functionality adds complexity without enhancing security in this context. Option D, while also using presigned URLs, relies on a public API which can expose the access points more than a private one.