AWS Certified Developer Associate DVA-C02 Practice Question
A developer has deployed an AWS Lambda function to process image files uploaded to an S3 bucket. The function is experiencing increased latency as the image file sizes have grown over time, impacting the user experience. Which of the following actions should the developer take to improve the Lambda function's performance?
Raise the concurrency limit for the Lambda function.
Add more Lambda layers for efficient code reuse.
Increase the memory allocated to the Lambda function.
Increasing the memory allocation for the Lambda function can result in improved CPU and network resources, which could decrease latency and improve the handling of larger image files. Smaller memory settings might constrain the CPU and I/O capabilities, causing delays in processing larger files. Changing the timeout setting does not address the root cause of the latency and increasing timeout could lead to more prolonged failure durations. Adding more layers to the function would not inherently improve performance; it could even increase complexity and overhead. Similarly, increasing concurrency controls how many events your Lambda function processes in parallel, not the processing speed or resources available for each event.
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 is an AWS Lambda function and how does it work?
Open an interactive chat with Bash
How does increasing memory allocation impact performance in AWS Lambda?
Open an interactive chat with Bash
What are Lambda layers and how do they affect performance?
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