AWS Certified Developer – Associate (DVA-C02) — Question 495

A developer is writing a web application that must share secure documents with end users. The documents are stored in a private Amazon S3 bucket. The application must allow only authenticated users to download specific documents when requested, and only for a duration of 15 minutes.

How can the developer meet these requirements?

Answer options

Correct answer: B

Explanation

Generating an S3 presigned URL is the standard AWS mechanism for granting temporary, time-limited access to private S3 objects without modifying bucket policies or exposing the files publicly. S3 lifecycle policies (Option A) would delete the actual files, while modifying bucket policies dynamically (Option D) is impractical and does not scale. Server-side encryption (Option C) protects data at rest and in transit but does not address the 15-minute download window requirement.