Complete the code to specify the minimum number of instances in an Auto Scaling group.
MinSize = [1]The minimum size must be zero or more. Setting it to 0 allows no instances when demand is low.
Complete the code to set the desired capacity of an Auto Scaling group.
DesiredCapacity = [1]DesiredCapacity is the number of instances the group tries to maintain, often set to a positive integer like 3.
Fix the error in the Auto Scaling policy action type.
ScalingPolicy = {
"AdjustmentType": "[1]",
"ScalingAdjustment": 1
}"ChangeInCapacity" is a valid AdjustmentType that increases or decreases the number of instances by a fixed amount.
Fill both blanks to create a scaling policy that increases capacity by 2 when CPU usage is high.
ScalingPolicy = {
"AdjustmentType": "[1]",
"ScalingAdjustment": [2]
}Use "ChangeInCapacity" to adjust by a number, and 2 to increase capacity by two instances.
Fill all three blanks to define an Auto Scaling group with min size 1, max size 4, and desired capacity 2.
AutoScalingGroup = {
"MinSize": [1],
"MaxSize": [2],
"DesiredCapacity": [3]
}MinSize is 1, MaxSize is 4, and DesiredCapacity is 2 to keep the group balanced.