ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 111 - DVA-C02 discussion

Report
Export

A developer is troubleshooting an application mat uses Amazon DynamoDB in the uswest-2 Region.

The application is deployed to an Amazon EC2 instance. The application requires read-only permissions to a table that is named Cars The EC2 instance has an attached IAM role that contains the following IAM policy.

When the application tries to read from the Cars table, an Access Denied error occurs.

How can the developer resolve this error?

A.
Modify the IAM policy resource to be "arn aws dynamo* us-west-2 account-id table/*"
Answers
A.
Modify the IAM policy resource to be "arn aws dynamo* us-west-2 account-id table/*"
B.
Modify the IAM policy to include the dynamodb * action
Answers
B.
Modify the IAM policy to include the dynamodb * action
C.
Create a trust policy that specifies the EC2 service principal. Associate the role with the policy.
Answers
C.
Create a trust policy that specifies the EC2 service principal. Associate the role with the policy.
D.
Create a trust relationship between the role and dynamodb Amazonas com.
Answers
D.
Create a trust relationship between the role and dynamodb Amazonas com.
Suggested answer: C

Explanation:

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/access-controloverview.html#access-control-resource-ownership

asked 16/09/2024
Guillermo Carrasco
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first