Auto-scaling in DynamoDB automatically adjusts the read and write capacity of your tables based on traffic patterns to maintain performance and control costs.
Click to reveal answer
beginner
Which two capacity types can DynamoDB auto-scale?
DynamoDB auto-scales both Read Capacity Units (RCUs) and Write Capacity Units (WCUs) to match the workload demand.
Click to reveal answer
intermediate
What is the role of a target utilization percentage in DynamoDB auto-scaling?
The target utilization percentage defines the desired average usage of provisioned capacity. Auto-scaling adjusts capacity to keep usage near this target.
Click to reveal answer
beginner
Name one benefit of enabling auto-scaling for DynamoDB tables.
Auto-scaling helps avoid throttling by adjusting capacity automatically and reduces manual effort to manage capacity, saving costs and improving reliability.
Click to reveal answer
intermediate
What happens if the traffic exceeds the maximum capacity set in DynamoDB auto-scaling?
If traffic exceeds the maximum capacity, requests may be throttled, causing delays or errors until capacity is increased or traffic decreases.
Click to reveal answer
What does DynamoDB auto-scaling adjust automatically?
ANumber of indexes
BTable size in GB
CRead and write capacity units
DBackup frequency
✗ Incorrect
DynamoDB auto-scaling adjusts the provisioned read and write capacity units to match workload demand.
Which metric does DynamoDB auto-scaling use to decide when to scale?
ACPU usage
BTarget utilization percentage
CDisk space used
DNumber of items in the table
✗ Incorrect
Auto-scaling uses the target utilization percentage to maintain capacity near the desired usage level.
What happens if you set a very low maximum capacity in auto-scaling?
ACapacity will never scale above that max, risking throttling
BAuto-scaling will ignore the max capacity
CCapacity will scale infinitely
DThe table will delete automatically
✗ Incorrect
The maximum capacity limits scaling; if traffic exceeds it, throttling can occur.
Which AWS service is used to configure DynamoDB auto-scaling?
AAWS Application Auto Scaling
BAmazon CloudWatch
CAWS Lambda
DAmazon S3
✗ Incorrect
AWS Application Auto Scaling manages auto-scaling for DynamoDB tables.
Why is auto-scaling important for DynamoDB tables?
ATo automatically backup data
BTo create indexes automatically
CTo encrypt data at rest
DTo adjust capacity to workload and avoid manual changes
✗ Incorrect
Auto-scaling adjusts capacity automatically to match workload, reducing manual effort and preventing throttling.
Explain how DynamoDB auto-scaling works and why it is useful.
Think about how capacity changes with traffic.
You got /4 concepts.
Describe the risks of setting incorrect minimum or maximum capacity limits in DynamoDB auto-scaling.
Consider what happens if limits are too strict or too loose.
You got /4 concepts.
Practice
(1/5)
1. What is the main purpose of auto-scaling in DynamoDB?
easy
A. To encrypt data stored in the table
B. To manually set fixed capacity limits
C. To backup data at regular intervals
D. To automatically adjust read and write capacity based on traffic
Solution
Step 1: Understand auto-scaling function
Auto-scaling automatically changes capacity to match traffic demands.
Step 2: Compare options
Only To automatically adjust read and write capacity based on traffic describes automatic adjustment of capacity based on traffic.
Final Answer:
To automatically adjust read and write capacity based on traffic -> Option D
Quick Check:
Auto-scaling adjusts capacity automatically = A [OK]
Hint: Auto-scaling means automatic capacity adjustment [OK]
Common Mistakes:
Confusing auto-scaling with manual capacity setting
Thinking auto-scaling handles backups
Mixing encryption with scaling
2. Which of the following is the correct way to specify the minimum capacity units in a DynamoDB auto-scaling policy JSON snippet?
easy
A. "MinCapacity": 5
B. "MinimumCapacityUnits": 5
C. "min_capacity": 5
D. "Min_Capacity": 5
Solution
Step 1: Recall DynamoDB auto-scaling JSON keys
The correct key for minimum capacity is "MinCapacity" with camel case and no underscores.
Step 2: Check options
Only "MinCapacity": 5 matches the exact key syntax "MinCapacity".
Final Answer:
"MinCapacity": 5 -> Option A
Quick Check:
Correct JSON key for minimum capacity = B [OK]
Hint: Use exact key names with correct casing in JSON [OK]
Common Mistakes:
Using underscores instead of camel case
Adding extra words like 'Units'
Incorrect capitalization
3. Given this auto-scaling target tracking policy snippet:
But the policy is not working as expected. What is the likely error?
medium
A. MinCapacity is greater than MaxCapacity
B. Missing required field for resource ID
C. TargetValue should be between 0 and 1, not 80.0
D. Cooldown times are too short and cause rapid scaling
Solution
Step 1: Check capacity and cooldown values
MinCapacity (5) is less than MaxCapacity (100), cooldowns are valid numbers.
Step 2: Identify missing required fields
Auto-scaling policies require resource identifiers (like ResourceId) to apply the policy.
Step 3: Confirm TargetValue range
TargetValue is a percentage and 80.0 is valid.
Final Answer:
Missing required field for resource ID -> Option B
Quick Check:
Missing resource ID causes policy failure = A [OK]
Hint: Check for all required fields, not just values [OK]
Common Mistakes:
Assuming cooldown times cause failure
Misreading TargetValue scale
Ignoring missing resource identifiers
5. You want to configure auto-scaling for a DynamoDB table with unpredictable traffic spikes. Which combination of settings will best ensure smooth scaling without throttling or overspending?