AWS Certified Developer – Associate (DVA-C02) — Question 498

A developer is building an application that includes an AWS Lambda function that is written in .NET Core. The Lambda function’s code needs to interact with Amazon DynamoDB tables and Amazon S3 buckets. The developer must minimize the Lambda function’s deployment time and invocation duration.

Which solution will meet these requirements?

Answer options

Correct answer: C

Explanation

By bundling only the specific AWS SDK for .NET modules required for DynamoDB and Amazon S3, the developer minimizes the deployment package size, which directly decreases both deployment time and cold-start invocation duration. Including the entire SDK or downloading it at runtime would increase package size or introduce significant network latency during execution. Increasing memory can improve speed but does not address the deployment package optimization requirement.