Courseiva
Design for New SolutionsmediumMultiple ChoiceObjective-mapped

SAP-C02 Design for New Solutions Practice Question

A company is designing a new serverless application using AWS Lambda. The function must process a file uploaded to S3 and then send a notification to an external API. The external API has a rate limit of 10 requests per second. Which approach should they use to handle throttling?

⚠ Common exam trap

Test-takers frequently choose SNS fan-out (Option D) thinking it improves throughput, but they fail to recognize that it amplifies concurrency and worsens throttling, whereas SQS with reserved concurrency provides controlled, decoupled processing.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Use Amazon SQS to buffer the requests and set a Lambda reserved concurrency to limit the processing rate

Amazon SQS acts as a durable buffer that decouples the S3 event from the Lambda invocation, allowing the function to poll messages at a controlled rate. By setting a Lambda reserved concurrency, you limit the number of concurrent executions, which directly caps the processing rate to stay within the external API's 10 requests per second limit. This combination ensures that the Lambda function does not exceed the API's throttling threshold while still processing all events reliably.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Use Amazon SQS to buffer the requests and set a Lambda reserved concurrency to limit the processing rate

    Why this is correct

    SQS can buffer requests and Lambda reserved concurrency can limit concurrency, effectively throttling the rate.

  • Increase the Lambda function timeout and retry on failure

    Why it's wrong here

    Increasing timeout does not control the rate of API calls.

  • Configure a Lambda function destination on failure to reprocess

    Why it's wrong here

    This only handles failures, not rate control.

  • Use Amazon SNS to fan out the notification to multiple Lambda functions

    Why it's wrong here

    SNS does not provide rate limiting.

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

About these practice questions

Courseiva writes every SAP-C02 question from scratch — 1,660 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This SAP-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SAP-C02 exam.