0
0
AWScloud~10 mins

Why auto scaling matters in AWS - Test Your Understanding

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to specify the minimum number of instances in an Auto Scaling group.

AWS
MinSize = [1]
Drag options to blanks, or click blank then click option'
A0
Bmax
C5
D-1
Attempts:
3 left
💡 Hint
Common Mistakes
Setting MinSize to a negative number causes errors.
Using 'max' as a value is invalid.
2fill in blank
medium

Complete the code to set the desired capacity of an Auto Scaling group.

AWS
DesiredCapacity = [1]
Drag options to blanks, or click blank then click option'
A0
BMinSize
C3
DMaxSize
Attempts:
3 left
💡 Hint
Common Mistakes
Setting DesiredCapacity to MinSize or MaxSize variables directly without values.
Using zero when you want some instances running.
3fill in blank
hard

Fix the error in the Auto Scaling policy action type.

AWS
ScalingPolicy = {
  "AdjustmentType": "[1]",
  "ScalingAdjustment": 1
}
Drag options to blanks, or click blank then click option'
AChangeInCapacity
BExactCapacity
CPercentChangeInCapacity
DIncreaseCapacity
Attempts:
3 left
💡 Hint
Common Mistakes
Using invalid strings like 'IncreaseCapacity' causes errors.
Confusing 'ExactCapacity' with 'ChangeInCapacity'.
4fill in blank
hard

Fill both blanks to create a scaling policy that increases capacity by 2 when CPU usage is high.

AWS
ScalingPolicy = {
  "AdjustmentType": "[1]",
  "ScalingAdjustment": [2]
}
Drag options to blanks, or click blank then click option'
AChangeInCapacity
BExactCapacity
C2
D5
Attempts:
3 left
💡 Hint
Common Mistakes
Using ExactCapacity with a number that is not the exact desired count.
Setting ScalingAdjustment to a string instead of a number.
5fill in blank
hard

Fill all three blanks to define an Auto Scaling group with min size 1, max size 4, and desired capacity 2.

AWS
AutoScalingGroup = {
  "MinSize": [1],
  "MaxSize": [2],
  "DesiredCapacity": [3]
}
Drag options to blanks, or click blank then click option'
A1
B2
C4
D3
Attempts:
3 left
💡 Hint
Common Mistakes
Setting DesiredCapacity higher than MaxSize causes errors.
Using MinSize greater than MaxSize is invalid.