0
0
DynamoDBquery~20 mins

Auto-scaling configuration in DynamoDB - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Auto-scaling Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding DynamoDB Auto-scaling Targets
Which of the following best describes the purpose of setting a target utilization percentage in DynamoDB auto-scaling?
AIt defines the maximum number of read/write capacity units the table can have.
BIt specifies the desired average utilization of provisioned capacity to maintain performance and cost balance.
CIt sets the minimum capacity units the table must always have regardless of traffic.
DIt determines the exact number of capacity units to allocate at all times.
Attempts:
2 left
💡 Hint
Think about how auto-scaling tries to balance cost and performance by adjusting capacity based on usage.
query_result
intermediate
2:00remaining
Result of Auto-scaling Policy Update
Given a DynamoDB table with auto-scaling enabled and a target utilization of 70%, what happens if the actual consumed read capacity suddenly spikes to 90% for a sustained period?
AAuto-scaling gradually increases provisioned capacity to bring utilization closer to the 70% target.
BAuto-scaling disables itself to prevent over-provisioning.
CAuto-scaling immediately doubles the provisioned capacity to match the spike.
DAuto-scaling decreases provisioned capacity because the target utilization is exceeded.
Attempts:
2 left
💡 Hint
Consider how auto-scaling reacts to sustained changes rather than instant spikes.
📝 Syntax
advanced
2:00remaining
Valid JSON for Auto-scaling Configuration
Which JSON snippet correctly configures DynamoDB auto-scaling for read capacity with a target utilization of 75% and minimum capacity of 5 units?
A{ "ScalableDimension": "dynamodb:table:ReadCapacityUnits", "MinCapacity": 5, "TargetTrackingScalingPolicyConfiguration": { "TargetValue": 75 } }
B{ "ScalableDimension": "dynamodb:table:ReadCapacityUnits", "MinCapacity": "5", "TargetTrackingScalingPolicyConfiguration": { "TargetValue": 75 } }
C{ "ScalableDimension": "dynamodb:table:ReadCapacityUnits", "MinCapacity": 5, "TargetTrackingScalingPolicyConfiguration": { "TargetValue": 0.75 } }
D{ "ScalableDimension": "dynamodb:table:ReadCapacityUnits", "MinCapacity": 5, "TargetTrackingScalingPolicyConfiguration": { "TargetValue": "75" } }
Attempts:
2 left
💡 Hint
TargetValue expects a percentage value (e.g., 75) between 10 and 90 as a double. MinCapacity must be a number, not a string.
optimization
advanced
2:00remaining
Optimizing Auto-scaling for Cost Efficiency
You notice your DynamoDB table's auto-scaling frequently scales up and down causing cost spikes. Which adjustment can reduce this oscillation?
ASet the minimum capacity to the highest observed usage.
BLower the target utilization percentage to 30%.
CIncrease the cooldown period between scaling actions.
DDisable auto-scaling and set a fixed high capacity.
Attempts:
2 left
💡 Hint
Think about how timing between scaling actions affects stability.
🔧 Debug
expert
2:00remaining
Diagnosing Auto-scaling Failure
A DynamoDB table's write capacity is not scaling up despite high traffic. The auto-scaling policy is set with a target utilization of 70%, min capacity 5, max capacity 100. What is the most likely cause?
AThe target utilization is set too low to trigger scaling.
BThe table is in on-demand mode, so auto-scaling is ignored.
CThe max capacity is set too high, preventing scaling.
DThe IAM role used by auto-scaling lacks permission to update capacity.
Attempts:
2 left
💡 Hint
Check permissions when auto-scaling does not respond to load.