Bird
0
0

Which AWS CLI parameter correctly specifies the attribute definitions when creating a DynamoDB table?

easy📝 Syntax Q3 of 15
AWS - DynamoDB
Which AWS CLI parameter correctly specifies the attribute definitions when creating a DynamoDB table?
A--attributes Id=S
B--attribute-definitions AttributeName=Id,AttributeType=S
C--define-attributes Id=S
D--attribute AttributeName=Id,Type=S
Step-by-Step Solution
Solution:
  1. Step 1: Recall correct AWS CLI syntax for attribute definitions

    The correct parameter is --attribute-definitions followed by AttributeName and AttributeType pairs.
  2. Step 2: Compare options

    Only --attribute-definitions AttributeName=Id,AttributeType=S uses the correct parameter and format; others are invalid or incorrect syntax.
  3. Final Answer:

    --attribute-definitions AttributeName=Id,AttributeType=S -> Option B
  4. Quick Check:

    Attribute definitions syntax = --attribute-definitions [OK]
Quick Trick: Use --attribute-definitions with AttributeName and AttributeType [OK]
Common Mistakes:
MISTAKES
  • Using wrong parameter names
  • Incorrect attribute format
  • Missing AttributeType

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes