AWS Certified SysOps Administrator – Associate — Question 99
A company has a memory-intensive application that runs on a fleet of Amazon EC2 instances behind an Elastic Load Balancer (ELB). The instances run in an Auto Scaling group. A SysOps administrator must ensure that the application can scale based on the number of users that connect to the application.
Which solution will meet these requirements?
Answer options
- A. Create a scaling policy that will scale the application based on the ActiveConnectionCount Amazon CloudWatch metric that is generated from the ELB.
- B. Create a scaling policy that will scale the application based on the mem_used Amazon CloudWatch metric that is generated from the ELB.
- C. Create a scheduled scaling policy to increase the number of EC2 instances in the Auto Scaling group to support additional connections.
- D. Create and deploy a script on the ELB to expose the number of connected users as a custom Amazon CloudWatch metric. Create a scaling policy that uses the metric.
Correct answer: A
Explanation
The correct answer is A, as scaling based on the ActiveConnectionCount metric directly reflects the number of users connected to the application, making it an appropriate choice for scaling. Option B is incorrect because mem_used focuses on memory usage rather than user connections. Option C does not provide a dynamic response to fluctuating user numbers, while Option D introduces unnecessary complexity by requiring a custom metric.