Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
How can a Lambda function in the same AWS account securely obtain read access to an S3 bucket?
A
By applying an S3 bucket policy for read access.
B
By assigning an IAM role with a policy granting specific S3 bucket read access to the Lambda function.
C
By including AWS access credentials in the Lambda function code for S3 bucket read access.
D
By assigning an IAM role with a policy granting read access to all S3 buckets in the account to the Lambda function.