You have decided to change the instance type for instances running in your application tier that is using Auto
Scaling. In which area below would you change the instance type definition?
A.
Auto Scaling policy
B.
Auto Scaling group
C.
Auto Scaling tags
D.
Auto Scaling launch configuration
Explanation:
When selecting an instance to terminate when a scaling condition is met, Auto Scaling attempts to preserve
instances with the current launch configuration, and will thus terminate instances that do not have the current
launch configuration. When more than one instance meets this criterion, Auto Scaling will terminate the
instance running for the longest portion of a billable instance-hour (without running over). Optionally, you can
configure a policy to terminate the oldest or newest instance instead. To target a specific instance for
immediate termination, you can also use the TerminateInstanceInAutoScalingGroup API.http://aws.amazon.com/ec2/faqs/
D
Agree, D
d
I choose A
Ans is D
D
This is a tricky question. You specify instance type in a launch configuration, however you can’t change a launch configuration after it is created. You can however create a new launch configuration and edit Auto Scaling group to use it instead of the old launch configuration. However “When you change the launch configuration for your Auto Scaling group, any new instances are launched using the new configuration parameters, but existing instances are not affected.” – see here:
http://docs.aws.amazon.com/autoscaling/latest/userguide/LaunchConfiguration.html
Still D is the best answer.
WTF..
Its the Launch Configuration.
You define here AMI, InstanceType etc..
fix IT pls.
D is correct
D
Another good example of how the test is written to confuse you rather than gauge your actual knowledge. But I concur – D is the best option, even though it won’t change the running instances.
I have had this scenario recently where the launch configuration was changed (used new ami) and new instances were created from the new LC . However, I modified the auto scaling policy (min, max and desired capacity to 0) to terminate the old instances and modified it again so it could pin up new instances from the new LC. So not sure which one to pick between A and D, but D seems to be the best .
D
Instance type is selected in Launch Configuration.