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 5 discussion

A developer has created an AWS Lambda function that is written in Python. The Lambda function reads data from objects in Amazon S3 and writes data to an Amazon DynamoDB table. The function is successfully invoked from an S3 event notification when an object is created. However, the function fails when it attempts to write to the DynamoDB table.
What is the MOST likely cause of this issue?

  • A. The Lambda function's concurrency limit has been exceeded.
  • B. DynamoDB table requires a global secondary index (GSI) to support writes.
  • C. The Lambda function does not have IAM permissions to write to DynamoDB.
  • D. The DynamoDB table is not running in the same Availability Zone as the Lambda function.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
sumanshu
4 months, 1 week ago
Selected Answer: C
A) Eliminated - If the function was invoked successfully from the S3 event notification but fails during the write operation, this is less likely to be the issue
upvoted 1 times
sumanshu
4 months, 1 week ago
B) Eliminated - If the function was invoked successfully from the S3 event notification but fails during the write operation, this is less likely to be the issue
upvoted 1 times
sumanshu
4 months, 1 week ago
D) Eliminated - AWS services, including Lambda and DynamoDB, are designed to work across Availability Zones without issues.
upvoted 1 times
...
...
...
trieudo
4 months, 2 weeks ago
Selected Answer: C
keywords: - fails when it attempts to write => discard A (when invoke success, not due to rate limit) Knowlege: - GSI relevant to read action, not write => discard B - DynamoDB is global server, so AZ is not effect on it => discard D
upvoted 3 times
...
gomodhara
4 months, 3 weeks ago
Selected Answer: C
Create an IAM policy that grants your Lambda function read and write permissions to a specific DynamoDB table by defining the actions dynamodb:GetItem, dynamodb:PutItem, and others as needed
upvoted 1 times
...
Aditya_bb_sharma
6 months, 3 weeks ago
Selected Answer: C
Answer is B
upvoted 1 times
...
ACurryDeveloper
8 months, 4 weeks ago
Its c, who on earth would vote for D??
upvoted 1 times
...
nkroker
9 months, 3 weeks ago
C is correct because the question does not contain any details about the placement of the resources in different availability zones hence making it obvious for users to assume they al are running in the same region and that's the reason why it makes sense that the Lambda execution role does not have the write permission for dynomodb table.
upvoted 1 times
...
MessiVN
10 months, 1 week ago
Selected Answer: C
C is correct
upvoted 1 times
...
65703c1
11 months, 1 week ago
Selected Answer: C
C is the correct answer.
upvoted 1 times
...
Dikshika
1 year ago
Selected Answer: C
it mentions lambda is unable to write to Dynamodb and C seems most logical answer here
upvoted 1 times
...
vinfo
1 year ago
Selected Answer: C
C. es correcto. En general para estos comportamientos, se debe a temas de permisos.
upvoted 1 times
...
apa_1
1 year, 1 month ago
Selected Answer: C
C is correct
upvoted 1 times
...
ibratoev
1 year, 1 month ago
Selected Answer: C
It is C
upvoted 1 times
...
alven_alinan
1 year, 4 months ago
Selected Answer: C
Answer is C
upvoted 1 times
...
dongocanh272
1 year, 5 months ago
Why the correct anwser is D? All of us think C must be the correct answer
upvoted 3 times
...
liddym2
1 year, 5 months ago
Am i missing something? Why in God's name are the answer's provided wrong? It says D is the right answer. Its obviously C..
upvoted 3 times
...
dongocanh272
1 year, 5 months ago
Selected Answer: C
I think C is correct.
upvoted 1 times
...
chvtejaswi
1 year, 7 months ago
Selected Answer: C
correct answer is C
upvoted 3 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