Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
AWS Certified Developer - Associate · AWS
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
B) Eliminated - If multiple instances of the Lambda function run concurrently, they could retrieve or modify the same data in ElastiCache, leading to inaccuracies in the rolling average. C) Eliminated - Provisioned concurrency does not prevent concurrency issues D) Eliminated - Lambda layers are used to share common code or dependencies across Lambda functions but are not designed for storing or persisting data.
Reserved concurrency: Setting reserved concurrency to 1 ensures only one instance of the function executes at a time. While this might prevent race conditions, it doesn't address the core issue of calculating the rolling average across multiple Lambda invocations. u
==> Discard B: There are not limit corrency in elastic cache, multiple lambda can access make race condition ==> wrong output