DVA-C02 Development with AWS Services Practice Question
A developer is using Amazon DynamoDB as the data store for a web application. The application experiences frequent throttling errors. Which action can reduce throttling without changing the application code?
⚠ Common exam trap
Test-takers frequently assume throttling can only be fixed by manually increasing capacity (Option D) or by optimizing queries (Option A), but they overlook the managed scaling solution that requires no code changes.
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
✓
Enable DynamoDB Auto Scaling
DynamoDB Auto Scaling automatically adjusts the provisioned throughput capacity based on actual traffic patterns, using the AWS Application Auto Scaling service. This prevents throttling by increasing capacity during demand spikes and reduces costs by scaling down during low traffic, all without requiring any code changes.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Add a secondary index
Why it's wrong here
Adding a secondary index, whether a Global Secondary Index (GSI) or Local Secondary Index (LSI), does not increase the provisioned throughput capacity of the base table itself. While indexes offer alternative query patterns, they consume their own dedicated read and write capacity units (RCUs/WCUs) and do not directly alleviate throttling issues occurring on the primary table. In fact, writes to the base table are asynchronously replicated to GSIs, consuming additional write capacity on the index, which could potentially exacerbate overall write capacity issues if not properly provisioned.
- ✗
Decrease the provisioned write capacity
Why it's wrong here
Decreasing the provisioned write capacity would directly reduce the number of write capacity units (WCUs) available to the DynamoDB table. If the application is already experiencing throttling, which indicates that the current capacity is insufficient to handle the incoming write requests, further reducing this capacity would only intensify the throttling events and severely degrade application performance. This action would make the existing problem significantly worse, not better.
- ✓
Enable DynamoDB Auto Scaling
Why this is correct
Enabling DynamoDB Auto Scaling, powered by AWS Application Auto Scaling, is the most effective solution for preventing throttling due to fluctuating workloads. Auto Scaling dynamically adjusts the table's provisioned read and write capacity units (RCUs/WCUs) up or down in response to actual traffic patterns and utilization metrics. By automatically increasing capacity during peak demand and decreasing it during lulls, it ensures sufficient throughput to avoid throttling while optimizing costs.
- ✗
Increase the provisioned read capacity only
Why it's wrong here
Increasing only the provisioned read capacity units (RCUs) would not resolve throttling issues if the underlying problem is insufficient write capacity. DynamoDB throttling occurs independently for reads and writes; a `ProvisionedThroughputExceededException` for a write operation indicates a lack of WCUs. Therefore, if the application is experiencing write-related throttling, increasing read capacity would have no impact on alleviating the write-related bottlenecks, leaving the core issue unaddressed.
Go deeper
Related to this question
About these practice questions
This DVA-C02 question is part of Courseiva's 724-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This DVA-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 DVA-C02 exam.