Amazon Web Services AWS Certified Developer - Associate DVA-C02 Question # 30 Topic 4 Discussion

Amazon Web Services AWS Certified Developer - Associate DVA-C02 Question # 30 Topic 4 Discussion

DVA-C02 Exam Topic 4 Question 30 Discussion:
Question #: 30
Topic #: 4

A developer is automating a new application deployment with AWS SAM. The new application has one AWS Lambda function and one Amazon S3 bucket. The Lambda function must access the S3 bucket to only read objects.

How should the developer configure AWS SAM to grant the necessary read permission to the S3 bucket?


A.

Reference a second Lambda authorizer function.


B.

Add a custom S3 bucket policy to the Lambda function.


C.

Create an Amazon SQS topic for only S3 object reads. Reference the topic in the template.


D.

Add the S3ReadPolicy template to the Lambda function's execution role.


Get Premium DVA-C02 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.