AWS Certified Developer Associate DVA-C02 Practice Question
A developer is optimizing a Lambda function for a memory-intensive operation that processes a large dataset. The operation must complete within 3 minutes and consistency of function performance is a priority for the application's use case. Given this requirement, which configuration change to the Lambda function would most likely yield the BEST results?
Add additional layers to the Lambda function
Set a longer timeout for the Lambda function
Set a concurrency limit on the Lambda function
Increase the memory allocated to the Lambda function
Increasing the memory allocated to a Lambda function proportionally allocates more CPU power and can reduce the execution time for memory or compute-intensive operations. This approach addresses the need for consistent performance and completion of the operation within the specified timeout. Setting a concurrency limit could introduce throttling issues and is not directly related to resource allocation for a single execution. Setting a longer timeout without adjusting resources does not address the need for performance consistency and might not prevent timeouts for memory-intensive tasks. Adding layers does not inherently optimize the function's performance; they are used to manage code dependencies.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What happens when I increase the memory allocated to a Lambda function?
Open an interactive chat with Bash
Why is performance consistency important for AWS Lambda functions?
Open an interactive chat with Bash
What are the implications of setting a concurrency limit on a Lambda function?
Open an interactive chat with Bash
AWS Certified Developer Associate DVA-C02
Development with AWS Services
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access