Bird
0
0

Which of the following is the correct way to specify on-demand billing mode when creating a DynamoDB table using AWS CLI?

easy📝 Syntax Q3 of 15
DynamoDB - Cost Optimization and Monitoring
Which of the following is the correct way to specify on-demand billing mode when creating a DynamoDB table using AWS CLI?
A--billing-mode PROVISIONED
B--billing-mode PAY_PER_REQUEST
C--capacity-mode ON_DEMAND
D--billing PAY_PER_USE
Step-by-Step Solution
Solution:
  1. Step 1: Identify correct billing mode syntax in AWS CLI

    The correct flag is --billing-mode with values PAY_PER_REQUEST for on-demand or PROVISIONED for provisioned mode.
  2. Step 2: Match the correct value for on-demand

    PAY_PER_REQUEST is the exact value for on-demand billing mode in AWS CLI commands.
  3. Final Answer:

    --billing-mode PAY_PER_REQUEST -> Option B
  4. Quick Check:

    AWS CLI on-demand flag = PAY_PER_REQUEST [OK]
Quick Trick: Use PAY_PER_REQUEST for on-demand billing in AWS CLI [OK]
Common Mistakes:
MISTAKES
  • Using incorrect flag names like --capacity-mode
  • Confusing PROVISIONED as on-demand
  • Using non-existent flags like --billing

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More DynamoDB Quizzes