
Answer-first summary for fast verification
Answer: The IAM user lacks the necessary read access policy for 'demoman-table'.
The correct answer is D: 'The IAM user needs an associated policy with read access to demoman-table.' The command syntax is correct, and Amazon DynamoDB can indeed be accessed via the AWS CLI. The most likely issue is that the IAM user does not have a policy that grants read access to the DynamoDB table. Therefore, to resolve this issue, the IAM user needs an appropriate policy with the necessary read permissions for the 'demoman-table.'
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Why did the AWS CLI command to retrieve data from the 'demoman-table' DynamoDB table fail?
A
The command syntax is incorrect; it should use 'put-item' instead.
B
AWS Support must be contacted to grant access to 'demoman-table'.
C
DynamoDB access via AWS CLI is not possible; the REST API is required.
D
The IAM user lacks the necessary read access policy for 'demoman-table'.
No comments yet.