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

A cloud-based video surveillance company is developing an application that analyzes video files. After the application analyzes the files, the company can discard the files.

The company stores the files in an Amazon S3 bucket. The files are 1 GB in size on average. No file is larger than 2 GB. An AWS Lambda function will run one time for each video file that is processed. The processing is very I/O intensive, and the application must read each file multiple times.

Which solution will meet these requirements in the MOST performance-optimized way?

Answer options

Correct answer: C

Explanation

AWS Lambda allows configuring ephemeral storage (/tmp) up to 10 GB, which provides a fast, local workspace for I/O-intensive operations. Since the maximum file size is 2 GB and the processing requires reading the file multiple times, copying the file to /tmp first is the most performance-optimized solution. Attaching EBS volumes directly to Lambda is not supported, and reading directly from S3 multiple times over the network would introduce significant latency and cost.