A developer is changing the configuration for a CPU-intensive AWS Lambda function that runs once an hour. The function usually takes 45 seconds to run, but sometimes the run time is up to 1 minute. The timeout parameter is set to 3 minutes, and all other parameters are set to default.
The developer needs to optimize the run time of this function.
Which solution will meet this requirement?
A. Redeploy the function within the default VPC.
B. Increase the function's memory.
C. Redeploy the function by using Lambda layers.
D. Increase the function's reserved concurrency.
The developer needs to optimize the run time of this function.
Which solution will meet this requirement?
A. Redeploy the function within the default VPC.
B. Increase the function's memory.
C. Redeploy the function by using Lambda layers.
D. Increase the function's reserved concurrency.