exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 68 discussion

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?

  • 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.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
renekton
Highly Voted 1 year, 11 months ago
Selected Answer: 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
upvoted 30 times
...
delak
Highly Voted 1 year, 11 months ago
Selected Answer: B
Since March of this year, this is now possible to share test events within the same account with different users.
upvoted 6 times
...
sumanshu
Most Recent 4 months ago
Selected Answer: B
(Shareable events) directly leverages AWS Lambda's built-in functionality, reducing the need for custom storage and retrieval mechanisms.
upvoted 2 times
...
Anandesh
9 months, 2 weeks ago
Selected Answer: B
https://docs.aws.amazon.com/lambda/latest/dg/testing-functions.html
upvoted 1 times
...
65703c1
11 months, 1 week ago
Selected Answer: B
B is the correct answer.
upvoted 1 times
...
SerialiDr
1 year, 2 months ago
Selected Answer: 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.
upvoted 1 times
...
manngupta007
1 year, 3 months ago
Answer: B https://aws.amazon.com/about-aws/whats-new/2022/03/aws-lambda-console-test-events/
upvoted 1 times
...
SerialiDr
1 year, 3 months ago
Selected Answer: 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.
upvoted 1 times
...
ez_24
1 year, 3 months ago
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
upvoted 1 times
...
a_win
1 year, 4 months ago
Selected Answer: 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.
upvoted 1 times
...
tqiu654
1 year, 4 months ago
Selected Answer: A
Based on ChatGPT:A
upvoted 1 times
...
Jonalb
1 year, 6 months ago
Selected Answer: 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.
upvoted 1 times
...
DUBERS
1 year, 9 months ago
Would this not be C just because that's the only one that has the added security of the IAM roles?
upvoted 1 times
...
Cloud_Cloud
2 years ago
Selected Answer: B
there is an option in lambda console to share the event with other users
upvoted 1 times
...
MrTee
2 years ago
Selected Answer: A
I meant to select A
upvoted 3 times
...
MrTee
2 years ago
Selected Answer: 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.
upvoted 1 times
...
Fyssy
2 years ago
Selected Answer: C
Use roles. Not all IAM users
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago