0
0
AWScloud~10 mins

ECS service auto scaling in AWS - Interactive Code Practice

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 tasks for ECS service auto scaling.

AWS
MinCapacity: [1]
Drag options to blanks, or click blank then click option'
A5
B0
C1
D10
Attempts:
3 left
💡 Hint
Common Mistakes
Setting minimum capacity to 0 disables running tasks.
Using a very high minimum capacity unnecessarily.
2fill in blank
medium

Complete the code to define the maximum number of tasks for ECS service auto scaling.

AWS
MaxCapacity: [1]
Drag options to blanks, or click blank then click option'
A10
B1
C0
D100
Attempts:
3 left
💡 Hint
Common Mistakes
Setting maximum capacity lower than minimum capacity.
Setting maximum capacity to zero disables scaling.
3fill in blank
hard

Fix the error in the target tracking scaling policy configuration by completing the missing value.

AWS
TargetValue: [1]
Drag options to blanks, or click blank then click option'
A50
B75
C100
D0
Attempts:
3 left
💡 Hint
Common Mistakes
Setting target value to 0 disables scaling triggers.
Setting target value too high causes insufficient scaling.
4fill in blank
hard

Fill both blanks to configure the scalable target resource ID and scalable dimension for ECS service auto scaling.

AWS
ResourceId: [1]
ScalableDimension: [2]
Drag options to blanks, or click blank then click option'
Aservice/myCluster/myService
Bservice/myCluster/anotherService
Cecs:service:DesiredCount
Decs:task:Count
Attempts:
3 left
💡 Hint
Common Mistakes
Using incorrect resource ID format.
Using wrong scalable dimension like ecs:task:Count.
5fill in blank
hard

Fill all three blanks to complete the CloudFormation snippet for ECS service auto scaling target and policy.

AWS
AutoScalingTarget:
  MinCapacity: [1]
  MaxCapacity: [2]
  ResourceId: [3]
Drag options to blanks, or click blank then click option'
A2
B10
Cservice/myCluster/myService
D5
Attempts:
3 left
💡 Hint
Common Mistakes
Setting MinCapacity higher than MaxCapacity.
Incorrect ResourceId format.