Exam DVA-C02 All QuestionsBrowse all questions from this exam
Question 68

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?

    Correct Answer: B

    To meet the requirements of creating and sharing test events across developers in an IAM developer group, configuring the test events with sharing settings to make them shareable is the optimal solution. This ensures that all members have the appropriate permissions to access and edit these events directly within the AWS Lambda environment. This approach aligns with the native AWS Lambda functionalities designed to handle such use cases efficiently.

Discussion
renektonOption: B

Under the "Test" tab there's an option. (Shareable) This event is available to IAM users within the same account who have permissions to access and use shareable events. You can check this by yourself on the Lambda Also, here's a documentation https://docs.aws.amazon.com/lambda/latest/dg/testing-functions.html#creating-shareable-events

delakOption: B

Since March of this year, this is now possible to share test events within the same account with different users.

MrTeeOption: A

I meant to select A

FyssyOption: A

To create test events that can be edited by any IAM user in a developer group, the company can create an Amazon S3 bucket and store the test event data as JSON files in the bucket.

Naj_64

A is wrong. To edit a test you only need IAM permissions. "To see, share, and edit shareable test events, you must have permissions for all of the following..." https://docs.aws.amazon.com/lambda/latest/dg/testing-functions.html#creating-shareable-events I'll go with B.

AnandeshOption: B

https://docs.aws.amazon.com/lambda/latest/dg/testing-functions.html

65703c1Option: B

B is the correct answer.

SerialiDrOption: A

This option is the most straightforward and aligns with AWS practices for managing shared resources like test events. IAM policies can be configured to grant the necessary permissions to the developer group, ensuring that all members can access and edit the test events stored in S3. This method leverages the scalability and security features of S3, along with the granular permission control provided by IAM, to meet the requirements.

manngupta007

Answer: B https://aws.amazon.com/about-aws/whats-new/2022/03/aws-lambda-console-test-events/

SerialiDrOption: A

This option is viable. Amazon S3 can store JSON objects (test events), and access to these objects can be controlled through S3 bucket policies or IAM policies. By setting the correct permissions, all IAM users in the developer group can read and write to the S3 bucket, enabling them to edit and use the test events.

ez_24

Selected Answer: A The key Concept here is Sharing - test events in the Lambda console are for individual account can't be used by other developers

a_winOption: A

This approach ensures that the test events are stored centrally in an S3 bucket where all IAM users within the developer group have access. By granting access to the S3 bucket to all IAM users, any user within the group can create, edit, and retrieve the test events, meeting the requirement for collaborative access and editing. Options B and D don't directly address the need for IAM users to edit the test events; sharing settings might allow access, but they might not allow editing by all IAM users in the group. Option C, using DynamoDB, requires specific IAM role configurations for each user, which could become complex to manage and might not provide the same level of straightforward access and editing capability for all users within the IAM group.

tqiu654Option: A

Based on ChatGPT:A

JonalbOption: B

No AWS Lambda, você pode criar eventos de teste no console da AWS para invocar sua função e ver a resposta. Esses eventos de teste podem ser salvos e compartilhados com outros usuários IAM. Ao definir as configurações de compartilhamento de eventos para tornar os eventos de teste compartilháveis, você permite que todos os desenvolvedores do grupo de desenvolvedores IAM os usem e editem.

DUBERS

Would this not be C just because that's the only one that has the added security of the IAM roles?

Cloud_CloudOption: B

there is an option in lambda console to share the event with other users

MrTeeOption: B

To create a set of test events that can be used by all developers in an IAM developer group and that are editable by any of the IAM users in the group, the company should create and store the test events in Amazon S3 as JSON objects and allow S3 bucket access to all IAM users (Option A). This will allow all developers in the IAM developer group to access and edit the test events as needed. The other options do not provide a way for multiple developers to access and edit the test events.

FyssyOption: C

Use roles. Not all IAM users