A company is building serverless apps with Lambda. They need a set of test events to exercise Lambda functions in a development environment. The events are created once and must be used and editable by all developers in an IAM group. Which solution satisfies these needs?
Choose an answer
Tap an option to check your answer.
Correct answer: Create the test events in the Lambda console and configure the event sharing settings so the events are shareable..
Why this is the answer
The correct answer is to create test events in the Lambda console and configure sharing settings. The Lambda console allows you to create, save, and manage test events directly within the function's configuration. The "shareable" setting ensures that other developers in the account can access and use these predefined events, which is crucial for collaborative development and consistent testing across a team. This method is designed specifically for Lambda function testing. Saving JSON objects in an S3 bucket would require developers to manually download and upload events, which is less integrated and efficient than the native Lambda console feature. Storing events in DynamoDB is an overly complex solution for simple test event management and introduces unnecessary overhead. Creating private test events in the Lambda console would prevent other developers from accessing them, directly contradicting the requirement for shared access.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed