exam questions

Exam AWS Certified Developer Associate All Questions

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

Exam AWS Certified Developer Associate topic 1 question 251 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 251
Topic #: 1
[All AWS Certified Developer Associate Questions]

A software engineer developed an AWS Lambda function in Node.js to do some CPU-intensive data processing. With the default settings, the Lambda function takes about 5 minutes to complete.

Which approach should a developer take to increase the speed of completion?

  • A. Instead of using Node.js. rewrite the Lambda function using Python.
  • B. Instead of packaging the libraries in the ZIP file with the function, move them to a Lambda layer and use the layer with the function.
  • C. Allocate the maximum available CPU units to the function.
  • D. Increase the available memory to the function.
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
rcaliandro
1 year, 11 months ago
Selected Answer: D
D, by increasing the memory to a lambda function, also the CPU will be increased. Memory + CPU = improvement of the performances
upvoted 2 times
...
DrCloud
2 years, 6 months ago
Selected Answer: D
Memory and computing power: Memory is the principal lever available to Lambda developers for controlling the performance of a function. The amount of memory also determines the amount of virtual CPU available to a function. Adding more memory proportionally increases the amount of CPU, increasing the overall computational power available. If a function is CPU-, network- or memory-bound, then changing the memory setting can dramatically improve its performance. https://docs.aws.amazon.com/lambda/latest/operatorguide/computing-power.html
upvoted 2 times
...
michaldavid
2 years, 6 months ago
Selected Answer: D
More CPU comes with increasing memory within Lambda function so D
upvoted 2 times
...
k1kavi1
2 years, 6 months ago
Selected Answer: D
D. Increase the available memory to the function.
upvoted 2 times
...
kapil206001
2 years, 6 months ago
D https://www.examtopics.com/discussions/amazon/view/28322-exam-aws-certified-developer-associate-topic-1-question-231/
upvoted 1 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 ...