A Developer is working on an AWS Lambda function that accesses Amazon DynamoDB. The Lambda function must retrieve an item and update some of its attributes, or create the item if it does not exist. The Lambda function has access to the primary key.
Which IAM permissions should the Developer request for the Lambda function to achieve this functionality?
A. dynamodb:DeleteItemdynamodb:GetItem
dynamodb:PutItem
B. dynamodb:UpdateItemdynamodb:GetItemdynamodb:DescribeTable
C. dynamodb:GetRecordsdynamodb:PutItemdynamodb:UpdateTable
D. dynamodb:UpdateItemdynamodb:GetItemdynamodb:PutItem
Which IAM permissions should the Developer request for the Lambda function to achieve this functionality?
A. dynamodb:DeleteItemdynamodb:GetItem
dynamodb:PutItem
B. dynamodb:UpdateItemdynamodb:GetItemdynamodb:DescribeTable
C. dynamodb:GetRecordsdynamodb:PutItemdynamodb:UpdateTable
D. dynamodb:UpdateItemdynamodb:GetItemdynamodb:PutItem