SAP-C02 · Question #662
SAP-C02 Question #662: Real Exam Question with Answer & Explanation
The correct answer is B: Upload files from the mobile software directly to Amazon S3. Use S3 event notifications to create. The company needs a scalable solution for processing image uploads from mobile devices with peak usage patterns, and users must be notified upon completion.
Question
A company needs to store and process image data that will be uploaded from mobile devices using a custom mobile app. Usage peaks between 8 AM and 5 PM on weekdays, with thousands of uploads per minute. The app is rarely used at any other time. A user is notified when image processing is complete. Which combination of actions should a solutions architect take to ensure image processing can scale to handle the load? (Choose three.)
Options
- AUpload files from the mobile software directly to Amazon S3. Use S3 event notifications to create
- BUpload files from the mobile software directly to Amazon S3. Use S3 event notifications to create
- CInvoke an AWS Lambda function to perform image processing when a message is available in
- DInvoke an S3 Batch Operations job to perform image processing when a message is available in
- ESend a push notification to the mobile app by using Amazon Simple Notification Service (Amazon
- FSend a push notification to the mobile app by using Amazon Simple Email Service (Amazon SES)
Explanation
The company needs a scalable solution for processing image uploads from mobile devices with peak usage patterns, and users must be notified upon completion.
Common mistakes.
- A. Directly invoking an AWS Step Functions state machine for each upload without a queue can be less efficient and potentially lead to throttling or higher costs for simple, high-volume event processing compared to SQS and Lambda.
- D. S3 Batch Operations are designed for performing large-scale operations on existing S3 objects, not for real-time, event-driven processing of newly uploaded individual objects through a queue.
- F. Amazon SES is an email service, not a service for sending push notifications directly to mobile applications; Amazon SNS is the appropriate service for mobile push notifications.
Concept tested. Serverless event-driven image processing with notifications
Reference. https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html
Community Discussion
No community discussion yet for this question.