AWS SAP-C02 · Question 26 · Domain 2.4: Reliability
An architecture relies on an Amazon SQS queue to decouple a web frontend from a backend processing tier running on EC2 instances in an Auto Scaling group. The processing time per message varies significantly. The company wants to scale the backend instances based on the backlog of work, rather than CPU utilization. Which metric should be used for the Auto Scaling policy?
Answer options:
The SQS ApproximateNumberOfMessagesVisible metric directly.
A custom CloudWatch metric calculating the ApproximateNumberOfMessagesVisible divided by the number of InService EC2 instances.
The EC2 CPUUtilization metric.
The SQS NumberOfMessagesSent metric.
75 questions · hints · full answers · grading