Complete the code to define the minimum number of instances for auto-scaling.
auto_scaling_config = {
"MinInstances": [1],
"MaxInstances": 10
}The minimum number of instances must be at least 1 to keep the endpoint available.
Complete the code to set the target CPU utilization percentage for scaling.
auto_scaling_config = {
"TargetCPUUtilization": [1]
}50% CPU utilization is a common target to balance performance and cost.
Fix the error in the auto-scaling policy by completing the missing field.
auto_scaling_policy = {
"PolicyName": "ScaleOutPolicy",
"AdjustmentType": [1],
"ScalingAdjustment": 2
}"ChangeInCapacity" is a valid adjustment type to increase instances by a fixed number.
Fill both blanks to create a scaling rule that triggers when CPU usage is above 70%.
scaling_rule = {
"MetricName": [1],
"Threshold": [2]
}The metric to monitor is CPU utilization, and the threshold is set to 70%.
Fill all three blanks to define a complete auto-scaling configuration with min, max, and target CPU utilization.
auto_scaling_config = {
"MinInstances": [1],
"MaxInstances": [2],
"TargetCPUUtilization": [3]
}Minimum instances is 1, maximum is 10, and target CPU utilization is 50%.