SAP-C02 Question 288
Single answerYou are designing a highly available architecture for an application on AWS. The application will use Amazon EC2 Auto Scaling with multiple instances behind an Application Load Balancer (ALB). During testing, you notice that the Auto Scaling group fails to scale beyond 20 instances, even though the application requires at least 30 instances during peak load. Upon further investigation, you find that the issue is related to default service quotas. What steps should you take to resolve this issue?
- A
Request a service quota increase for the specific resource in the AWS Service Quotas console.
- B
Modify the Auto Scaling group to use a different instance type to bypass the default quota.
- C
Split the application into two separate Auto Scaling groups, each with a smaller instance count.
- D
Enable service quota auto-expansion for the Auto Scaling group in the AWS Management Console.
Show answer and explanation
Correct answer: A
Explanation
The issue is caused by the default service quota limiting the number of EC2 instances that can be launched in a region. To address this, you need to request a quota increase using the AWS Service Quotas console. Other options, such as changing instance types or splitting Auto Scaling groups, do not resolve the root cause of the scaling limitation.
- A. Correct.
This is correct. If the Auto Scaling group is unable to scale beyond the default service quota limit, you must request a quota increase for the specific resource (e.g., EC2 instances per region) in the AWS Service Quotas console.
- B. Incorrect.
This is incorrect. Changing the instance type will not bypass the service quota limits, as the quota applies to the total number of instances, not the type of instance.
- C. Incorrect.
This is incorrect. Splitting into multiple Auto Scaling groups does not resolve the root issue, which is the service quota limit for the total number of instances.
- D. Incorrect.
This is incorrect. AWS does not provide an auto-expansion feature for service quotas; quota increases must be requested manually.