SOA-C02 practice question 2 of 10

[Deployment, Provisioning, and Automation] A company is using an Amazon EC2 Auto Scaling group to support a workload A Sytfhe company now needs to…

Full set: 557 questions
[Deployment, Provisioning, and Automation] A company is using an Amazon EC2 Auto Scaling group to support a workload A Sytfhe company now needs to centruito Scaling group is configured with two similar scaling policies dP) to centrally manage access to One scaling policy adds 5 instances when CPU utilization reaches 80%. The other sctrator can connect to the extemahen CPU utilization leaches 80%. What will happen when CPU utilization reaches the 80% threshold?
Answer options
A: Amazon EC2 Auto Scaling will add 5 instances
B: Amazon EC2 Auto Scaling will add 10 instances Correct answer
C: Amazon EC2 Auto Scaling will add 15 instances.
D: The Auto Scaling group will not scale because of conflicting policies
Correct Answer:
B. Amazon EC2 Auto Scaling will add 10 instances
Explanation

When multiple simple or step scaling policies are associated with an Amazon EC2 Auto Scaling group and trigger at the same time, Auto Scaling evaluates both policies independently. To ensure maximum application availability, EC2 Auto Scaling is designed to prioritize and execute the scaling policy that results in the largest increase in instance capacity. In this scenario, one policy adds 5 instances and the other adds 10 instances when CPU utilization hits the 80% threshold. Because Auto Scaling always selects the action that provisions the highest number of instances to handle the perceived load, it will choose the second policy and add exactly 10 instances. This prevents under-provisioning during sudden traffic spikes while avoiding the need to execute both policies additively.

Why Incorrect

A. Adding 5 instances only fulfills the smaller policy; Auto Scaling always favors the policy that results in the larger capacity increase when multiple policies trigger simultaneously.
C. Auto Scaling does not sum or combine instance counts from triggers. It evaluates them independently and solely chooses the single policy demanding the highest capacity addition.
D. The Auto Scaling group does not fail or halt scaling when multiple policies conflict. It resolves the conflict by selecting the policy requesting the largest capacity increase.

References

AWS Documentation: Amazon EC2 Auto Scaling User Guide, Document ID: ec2-auto-scaling-ug, Section: "Dynamic scaling for Amazon EC2 Auto Scaling" under the "Multiple scaling policies" paragraph.

Scroll to Top