AWS Certified Developer – Associate — Question 99

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?

Answer options

Correct answer: C

Explanation

The most likely reason for the failure is that the Lambda function does not have the required IAM permissions to write to DynamoDB, which is option C. The other options, such as concurrency limits and GSI requirements, do not directly prevent the function from executing a write operation, and the Availability Zone does not affect the functionality in this scenario.