AWS Certified Data Engineer – Associate (DEA-C01) — Question 133

A data engineer set up an AWS Lambda function to read an object that is stored in an Amazon S3 bucket. The object is encrypted by an AWS KMS key.

The data engineer configured the Lambda function’s execution role to access the S3 bucket. However, the Lambda function encountered an error and failed to retrieve the content of the object.

What is the likely cause of the error?

Answer options

Correct answer: D

Explanation

The correct answer is D because the Lambda function needs permission to access the KMS key to decrypt the object in S3. Options A, B, and C do not address the specific issue of KMS key permissions, which is critical for accessing encrypted objects.