AWS Certified Developer – Associate (DVA-C02) — Question 443
A company is creating a new application that gives users the ability to upload and share short video files. The average size of the video files is 10 MB. After a user uploads a file, a message needs to be placed into an Amazon Simple Queue Service (Amazon SQS) queue so the file can be processed. The files need to be accessible for processing within 5 minutes.
Which solution will meet these requirements MOST cost-effectively?
Answer options
- A. Write the files to Amazon S3 Glacier Deep Archive. Add the S3 location of the files to the SQS queue.
- B. Write the files to Amazon S3 Standard. Add the S3 location of the files to the SQS queue.
- C. Write the files to an Amazon Elastic Block Store (Amazon EBS) General Purpose SSD volume. Add the EBS location of the files to the SQS queue.
- D. Write messages that contain the contents of the uploaded files to the SQS queue.
Correct answer: B
Explanation
Amazon S3 Standard is the most cost-effective and scalable storage for 10 MB video files that require immediate access within 5 minutes. Amazon SQS has a strict message size limit of 256 KB, making it impossible to store 10 MB files directly in the queue (ruling out D). Amazon S3 Glacier Deep Archive has retrieval times of up to 12 hours (ruling out A), and Amazon EBS volumes cannot be easily shared or accessed in a decoupled architecture (ruling out C).