A developer is creating an application that is based on an AWS Lambda function. The function uses the AWS SDK to read product price data from an Amazon S3 bucket and to write user information to an Amazon Aurora DB instance. The Lambda function runs often, up to a few times each minute. To meet erformance requirements, the developer must minimize the run duration of the Lambda function.
Which actions can help the developer increase the performance? (Choose two.)
A. Initialize SDK clients and database connections outside of the function handler
B. Read the S3 product price data initially, and cache it locally in the /tmp directory
C. Use environment variables to pass operational parameters to the function
D. Use most-restrictive permissions when setting the IAM policies for the Lambda IAM role
E. Split the code into different Lambda functions to keep the functions smaller
Which actions can help the developer increase the performance? (Choose two.)
A. Initialize SDK clients and database connections outside of the function handler
B. Read the S3 product price data initially, and cache it locally in the /tmp directory
C. Use environment variables to pass operational parameters to the function
D. Use most-restrictive permissions when setting the IAM policies for the Lambda IAM role
E. Split the code into different Lambda functions to keep the functions smaller