DVA-C02 · Question #177
DVA-C02 Question #177: Real Exam Question with Answer & Explanation
Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #177. The question stem and answer options stay visible for context.
Question
A developer has observed an increase in bugs in the AWS Lambda functions that a development team has deployed in its Node.js application. To minimize these bugs, the developer wants to implement automated testing of Lambda functions in an environment that closely simulates the Lambda environment. The developer needs to give other developers the ability to run the tests locally. The developer also needs to integrate the tests into the team's continuous integration and continuous delivery (CI/CD) pipeline before the AWS Cloud Development Kit (AWS CDK) deployment. Which solution will meet these requirements?
Options
- ACreate sample events based on the Lambda documentation. Create automated test scripts that
- BInstall a unit testing framework that reproduces the Lambda execution environment. Create
- CInstall the AWS Serverless Application Model (AWS SAM) CLI tool. Use the sam local generate-
- DCreate sample events based on the Lambda documentation. Create a Docker container from 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.