- A
Increase the batch size to 100.
Increasing the batch size allows each invocation to process more messages, reducing the number of invocations and the likelihood of throttling without increasing reserved concurrency.
- B
Increase the reserved concurrency to 10.
Why wrong: The requirement is to NOT increase reserved concurrency. Increasing reserved concurrency would allow more concurrent executions but violates the constraint.
- C
Reduce the batch size to 1.
Why wrong: Reducing the batch size would increase the number of invocations, leading to more throttling and lower throughput.
- D
Enable the SQS queue to use long polling.
Why wrong: Long polling helps reduce empty responses and cost, but it does not directly increase throughput or reduce throttling. The issue is throttling due to insufficient capacity per invocation.
DVA-C02 Development with AWS Services Practice Question
This DVA-C02 practice question tests your understanding of development with aws services. Examine the command output carefully: the correct answer depends on what the output actually shows, not on general recall alone. A key principle to apply: lambda batch size defines the maximum number of records sent to a function in a single invocation.. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A developer has an AWS Lambda function that processes messages from an Amazon SQS queue. The function is configured with a batch size of 10, reserved concurrency of 5, and a timeout of 5 minutes. The SQS queue has a large backlog, and CloudWatch metrics show high throttling (Throttles) for the Lambda function. The function is idempotent and can process up to 100 messages in a single invocation. What is the MOST effective way to increase throughput without increasing the reserved concurrency?
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
Increase the batch size to 100.
Increasing the batch size to 100 allows each Lambda invocation to process up to 100 messages from the SQS queue instead of the current 10. Since the function is idempotent and can handle 100 messages per invocation, this change maximizes the number of messages processed per invocation without altering the reserved concurrency of 5. With a batch size of 100, each of the 5 concurrent invocations can process up to 100 messages, yielding a potential throughput of 500 messages per invocation cycle, which directly reduces the backlog and throttling by consuming messages faster.
Key principle: Lambda batch size defines the maximum number of records sent to a function in a single invocation.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Increase the batch size to 100.
Why this is correct
Increasing the batch size allows each invocation to process more messages, reducing the number of invocations and the likelihood of throttling without increasing reserved concurrency.
Related concept
Lambda batch size defines the maximum number of records sent to a function in a single invocation.
- ✗
Increase the reserved concurrency to 10.
Why it's wrong here
The requirement is to NOT increase reserved concurrency. Increasing reserved concurrency would allow more concurrent executions but violates the constraint.
- ✗
Reduce the batch size to 1.
Why it's wrong here
Reducing the batch size would increase the number of invocations, leading to more throttling and lower throughput.
- ✗
Enable the SQS queue to use long polling.
Why it's wrong here
Long polling helps reduce empty responses and cost, but it does not directly increase throughput or reduce throttling. The issue is throttling due to insufficient capacity per invocation.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates may think increasing reserved concurrency is the only way to improve throughput, but the question explicitly forbids that, and they overlook that increasing the batch size can achieve the same goal by processing more messages per invocation without adding more concurrent executions.
Detailed technical explanation
How to think about this question
Under the hood, Lambda integrates with SQS via event source mappings that poll the queue using the ReceiveMessage API. With a batch size of 100, each invocation receives up to 100 messages in a single event payload, reducing the number of invocations needed to drain the queue. This is particularly effective when the function is idempotent, as it can safely process multiple messages in parallel within a single invocation, and the 5-minute timeout provides ample time to handle 100 messages even if each takes a few seconds. In real-world scenarios, this approach is often used in high-throughput data pipelines where the processing logic is lightweight and can be batched efficiently.
KKey Concepts to Remember
- Lambda batch size defines the maximum number of records sent to a function in a single invocation.
- Increasing batch size can reduce the number of Lambda invocations for a given workload.
- Fewer invocations can help avoid throttling when concurrency is limited.
- Reserved concurrency sets the maximum concurrent executions for a Lambda function.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Lambda batch size defines the maximum number of records sent to a function in a single invocation.
Real-world example
How this comes up in practice
A startup's cloud architect reviews their monthly bill and notices costs are higher than expected for a long-running batch job. Switching from on-demand instances to Reserved Instances — or using Spot/Preemptible VMs — can reduce compute costs by up to 72 %. Questions like this test whether you understand the tradeoffs between commitment, flexibility, and cost across cloud pricing models.
What to study next
Got this wrong? Here's your next step.
Review lambda batch size defines the maximum number of records sent to a function in a single invocation., then practise related DVA-C02 questions on the same topic to reinforce the concept.
- →
Development with AWS Services — study guide chapter
Learn the concepts, then practise the questions
- →
Development with AWS Services practice questions
Targeted practice on this topic area only
- →
All DVA-C02 questions
1,616 questions across all exam domains
- →
AWS Certified Developer Associate DVA-C02 study guide
Full concept coverage aligned to exam objectives
- →
DVA-C02 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related DVA-C02 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Development with AWS Services practice questions
Practise DVA-C02 questions linked to Development with AWS Services.
Security practice questions
Practise DVA-C02 questions linked to Security.
Deployment practice questions
Practise DVA-C02 questions linked to Deployment.
Troubleshooting and Optimization practice questions
Practise DVA-C02 questions linked to Troubleshooting and Optimization.
DVA-C02 fundamentals practice questions
Practise DVA-C02 questions linked to DVA-C02 fundamentals.
DVA-C02 scenario practice questions
Practise DVA-C02 questions linked to DVA-C02 scenario.
DVA-C02 troubleshooting practice questions
Practise DVA-C02 questions linked to DVA-C02 troubleshooting.
Practice this exam
Start a free DVA-C02 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this DVA-C02 question test?
Development with AWS Services — This question tests Development with AWS Services — Lambda batch size defines the maximum number of records sent to a function in a single invocation..
What is the correct answer to this question?
The correct answer is: Increase the batch size to 100. — Increasing the batch size to 100 allows each Lambda invocation to process up to 100 messages from the SQS queue instead of the current 10. Since the function is idempotent and can handle 100 messages per invocation, this change maximizes the number of messages processed per invocation without altering the reserved concurrency of 5. With a batch size of 100, each of the 5 concurrent invocations can process up to 100 messages, yielding a potential throughput of 500 messages per invocation cycle, which directly reduces the backlog and throttling by consuming messages faster.
What should I do if I get this DVA-C02 question wrong?
Review lambda batch size defines the maximum number of records sent to a function in a single invocation., then practise related DVA-C02 questions on the same topic to reinforce the concept.
What is the key concept behind this question?
Lambda batch size defines the maximum number of records sent to a function in a single invocation.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 11, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.