Question : AutoScaling is configured with AZs. Each zone has instances running. If AutoScaling wants to terminate an instance based on the policy action, which instance will it terminate first? 1. Terminate the instance from the AZ which has instances running near to the billing hour 2. Terminate the first launched instance 3. Access Mostly Uused Products by 50000+ Subscribers 4. Terminate the instance from the AZ which does not have a high AWS load
Explanation: Before Auto Scaling selects an instance to terminate, it first identifies the Availability Zone that has more instances than the other Availability Zones used by the group. If all the Availability Zones have the same number of instances, it identifies a random Availability Zone.
Question : Being a QuickTechie.com AWS Developer you have configured AutoScaling based on the dynamic policy. Which of the following is not the right command to specify a change in capacity as a part of the policy? 1. "adjustment=3" (type is ExactCapacity) 2. "adjustment=-50" (type is PercentChangeInCapacity) 3. Access Mostly Uused Products by 50000+ Subscribers 4. "adjustment=-1" (type is ChangeInCapacity)
Explanation: The user can configure the AutoScaling group to automatically scale up and then scale down based on the various specified CloudWatch monitoring conditions. The user needs to provide the adjustment value and the adjustment type. A positive adjustment value increases the current capacity and a negative adjustment value decreases the current capacity. The user can express the change to the current size as an absolute number, an increment or as a percentage of the current group size. In this option specifying the exact capacity with the adjustment value = -8 will not work as when type is exact capacity the adjustment value cannot be negative.
Question : Being a QuickTechie.com AWS Developer you have configured AutoScaling with policy based scaling. The user has instances running right now. The policy states that the count should be increased by 10%. How many instances will be running after the scaling activity is complete? 1. 75 2. 76 3. Access Mostly Uused Products by 50000+ Subscribers 4. 74
Explanation: AutoScaling rounds off the values returned by the PercentChangeInCapacity to the lower number if the value is positive. If the current count is 68 and the policy gets executed, the total number of instances to be added will be calculated as 6.8 (10% of 68). AWS will round it off to 6 and launch 6 more instances.
1. can be used to launch EC2 instances in any AWS region 2. can only be used to launch EC2 instances in the same country as the AMI is stored 3. Access Mostly Uused Products by 50000+ Subscribers 4. can only be used to launch EC2 instances in the same AWS availability zone as the AMI is stored