Examtopics

AWS Certified Developer - Associate
  • Topic 1 Question 148

    A developer is trying to get data from an Amazon DynamoDB table called demoman-table. The developer configured the AWS CLI to use a specific IAM user’s credentials and ran the following command:

    aws dynamodb get-item --table-name demoman-table --key '{"id": {"N":"1993"}}'

    The command returned errors and no rows were returned.

    What is the MOST likely cause of these issues?

    • The command is incorrect; it should be rewritten to use put-item with a string argument.

    • The developer needs to log a ticket with AWS Support to enable access to the demoman-table.

    • Amazon DynamoDB cannot be accessed from the AWS CLI and needs to be called via the REST API.

    • The IAM user needs an associated policy with read access to demoman-table.


    シャッフルモード