AWS Certified Developer – Associate (DVA-C02) — Question 64
A company is building a serverless application that uses AWS Lambda functions. The company needs to create a set of test events to test Lambda functions in a development environment. The test events will be created once and then will be used by all the developers in an IAM developer group. The test events must be editable by any of the IAM users in the IAM developer group.
Which solution will meet these requirements?
Answer options
- A. Create and store the test events in Amazon S3 as JSON objects. Allow S3 bucket access to all IAM users.
- B. Create the test events. Configure the event sharing settings to make the test events shareable.
- C. Create and store the test events in Amazon DynamoDB. Allow access to DynamoDB by using IAM roles.
- D. Create the test events. Configure the event sharing settings to make the test events private.
Correct answer: B
Explanation
The correct answer is B because it allows the test events to be created and shared among the IAM developer group, enabling all users to edit them as needed. Option A does not provide the necessary sharing configuration, C uses DynamoDB which may not align with the requirement for easy editability and sharing, and D restricts access by making the events private, which contradicts the requirement for editability by all developers.