Courseiva
Design for New SolutionsmediumMultiple SelectObjective-mapped

SAP-C02 Design for New Solutions Practice Question

A company is building a serverless data processing pipeline using AWS Lambda, Amazon DynamoDB, and Amazon S3. The pipeline processes JSON files uploaded to an S3 bucket, transforms the data, and writes results to DynamoDB. The company wants to ensure the pipeline can handle bursts of traffic without data loss. Which TWO design decisions should the solutions architect make?

⚠ Common exam trap

Candidates often confuse DynamoDB Streams with a buffering mechanism for incoming writes, when in fact streams only capture post-write changes and do not prevent data loss from S3 event delivery failures.

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

Configure DynamoDB with on-demand capacity mode.

DynamoDB on-demand capacity mode (Option A) automatically scales read/write throughput to handle traffic spikes without requiring capacity planning or risking throttling. This is essential for a serverless pipeline that experiences bursts of traffic, as it prevents data loss by ensuring writes always succeed without ProvisionedThroughputExceededException errors.

Answer analysis

Option-by-option breakdown

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

  • Configure DynamoDB with on-demand capacity mode.

    Why this is correct

    On-demand capacity automatically scales to handle bursts without throttling.

  • Use an Amazon SQS queue to buffer events from S3 before processing by Lambda.

    Why this is correct

    SQS decouples and buffers messages, preventing loss during traffic bursts.

  • Increase the Lambda function timeout to 15 minutes.

    Why it's wrong here

    Timeout does not prevent data loss; it only allows longer execution.

  • Use DynamoDB Streams to capture changes and process in batches.

    Why it's wrong here

    Streams are for change data capture, not for handling burst traffic.

  • Enable S3 Transfer Acceleration on the bucket.

    Why it's wrong here

    Transfer Acceleration speeds up uploads, not processing.

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.