AmazonAmazon
DVA-C02 · Question #370
DVA-C02 Question #370: Real Exam Question with Answer & Explanation
Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #370. The question stem and answer options stay visible for context.
Submitted by kev92· Mar 5, 2026Development with AWS Services
Question
A developer is implementing an AWS Lambda function that will be invoked when an object is uploaded to Amazon S3. The developer wants to test the Lambda function in a local development machine before publishing the function to a production AWS account. Which solution will meet these requirements with the LEAST operational overhead?
Options
- AUpload an object to Amazon S3 by using the aws s3api put-object CLI command. Wait for the
- BCreate a sample JSON text file for a put object S3 event. Invoke the Lambda function locally. Use
- CUse the sam local start-lambda CLI command to start Lambda. Use the sam local generate-event
- DCreate a JSON string for the put object S3 event. In the AWS Management Console, use 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.