
Ultimate access to all questions.
An application deployed on an Amazon EC2 instance in the us-west-2 Region is experiencing 'Access Denied' errors when attempting to read from a DynamoDB table named 'Cars'. The EC2 instance has an IAM role with an attached policy. What action should the developer take to resolve the permissions issue?
A
Update the IAM policy to include a resource ARN pattern of 'arn:aws:dynamodb:us-west-2:account-id:table/'.
B
Expand the IAM policy to encompass all DynamoDB actions with 'dynamodb:'.
C
Establish a trust policy for the EC2 service principal and link it to the IAM role.
D
Configure a trust relationship in the IAM role to trust 'dynamodb.amazonaws.com'.