Hard1 markMultiple Choice

AWS SAA-C03 · Question 25 · Domain 2.1: Scalable Architectures

A solutions architect is designing a system that processes uploaded images. When an image is uploaded to S3, it needs to be resized, watermarked, and analyzed for inappropriate content. These three tasks can be done in parallel. Which architecture provides the MOST scalable and loosely coupled solution?

Answer options:

A.

Configure S3 to trigger a single Lambda function that performs all three tasks sequentially.

B.

Configure S3 to send an event to an Amazon SQS queue. Have three EC2 instances poll the queue.

C.

Configure S3 to send an event to an Amazon SNS topic. Subscribe three separate Amazon SQS queues to the topic, and have separate Lambda functions process each queue.

D.

Use AWS Step Functions to orchestrate the three tasks sequentially.

How to approach this question

Identify the need for parallel processing of a single event. The SNS to SQS 'fanout' pattern is the standard AWS solution for this.

Full Answer

C.Configure S3 to send an event to an Amazon SNS topic. Subscribe three separate Amazon SQS queues to the topic, and have separate Lambda functions process each queue.✓ Correct
Configure S3 to send an event to an Amazon SNS topic. Subscribe three separate Amazon SQS queues to the topic, and have separate Lambda functions process each queue.
The SNS-to-SQS fanout pattern allows a single event (S3 upload) to be published to an SNS topic, which then pushes the message to multiple SQS queues for parallel processing.

Common mistakes

Thinking multiple consumers on a single SQS queue will all get the same message (they compete for messages, they don't duplicate them).

Practice the full AWS SAA-C03 Practice Exam 7

65 questions · hints · full answers · grading

More questions from this exam