exam questions

Exam AWS Certified Developer Associate All Questions

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

Exam AWS Certified Developer Associate topic 1 question 164 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 164
Topic #: 1
[All AWS Certified Developer Associate Questions]

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. The 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
SideGly
1 year, 4 months ago
DynamoDB resource based policy. that is why not C
upvoted 1 times
preachr
8 months, 1 week ago
https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_examples_lambda-access-dynamodb.html
upvoted 1 times
...
...
jayvarma
1 year, 9 months ago
Option C is the answer. The remaining all options are irrelevant
upvoted 1 times
...
rcaliandro
1 year, 10 months ago
Selected Answer: C
Once S3 invoke correctly the lambda, the function needs the right permission to write to DynamoDB. So, the correct answer is C
upvoted 1 times
...
sichilam
2 years, 3 months ago
C it is
upvoted 2 times
...
michaldavid
2 years, 5 months ago
Selected Answer: C
cccccccc
upvoted 1 times
...
k1kavi1
2 years, 5 months ago
Selected Answer: C
https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_examples_lambda-access-dynamodb.html
upvoted 1 times
...
sionita
2 years, 5 months ago
C -The Lambda function does not have IAM permissions to write to DynamoDB.
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