exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 297 discussion

Exam question from Amazon's AWS-SysOps
Question #: 297
Topic #: 1
[All AWS-SysOps Questions]

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?

  • 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
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
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

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
albert_kuo
8 months, 3 weeks ago
Selected Answer: D
Create a new Launch Configuration with detailed monitoring enabled: aws autoscaling create-launch-configuration --launch-configuration-name NewLaunchConfig --instance-type <InstanceType> --instance-monitoring Enabled=true --key-name <KeyName> --image-id <ImageId> Update the Auto Scaling group to use the new Launch Configuration: aws autoscaling update-auto-scaling-group --auto-scaling-group-name <AutoScalingGroupName> --launch-configuration-name NewLaunchConfig
upvoted 1 times
...
TroyMcLure
2 years, 6 months ago
Correct Answer: D
upvoted 1 times
...
awscertified
2 years, 6 months ago
D. Create a new Launch Config with detail monitoring enabled and update the Auto Scaling group
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago