ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 31 - DVA-C02 discussion

Report
Export

A developer has written an AWS Lambda function. The function is CPU-bound. The developer wants to ensure that the function returns responses quickly.

How can the developer improve the function's performance?

A.
Increase the function's CPU core count.
Answers
A.
Increase the function's CPU core count.
B.
Increase the function's memory.
Answers
B.
Increase the function's memory.
C.
Increase the function's reserved concurrency.
Answers
C.
Increase the function's reserved concurrency.
D.
Increase the function's timeout.
Answers
D.
Increase the function's timeout.
Suggested answer: B

Explanation:

The amount of memory you allocate to your Lambda function also determines how much CPU and network bandwidth it gets. Increasing the memory size can improve the performance of CPU-bound functions by giving them more CPU power. The CPU allocation is proportional to the memory allocation, so a function with 1 GB of memory has twice the CPU power of a function with 512 MB of memory. Reference: AWS Lambda execution environment

asked 16/09/2024
Cynthia Gutknecht
46 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first