DVA-C02 · Question #649
DVA-C02 Question #649: Real Exam Question with Answer & Explanation
Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #649. The question stem and answer options stay visible for context.
Question
A company is developing an application that uses an AWS Lambda function that runs every time a file is uploaded to an Amazon S3 bucket. The Lambda function needs to access third-party libraries that are stored in an Amazon S3 bucket to run successfully. The developer wants to deploy the Lambda function to multiple environments, including development, testing, and production environments. Based on the deployment stage, the application sends custom messages to the application log. The developer needs to optimize the deployment for Lambda function runtime performance. Which solution will meet these requirements?
Options
- AConfigure the Lambda function to read the third-party libraries from Amazon S3 when the function
- BConfigure the Lambda function to read the third-party libraries from Amazon S3 when the function
- CCreate a Lambda layer that contains the third-party libraries. Add the Lambda layer to the
- DCreate a Lambda layer that contains the third-party libraries. Add the Lambda layer to the
Unlock DVA-C02 to see the answer
You've previewed enough free DVA-C02 questions. Unlock DVA-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.