PrepAway - Latest Free Exam Questions & Answers

How can the user achieve this?

A user has created a launch configuration for Auto Scaling where CloudWatch detailed monitoring is disabled.
The user wants to now enable detailed monitoring. How can the user achieve this?

PrepAway - Latest Free Exam Questions & Answers

A.
Update the Launch config with CLI to set InstanceMonitoringDisabled = false

B.
The user should change the Auto Scaling group from the AWS console to enable detailed monitoring

C.
Update the Launch config with CLI to set InstanceMonitoring.Enabled = true

D.
Create a new Launch Config with detail monitoring enabled and update the Auto Scaling group

Explanation:
CloudWatch is used to monitor AWS as well as the custom services. To enable detailed instance monitoring for
a new Auto Scaling group, the user does not need to take any extra steps. When the user creates the
AutoScaling launch config as the first step for creating an Auto Scaling group, each launch configuration
contains a flag named InstanceMonitoring.Enabled. The default value of this flag is true. When the user has
created a launch configuration with InstanceMonitoring.Enabled = false it will involve multiple steps to enable
detail monitoring. The steps are:
Create a new Launch config with detailed monitoring enabled
Update the Auto Scaling group with a new launch config

Enable detail monitoring on each EC2 instance

6 Comments on “How can the user achieve this?

  1. Chef says:

    When you create an Auto Scaling group, you must specify a launch configuration. You can specify your launch configuration with multiple Auto Scaling groups. However, you can only specify one launch configuration for an Auto Scaling group at a time, and you can’t modify a launch configuration after you’ve created it. Therefore, if you want to change the launch configuration for your Auto Scaling group, you must create a launch configuration and then update your Auto Scaling group with the new launch configuration.

    http://docs.aws.amazon.com/autoscaling/latest/userguide/LaunchConfiguration.html

    D.
    Create a new Launch Config with detail monitoring enabled and update the Auto Scaling group




    1



    0
  2. Orest says:

    D, however would be easier to copy the existing one and during the copy process can edit the preferences and then save the new Launch Configuration




    0



    0

Leave a Reply

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