nerdexam
Amazon

DVA-C02 · Question #378

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 v

The correct answer is C. Store the video in Amazon S3. Generate a pre-signed URL for the video object and push the URL. Amazon S3 pre-signed URLs provide time-limited, secure access to objects stored durably in S3, satisfying both the persistence requirement and the 3-hour minimum access window.

Submitted by yaw92· Mar 5, 2026Development with AWS Services

Question

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?

Options

  • AStore the video in the /tmp folder within the Lambda execution environment. Push a Lambda
  • BStore the video in an Amazon Elastic File System (Amazon EFS) file system attached to the
  • CStore the video in Amazon S3. Generate a pre-signed URL for the video object and push the URL
  • DStore the video in an Amazon CloudFront distribution. Generate a pre-signed URL for the video

How the community answered

(38 responses)
  • A
    8% (3)
  • B
    16% (6)
  • C
    74% (28)
  • D
    3% (1)

Why each option

Amazon S3 pre-signed URLs provide time-limited, secure access to objects stored durably in S3, satisfying both the persistence requirement and the 3-hour minimum access window.

AStore the video in the /tmp folder within the Lambda execution environment. Push a Lambda

The Lambda /tmp folder is ephemeral and scoped to a single execution environment instance; it is limited to 10 GB, not accessible from a browser URL, and the data is lost when the execution environment is recycled.

BStore the video in an Amazon Elastic File System (Amazon EFS) file system attached to the

Amazon EFS can persist files, but it is a network file system accessible only within a VPC; there is no native mechanism to generate a browser-accessible pre-signed URL for an EFS file.

CStore the video in Amazon S3. Generate a pre-signed URL for the video object and push the URLCorrect

Storing the generated video in Amazon S3 provides durable, persistent object storage that is completely independent of the Lambda execution environment. A pre-signed URL can be generated with an expiration time of 3 hours or more and pushed to the customer's browser, allowing direct and secure download access for the required duration.

DStore the video in an Amazon CloudFront distribution. Generate a pre-signed URL for the video

Amazon CloudFront is a CDN that distributes content from an origin (such as S3); video files are not stored directly in CloudFront, and generating pre-signed URLs requires an S3 origin origin or CloudFront signed URLs with additional key pair configuration, adding unnecessary complexity.

Concept tested: S3 pre-signed URL for time-limited object access

Source: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ShareObjectPreSignedURL.html

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice