A Lambda function needs to process messages from an Amazon SQS queue. The architect wants to decrease the number of Lambda invocations to save costs. Which parameter should be adjusted?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: BatchSize and MaximumBatchingWindowInSeconds

Increasing the batch size and the batching window allows Lambda to poll more messages per invocation, reducing total costs....

📋Part of AWS Certified Solutions Architect – Associate (SAA-C03) · AWS Certification Practice
Real Exam ScenarioAWS Lambda

A Lambda function needs to process messages from an Amazon SQS queue. The architect wants to decrease the number of Lambda invocations to save costs. Which parameter should be adjusted?

✓ Correct Answer & ExplanationAWS Lambda

Correct Answer

BatchSize and MaximumBatchingWindowInSeconds

Why This Answer Is Correct

Increasing the batch size and the batching window allows Lambda to poll more messages per invocation, reducing total costs.

📚 What This Question Tests

This question evaluates your knowledge of AWS Lambda — a core concept tested in AWS Certified Solutions Architect – Associate (SAA-C03). Understanding AWS Lambda is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.