AWS Certified Solutions Architect – Associate (SAA-C02) — Question 175
A company's packaged application dynamically creates and returns single-use text files in response to user requests. The company is using Amazon CloudFront for distribution, but wants to further reduce data transfer costs. The company cannot modify the application's source code.
What should a solutions architect do to reduce costs?
Answer options
- A. Use Lambda@Edge to compress the files as they are sent to users.
- B. Enable Amazon S3 Transfer Acceleration to reduce the response times.
- C. Enable caching on the CloudFront distribution to store generated files at the edge.
- D. Use Amazon S3 multipart uploads to move the files to Amazon S3 before returning them to users.
Correct answer: A
Explanation
Using Lambda@Edge to compress files as they are sent to users effectively reduces the amount of data transferred, thus lowering costs. Enabling Transfer Acceleration does not directly relate to reducing data transfer costs, and caching files in CloudFront will not help with single-use files that are generated dynamically. Additionally, multipart uploads are not relevant since they pertain to the upload process rather than the reduction of transfer costs for the end user.