SAA-C03 Exam QuestionsBrowse all questions from this exam

SAA-C03 Exam - Question 94


A company is designing an application where users upload small files into Amazon S3. After a user uploads a file, the file requires one-time simple processing to transform the data and save the data in JSON format for later analysis.

Each file must be processed as quickly as possible after it is uploaded. Demand will vary. On some days, users will upload a high number of files. On other days, users will upload a few files or no files.

Which solution meets these requirements with the LEAST operational overhead?

Show Answer
Correct Answer: C

The solution should minimize operational overhead and handle variable demand efficiently. Configuring Amazon S3 to send an event notification to an Amazon Simple Queue Service (SQS) queue and using an AWS Lambda function to read from the queue and process the data is the most suitable approach. This setup leverages AWS Lambda's serverless architecture, automatically scaling to handle spikes in uploads without requiring manual intervention or server management. DynamoDB is a fitting choice for storing processed JSON data due to its NoSQL nature and seamless integration with Lambda and SQS. This combination ensures the least operational overhead while efficiently processing and storing uploaded files.

Discussion

17 comments
Sign in to comment
rjam
Oct 30, 2022

Option C Dynamo DB is a NoSQL-JSON supported

rjam
Oct 30, 2022

also Use an AWS Lambda - serverless - less operational overhead

cookieMrOption: C
Jun 22, 2023

A. Configuring EMR and an Aurora DB cluster for this use case would introduce unnecessary complexity and operational overhead. EMR is typically used for processing large datasets and running big data frameworks like Apache Spark or Hadoop. B. While using S3 event notifications and SQS for decoupling is a good approach, using EC2 to process the data would introduce operational overhead in terms of managing and scaling the EC2. D. Using EventBridge and Kinesis Data Streams for this use case would introduce additional complexity and operational overhead compared to the other options. EventBridge and Kinesis are typically used for real-time streaming and processing of large volumes of data. In summary, option C is the recommended solution as it provides a serverless and scalable approach for processing uploaded files using S3 event notifications, SQS, and Lambda. It offers low operational overhead, automatic scaling, and efficient handling of varying demand. Storing the resulting JSON file in DynamoDB aligns with the requirement of saving the data for later analysis.

BuruguduystunstugudunstuyOption: C
Dec 21, 2022

Option C, Configuring Amazon S3 to send an event notification to an Amazon Simple Queue Service (SQS) queue and using an AWS Lambda function to read from the queue and process the data, would likely be the solution with the least operational overhead. AWS Lambda is a serverless computing service that allows you to run code without the need to provision or manage infrastructure. When a new file is uploaded to Amazon S3, it can trigger an event notification which sends a message to an SQS queue. The Lambda function can then be set up to be triggered by messages in the queue, and it can process the data and store the resulting JSON file in Amazon DynamoDB.

Buruguduystunstugudunstuy
Dec 21, 2022

Using a serverless solution like AWS Lambda can help to reduce operational overhead because it automatically scales to meet demand and does not require you to provision and manage infrastructure. Additionally, using an SQS queue as a buffer between the S3 event notification and the Lambda function can help to decouple the processing of the data from the uploading of the data, allowing the processing to happen asynchronously and improving the overall efficiency of the system.

TilTilOption: C
Mar 19, 2024

B where we use EC2 instances for processing would be ideal in situations where runtime is > 15 minutes. However the question mentions 'simple processing', hence we go for Lambda.

gloritownOption: C
Dec 13, 2022

CCCCCCCC

career360guruOption: C
Dec 16, 2022

Option C as JSON is supported by DynamoDB. RDS or AuroraDB are not suitable for JSON data. A - Because this is not a Bigdata analytics usecase.

Zerotn3Option: C
Dec 31, 2022

Dynamo DB is a NoSQL-JSON supported

jy190
Apr 27, 2023

can someone explain why SQS? it's a poll-based messaging, does it guarantee reacting the event asap?

BmarodiOption: C
May 21, 2023

The option C is right answer.

Abrar2022Option: C
May 22, 2023

SQS + LAMDA + JSON >>>>>> Dynamo DB

beginnercloudOption: C
May 22, 2023

Option C is correct - Dynamo DB is a NoSQL-JSON supported

Guru4CloudOption: C
Aug 11, 2023

Option C is the best solution that meets the requirements with the least operational overhead: Configure Amazon S3 to send event notification to SQS queue Use Lambda function triggered by SQS to process each file Store output JSON in DynamoDB This leverages serverless components like S3, SQS, Lambda, and DynamoDB to provide automated file processing without needing to provision and manage servers. SQS queues the notifications and Lambda scales automatically to handle spikes and drops in file uploads. No EMR cluster or EC2 Fleet is needed to manage.

TariqKipkemeiOption: C
Aug 24, 2023

C is best

ModulopiOption: C
Sep 28, 2023

C: Lambdas are made for that

Ruffyit
Oct 29, 2023

Option C is the best solution that meets the requirements with the least operational overhead: Configure Amazon S3 to send event notification to SQS queue Use Lambda function triggered by SQS to process each file Store output JSON in DynamoDB This leverages serverless components like S3, SQS, Lambda, and DynamoDB to provide automated file processing without needing to provision and manage servers. SQS queues the notifications and Lambda scales automatically to handle spikes and drops in file uploads. No EMR cluster or EC2 Fleet is needed to manage.

awsgeek75Option: C
Jan 14, 2024

LEAST operational overhead A: EMR is massive programming effort for this B: EC2 is considerable overhead D: Nice solution but why would you use Kinesis as there is no streaming scenario here C: Simplest and all managed services so least operational overhead compared to other options

jaradat02Option: C
Jul 21, 2024

Option C, fulfills the least operational overhead condition.