ExamQuestions.com

Register
Login
AWS Certified Database Specialty Exam Questions

Amazon

AWS Certified Database Specialty

20 / 145

Question 20:

A developer is implementing an AWS Lambda function that will read data from an Amazon DynamoDB table.What is the most secure method of providing the Lambda function access permissions to the DynamoDB table?

Answer options:

A.Create an IAM role.Create IAM policy granting necessary access permissions from AWS Lambda. Assign the IAM policy to the IAM role.Assign the IAM role to the DynamoDB table.
B.Create an IAM user and access key. Create IAM policy granting necessary access permissions to the DynamoDB table.Assign the IAM policy to the IAM user.Provide the access key ID and the secret access key to the developer.
C.Create a DynamoDB username and password.Provide the username and password to the developer.
D.Create an IAM role.Create IAM policy granting necessary access permissions to the DynamoDB table.Assign the IAM policy to the IAM role.Assign the IAM role to the Lambda Execution Role.
E.Create IAM policy granting necessary access permissions to the DynamoDB table.Assign the IAM policy to the Lambda Function policy.