
Ultimate access to all questions.
Your company is implementing a new serverless application using AWS Lambda and Amazon DynamoDB. You need to ensure that the Lambda functions have the necessary permissions to access the DynamoDB table. Which of the following steps should you take to achieve this?
A
Create an IAM role with full access to all DynamoDB tables and assign it to the Lambda functions.
B
Create an IAM role with the minimum required permissions for the Lambda functions to access the specific DynamoDB table, and assign it to the Lambda functions.
C
Modify the DynamoDB table policy to allow access from the Lambda service.
D
Use the root account credentials to configure the Lambda functions to access the DynamoDB table.