Q39 — AWS SAA-C03 Ch.2

Question 39 of 65 | ← Chapter 2

Q104. A company runs its infrastructure on AWS and has a registered base of 700000 users for its document management application. The company intends to create a product that converts large .pdf files to .jpg image files. The .pdf files average 5 MB in size. The company needs to store the original files and the converted files. A solutions architect must design a scalable solution to accommodate demand that will grow rapidly over time.Which solution meets these requirements MOST cost-effectively?

Correct Answer: A. Save the .pdf files to Amazon S3. Configure an S3 PUT event to invoke an AWS Lambda function to convert the files to .jpg format and store them back in Amazon S3.

Explanation

Saving the .pdf files to Amazon S3 allows for scalable storage that can accommodate large amounts of data and high levels of traffic. Configuring an S3 PUT event to invoke an AWS Lambda function to convert the files to .jpg format and store them back in S3 leverages the power of serverless computing, eliminating the need to manage or provision additional infrastructure resources. This approach can also help reduce costs by only executing the Lambda function when needed. Option B is not a suitable solution as DynamoDB is not designed for storing large binary objects like PDF or image files. Moreover, DynamoDB charges for read/write operations and storage based on per GB/month usage, which can become expensive at scale. Option C and D involve using Elastic Beanstalk with EC2 instances, which requires managing and provisioning the underlying infrastructure. It can be costly to operate an application at scale and maintain auto-scaling configurations to meet varying demand levels. Additionally, EBS and EFS storage are priced based on the amount of storage used and number of requests made, which can become expensive at scale. Therefore, Option A is the most cost-effective and efficient solution for storing and processing large PDF files while meeting the scalability requirements of the company's document management application.