DVA-C02 · Question #559
DVA-C02 Question #559: Real Exam Question with Answer & Explanation
Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #559. The question stem and answer options stay visible for context.
Question
A company is using the AWS Serverless Application Model (AWS SAM) to develop a social media application. A developer needs a quick way to test AWS Lambda functions locally by using test event payloads. The developer needs the structure of these test event payloads to match the actual events that AWS services create. Which solution will meet these requirements with the LEAST development effort?
Options
- ACreate shareable test Lambda events. Use these test Lambda events for local testing.
- BStore manually created test event payloads locally. Use the sam local invoke command with the
- CStore manually created test event payloads in an Amazon S3 bucket. Use the sam local invoke
- DUse the sam local generate-event command to create test payloads for local testing.
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.