SOA-C02 · Question #408
A company is running Amazon EC2 On-Demand Instances in an Auto Scaling group. The instances process messages from an Amazon Simple Queue Service (Amazon SQS) queue. The Auto Scaling group is set to sc
The correct answer is A. Enable instance scale-in protection for the specific instance in the Auto Scaling group at the start. When a scaling policy is disabled, the Auto Scaling group does not scale out or scale in for the metric alarms that are breached while the scaling policy is disabled. However, any scaling activities still in progress are not stopped. https://docs.aws.amazon.com/autoscaling/ec2/us
Question
A company is running Amazon EC2 On-Demand Instances in an Auto Scaling group. The instances process messages from an Amazon Simple Queue Service (Amazon SQS) queue. The Auto Scaling group is set to scale based on the number of messages in the queue. Messages can take up to 12 hours to process completely. A SysOps administrator must ensure that instances are not interrupted during message processing. What should the SysOps administrator do to meet these requirements?
Options
- AEnable instance scale-in protection for the specific instance in the Auto Scaling group at the start
- BSet the Auto Scaling group's termination policy to OldestInstance.
- CSet the Auto Scaling group's termination policy to OldestLaunchConfiguration.
- DSuspend the Launch and Terminate scaling processes for the specific instance in the Auto
How the community answered
(47 responses)- A74% (35)
- B15% (7)
- C6% (3)
- D4% (2)
Explanation
When a scaling policy is disabled, the Auto Scaling group does not scale out or scale in for the metric alarms that are breached while the scaling policy is disabled. However, any scaling activities still in progress are not stopped. https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enable-disable-scaling-policy.html
Topics
Community Discussion
No community discussion yet for this question.