exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 450 discussion

A developer has an application that uses AWS Lambda functions and AWS CloudFormation templates. Usage of the application has increased. As a result, the Lambda functions are encountering rate limit errors when they retrieve data.

The Lambda functions retrieve an advanced parameter from AWS Systems Manager Parameter Store on every call. The parameter changes only during new deployments. Because the application’s usage is unpredictable, the developer needs a way to avoid the rate limiting.

Which solution will meet these requirements MOST cost-effectively?

  • A. Configure the Lambda functions to use reserved concurrency that is equal to the last month’s average number of concurrent invocations.
  • B. Add a retry mechanism with exponential backoff to the call to Parameter Store.
  • C. Request a service quota increase for Parameter Store GetParameter API operations to match the expected usage of the Lambda functions.
  • D. Add an SSM dynamic reference as an environment variable to the Lambda functions resource in the CloudFormation templates.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
bp07
3 months, 2 weeks ago
Selected Answer: D
D is answer
upvoted 1 times
...
Saudis
5 months, 3 weeks ago
Selected Answer: D
D is correct The application experiences rate limiting because Lambda calls the Parameter Store every time the function is run. This means that as the number of Lambda calls increases, each call also triggers a request from the Parameter Store, which increases the number of requests and leads to exceeding the limit. Using an SSM dynamic reference as an environmental variable in CloudFormation will allow Lambda to load the value only once on startup, and there will be no need to request the value of the variable from the Parameter Store on each call. This way, the value is obtained directly from the pre-loaded environmental variable instead of sending additional requests.
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago