Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
How can a developer test a specific AWS Lambda function locally in an AWS CDK serverless application setup with AWS SAM and AWS CDK on their workstation?
A
Using sam package and sam deploy, then creating and testing a Lambda test event from the AWS Management Console.
B
Executing cdk synth and cdk deploy, then creating and testing a Lambda test event from the AWS Management Console.
C
By running cdk synth to synthesize the CDK app, and sam local invoke with the function identifier and path to the CloudFormation template.
D
The correct answer is not provided in the question.