DVA-C02 · Question #101
DVA-C02 Question #101: Real Exam Question with Answer & Explanation
Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #101. The question stem and answer options stay visible for context.
Question
A developer is implementing an AWS Cloud Development Kit (AWS CDK) serverless application. The developer will provision several AWS Lambda functions and Amazon API Gateway APIs during AWS CloudFormation stack creation. The developer's workstation has the AWS Serverless Application Model (AWS SAM) and the AWS CDK installed locally. How can the developer test a specific Lambda function locally?
Options
- ARun the sam package and sam deploy commands. Create a Lambda test event from the AWS
- BRun the cdk synth and cdk deploy commands. Create a Lambda test event from the AWS
- CRun the cdk synth and sam local invoke commands with the function construct identifier and the
- DRun the cdk synth and sam local start-lambda commands with the function construct identifier
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.