Câu 161: AWS Certified Developer - Associate DVA-C02(New)
A developer is troubleshooting an application that uses Amazon DynamoDB in the us-west-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 th…
Nội dung câu hỏi
A developer is troubleshooting an application that uses Amazon DynamoDB in the us-west-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?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. Modify the IAM policy resource to be “arn:aws:dynamodb:us-west-2:account-id:table/*”.
- 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. — đáp án hiện tại
- D. Create a trust relationship between the role and dynamodb.amazonaws.com.
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.