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

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?

    Correct Answer: C

    The most likely cause of the issue is that the Lambda function does not have IAM permissions to write to DynamoDB. When AWS Lambda functions interact with other AWS services, appropriate IAM permissions are required. If the Lambda function is able to read from S3 but fails when writing to DynamoDB, it indicates that the function's IAM role may lack the necessary permissions for DynamoDB write operations.

Discussion
geekdamsel

Got this question in exam. Correct answer is C.

liddym2

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..

chvtejaswiOption: C

correct answer is C

hsinchangOption: C

It is clearly something about permissions. So not A or B. Lambda functions can run in multiple Availability Zones (AZs) to ensure high availability and resilience. So it is not D.

dongocanh272

Why the correct anwser is D? All of us think C must be the correct answer

elfinka9

Does anyone know how the correct answer is determined? Option C is the most voted and correct according to https://www.examtopics.com/discussions/amazon/view/88237-exam-aws-certified-developer-associate-topic-1-question-164/

nkroker

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.

MessiVNOption: C

C is correct

65703c1Option: C

C is the correct answer.

DikshikaOption: C

it mentions lambda is unable to write to Dynamodb and C seems most logical answer here

vinfoOption: C

C. es correcto. En general para estos comportamientos, se debe a temas de permisos.

apa_1Option: C

C is correct

ibratoevOption: C

It is C

alven_alinanOption: C

Answer is C

dongocanh272Option: C

I think C is correct.

kvpaOption: C

correct answer is C

ssoratroiOption: C

surely C