AWS Certified Developer Associate DVA-C02 Practice Question
A development team is building a serverless application that uses AWS Lambda. To shorten the feedback loop, the team wants to run and debug the Lambda functions on their local machines without deploying the code to AWS after every change. Which AWS tool provides a local environment that emulates the Lambda runtime and lets the team invoke and debug functions locally?
The AWS Serverless Application Model (AWS SAM) CLI can run Lambda functions inside Docker containers that replicate the AWS Lambda execution environment. Developers can use commands such as sam local invoke and sam local start-api to test and debug code locally, saving time and avoiding deployment costs. The other options do not provide local Lambda emulation.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What tools can I use for local testing of serverless applications?
Open an interactive chat with Bash
What are Lambda functions and how do they fit into serverless architecture?
Open an interactive chat with Bash
What are the benefits of local testing versus cloud testing in serverless application development?
Open an interactive chat with Bash
AWS Certified Developer Associate DVA-C02
Development with AWS Services
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access