SAA-C03 · Question #352
A media company hosts a mobile app backend in the AWS Cloud. The company is releasing a new feature to allow users to upload short videos and apply special effects by using the mobile app. The…
The correct answer is C. Use an S3 trigger to invoke an AWS Lambda function to process the videos. Save the processed. The requirement is for immediate processing of uploaded videos and prompt notification to users. According to AWS best practices for event-driven architectures, using S3 event notifications to trigger a Lambda function upon an object creation (upload) is the optimal solution…
Question
A media company hosts a mobile app backend in the AWS Cloud. The company is releasing a new feature to allow users to upload short videos and apply special effects by using the mobile app. The company uses AWS Amplify to store the videos that customers upload in an Amazon S3 bucket. The videos must be processed immediately. Users must receive a notification when processing is finished. Which solution will meet these requirements?
Options
- AUse Amazon EventBridge Scheduler to schedule an AWS Lambda function to process the videos.
- BUse Amazon EventBridge Scheduler to schedule AWS Fargate to process the videos. Save the
- CUse an S3 trigger to invoke an AWS Lambda function to process the videos. Save the processed
- DUse an S3 trigger to invoke an AWS Lambda function to process the videos. Save the processed
How the community answered
(33 responses)- A3% (1)
- C94% (31)
- D3% (1)
Explanation
The requirement is for immediate processing of uploaded videos and prompt notification to users. According to AWS best practices for event-driven architectures, using S3 event notifications to trigger a Lambda function upon an object creation (upload) is the optimal solution for real-time processing. Lambda can process the file as soon as it is uploaded, ensuring low latency. Once processing is complete, Lambda can save the processed file back to S3 and use Amazon SNS to notify the user. This approach uses managed services with minimal operational overhead, is scalable, and ensures event-driven processing with instant user feedback. AWS Amplify primarily facilitates application development and hosting but does not natively provide direct push notification support for this backend workflow; instead, SNS is designed for such notification scenarios.
Community Discussion
No community discussion yet for this question.