Bird
0
0

Which of the following is the correct JSON snippet to define a simple scaling policy in AWS Auto Scaling?

easy📝 Configuration Q12 of 15
AWS - Auto Scaling
Which of the following is the correct JSON snippet to define a simple scaling policy in AWS Auto Scaling?
A{"PolicyName": "ScaleOut", "PolicyType": "TargetTrackingScaling", "TargetValue": 50}
B{"PolicyName": "ScaleOut", "PolicyType": "StepScaling", "StepAdjustments": [{"MetricIntervalLowerBound": 0, "ScalingAdjustment": 1}]}
C{"PolicyName": "ScaleOut", "PolicyType": "SimpleScaling", "AdjustmentType": "ChangeInCapacity", "ScalingAdjustment": 2}
D{"PolicyName": "ScaleOut", "PolicyType": "ScheduledScaling", "Schedule": "cron(0 12 * * ? *)"}
Step-by-Step Solution
Solution:
  1. Step 1: Identify simple scaling policy syntax

    Simple scaling uses PolicyType "SimpleScaling" with AdjustmentType and ScalingAdjustment fields.
  2. Step 2: Verify JSON options

    {"PolicyName": "ScaleOut", "PolicyType": "SimpleScaling", "AdjustmentType": "ChangeInCapacity", "ScalingAdjustment": 2} matches simple scaling syntax; others are for target tracking, step scaling, or scheduled scaling.
  3. Final Answer:

    {"PolicyName": "ScaleOut", "PolicyType": "SimpleScaling", "AdjustmentType": "ChangeInCapacity", "ScalingAdjustment": 2} -> Option C
  4. Quick Check:

    Simple scaling = PolicyType "SimpleScaling" [OK]
Quick Trick: Simple scaling uses PolicyType "SimpleScaling" with adjustment fields [OK]
Common Mistakes:
  • Using TargetTrackingScaling type for simple scaling
  • Confusing step scaling syntax with simple scaling
  • Including schedule fields in simple scaling

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes