AWS Certified Developer Associate DVA-C02 Practice Question
A developer is working on an AWS Lambda function that integrates with Amazon S3 and needs to test the function without incurring costs or affecting production data. What AWS service or feature should they use to create a mock endpoint that simulates interactions with Amazon S3 during integration testing?
Amazon API Gateway with a mock integration
Use Amazon DynamoDB to simulate the S3 interaction
Perform the test directly in the Amazon S3 console with test files
Invoke the Lambda function with an event that has a fake S3 trigger