Q53 — AWS DVA-C02 Ch.3

Question 53 of 100 | ← Chapter 3

A company is building a serverless application using AWS Lambda functions. The company wants to create a test event to test Lambda functions in the development environment. The test event will be shared among developers in an IAM group named 'Developers'. The test event must be accessible by any IAM user in the 'Developers' IAM group. Which solution meets these requirements?

Correct Answer: A. Create the test event in Amazon S3 and store it as a JSON object. Allow all IAM users in the Developers group access to the S3 bucket.

Explanation

Storing the test event as a JSON object in Amazon S3 is a common and effective practice because S3 provides high availability, durability, and supports concurrent access. Granting permissions via bucket policy or IAM policy to the Developers IAM group ensures secure, scalable, and manageable access for all developers. S3 versioning further enables tracking of test event revisions. Option B is invalid because Lambda test events do not support cross-account or inter-service event sharing configurations. Option C is suboptimal: DynamoDB is over-engineered for static test data and lacks native integration for Lambda test event management. Option D contradicts the requirement for group-wide accessibility. Thus, Option A is the most appropriate solution.