Medium1 markMultiple Choice
Domain 2.4: ReliabilityReliabilityServerlessSQSDecoupling

AWS SAP-C02 · Question 70 · Domain 2.4: Reliability

A company is building a highly scalable image processing pipeline. Users upload images to Amazon S3. The upload must trigger an AWS Lambda function to generate thumbnails. To handle massive spikes in traffic, the architecture must ensure that the Lambda function is not overwhelmed and that no image processing tasks are lost. Which THREE architectural choices should be made? (Select THREE)

Answer options:

A.

Configure S3 Event Notifications to trigger the Lambda function directly.

B.

Configure S3 Event Notifications to send events to an Amazon SQS queue.

C.

Configure the AWS Lambda function to consume messages from the SQS queue.

D.

Configure a Dead-Letter Queue (DLQ) on the SQS queue for failed processing attempts.

E.

Use Amazon Kinesis Data Streams instead of SQS.

F.

Enable Auto Scaling on the S3 bucket.

How to approach this question

Identify the pattern for decoupling and buffering (S3 -> SQS -> Lambda) and handling failures (DLQ).

Full Answer

To handle massive spikes without losing data or overwhelming compute resources, use the decoupling pattern. S3 sends event notifications to an SQS queue. SQS buffers the requests. Lambda polls the queue at a manageable concurrency level. A DLQ ensures failed messages are retained for debugging.

Common mistakes

Triggering Lambda directly from S3, which can lead to throttling during massive spikes.

Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 1

75 questions · hints · full answers · grading

More questions from this exam