PrepAway - Latest Free Exam Questions & Answers

which area below would you change the instance type definition?

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?

PrepAway - Latest Free Exam Questions & Answers

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/

13 Comments on “which area below would you change the instance type definition?

  1. vladam says:

    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.




    4



    0
  2. Rickety says:

    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.




    0



    0
  3. Anthony says:

    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 .




    0



    0

Leave a Reply

Your email address will not be published. Required fields are marked *