A company is using an AWS Lambda function to process records from an Amazon Kinesis data stream. The company recently observed slow processing of the records. A developer notices that the iterator age metric for the function is increasing and that the Lambda run duration is constantly above normal.
Which actions should the developer take to increase the processing speed? (Choose two.)
Suggested Answer: A, C
Get Premium DVA-C02 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
16 comments · newest first
LY
Lynda
11 months ago
I think increasing the timeout could actually slow things down.
EM
Emeline
12 months ago
Surprised that increasing memory isn't mentioned more often!
AN
Annice
12 months ago
Decreasing the timeout? That sounds counterproductive.
EV
Eveline
1 year ago
Totally agree, more shards = better parallel processing!
SA
Santos
1 year ago
Increasing the number of shards can help with throughput.
VA
Van
1 year ago
I wonder if decreasing the timeout would actually make things worse; I think we want to give the function enough time to process records.
GL
Glendora
1 year ago
I practiced a similar question, and I feel like increasing the timeout wouldn't really help with processing speed.
RE
Ressie
1 year ago
I'm not entirely sure, but I remember something about increasing memory for Lambda functions can improve performance.
VE
Veda
1 year ago
I think increasing the number of shards could help since it might allow for more parallel processing of records.
JA
Jackie
1 year ago
I wonder if increasing the timeout could be beneficial, but I’m not confident about that. I definitely think we need to look at the shards though.
RO
Ronny
1 year ago
I practiced a similar question, and I think decreasing the timeout isn't the right move here. It seems counterintuitive to limit processing time when it's already slow.
AN
Anastacia
1 year ago
I'm not entirely sure, but I feel like increasing the memory for the Lambda function could also help with performance. Maybe option C?
MO
Mona
1 year ago
I remember reading that increasing the number of shards can help with processing speed, so I think option A might be a good choice.
KA
Kathrine
1 year ago
Okay, I think I've got this. The correct answer is A - customers need to balance all those different areas, not just focus on IT or outsource their marketing. Gotta keep the whole business running smoothly.
CH
Chantay
1 year ago
I'm a little confused by the wording of the question. I'll need to re-read it a few times to make sure I understand what they're asking for.
FE
Fernanda
1 year ago
Wait, I'm a bit confused. Is it Primary Activities and Support Activities? Or is it Operational Activities and Marketing and Sales Activities? I better double-check my understanding before answering.