
Answer-first summary for fast verification
Answer: S3ReadPolicy
Overall explanation Correct option: S3ReadPolicy The AWS Serverless Application Model (AWS SAM) is an open-source framework that you can use to build serverless applications on AWS. A serverless application is a combination of Lambda functions, event sources, and other resources that work together to perform tasks. Note that a serverless application is more than just a Lambda function—it can include additional resources such as APIs, databases, and event source mappings. AWS SAM allows you to choose from a list of policy templates to scope the permissions of your Lambda functions to the resources that are used by your application. AWS SAM applications in the AWS Serverless Application Repository that use policy templates don't require any special customer acknowledgments to deploy the application from the AWS Serverless Application Repository. S3ReadPolicy => Gives read-only permission to objects in an Amazon S3 bucket. S3CrudPolicy => Gives create, read, update, and delete permission to objects in an Amazon S3 bucket. SQSPollerPolicy => Permits to poll an Amazon SQS Queue. LambdaInvokePolicy => Permits to invoke a Lambda function, alias, or version. Incorrect options: SQSPollerPolicy S3CrudPolicy LambdaInvokePolicy These three options contradict the explanation provided earlier. So these are incorrect.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
When deploying AWS Lambda functions that interact with your S3 buckets to read files and extract key metadata, and you are managing these Lambda functions using AWS Serverless Application Model (SAM):
Which policy should you include in your serverless model template to ensure the Lambda functions have read access to the specified S3 buckets?
A
SQSPollerPolicy
B
S3CrudPolicy
C
S3ReadPolicy
D
LambdaInvokePolicy
No comments yet.