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

A developer wrote an application that uses an AWS Lambda function to asynchronously generate short videos based on requests from customers. This video generation can take up to 10 minutes. After the video is generated, a URL to download the video is pushed to the customer's web browser. The customer should be able to access these videos for at least 3 hours after generation.

Which solution will meet these requirements?

Answer options

Correct answer: C

Explanation

Amazon S3 is the ideal service for storing static media assets like videos, and it natively supports generating pre-signed URLs that grant temporary download access for a specified duration (such as 3 hours). Storing the files in the /tmp directory is incorrect because Lambda execution environments are ephemeral and do not guarantee data persistence. Amazon EFS does not natively support pre-signed URLs for direct web access, and Amazon CloudFront is a content delivery network for caching, not a primary storage service.