Q66 — AWS DVA-C02 Ch.2
Question 66 of 100 | ← Chapter 2
A developer built an application that uses an AWS Lambda function to asynchronously generate short videos based on customer requests. Video generation may take up to 10 minutes. After video generation completes, a URL to download the video is pushed to the customer’s web browser. Customers must be able to access these videos for at least 3 hours after generation. Which solution meets these requirements?
- A. Store the video in the /tmp folder of the Lambda execution environment. Push the Lambda function URL to the customer.
- B. Store the video in an Amazon Elastic File System (Amazon EFS) file system attached to the Lambda function. Generate a presigned URL for the video object and push that URL to the customer.
- C. Store the video in Amazon S3. Generate a presigned URL for the video object and push that URL to the customer. ✓
- D. Store the video in an Amazon CloudFront distribution. Generate a presigned URL for the video object and push that URL to the customer.
Correct Answer: C. Store the video in Amazon S3. Generate a presigned URL for the video object and push that URL to the customer.
Explanation
Option C is correct because storing videos in Amazon S3 and generating presigned URLs is the optimal solution for this scenario. Amazon S3 provides durable, scalable object storage and supports custom-duration presigned URLs, enabling secure, time-limited access for customers. This satisfies the requirement for at least 3 hours of post-generation accessibility without exposing objects publicly or relying on ephemeral Lambda storage or complex CDN configurations.