Bird
0
0

You have this auto-scaling policy JSON snippet:

medium📝 Debug Q14 of 15
DynamoDB - Cost Optimization and Monitoring
You have this auto-scaling policy JSON snippet:
{
  "MinCapacity": 5,
  "MaxCapacity": 100,
  "TargetValue": 80.0,
  "ScaleInCooldown": 30,
  "ScaleOutCooldown": 30
}

But the policy is not working as expected. What is the likely error?
AMinCapacity is greater than MaxCapacity
BMissing required field for resource ID
CTargetValue should be between 0 and 1, not 80.0
DCooldown times are too short and cause rapid scaling
Step-by-Step Solution
Solution:
  1. Step 1: Check capacity and cooldown values

    MinCapacity (5) is less than MaxCapacity (100), cooldowns are valid numbers.
  2. Step 2: Identify missing required fields

    Auto-scaling policies require resource identifiers (like ResourceId) to apply the policy.
  3. Step 3: Confirm TargetValue range

    TargetValue is a percentage and 80.0 is valid.
  4. Final Answer:

    Missing required field for resource ID -> Option B
  5. Quick Check:

    Missing resource ID causes policy failure = A [OK]
Quick Trick: Check for all required fields, not just values [OK]
Common Mistakes:
MISTAKES
  • Assuming cooldown times cause failure
  • Misreading TargetValue scale
  • Ignoring missing resource identifiers

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More DynamoDB Quizzes