ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 476 - DVA-C01 discussion

Report
Export

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 performance requirements, the developer must minimize the run duration of the Lambda function Which actions can help the developer increase the performance? (Select TWO)

A.
Initialize SDK clients and database connections outside of the function handler
Answers
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 /imp directory
Answers
B.
Read the S3 product price data initially and cache it locally in the /imp directory
C.
Use environment variables to pass operational parameters to the function.
Answers
C.
Use environment variables to pass operational parameters to the function.
D.
Use most-restrictive permissions when setting the 1AM policies for the Lambda 1AM role
Answers
D.
Use most-restrictive permissions when setting the 1AM policies for the Lambda 1AM role
E.
Split the code into different Lambda functions to keep the functions smaller
Answers
E.
Split the code into different Lambda functions to keep the functions smaller
Suggested answer: A, C
asked 16/09/2024
Carola Lotito
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first