SOA-C03 practice question 8 of 10
Optimization] A company uses an Amazon Simple Queue Service (Amazon SQS) queue and Amazon EC2 instances in an Auto Scaling group with target tracking…
Choose your answer, then check it against the explanation and the full breakdown below.
Domain Cost and Performance Optimization
Question breakdown
Key idea: Workers that consume from SQS should scale on backlog per instance, calculated with metric math as visible messages divided by in-service instances, and used in a target tracking policy.
How to reach the answer
- The symptom is a growing SQS queue while the group scales on network input.
- The root cause is the scaling metric, which does not reflect the queued work.
- Backlog per instance (ApproximateNumberOfMessagesVisible / GroupInServiceInstances) measures the real workload.
- Target tracking can use a metric math expression directly, so it adjusts capacity to hold the backlog at a target value.
- Changing only the policy type (step or simple) leaves the wrong metric in place.
Each option
Common trap: Option A names an SQS metric and looks queue-aware, but 'Delayed' is the wrong metric; the backlog is the visible messages.
In practice: Batch and worker fleets that drain SQS queues are routinely scaled on backlog per instance, so processing keeps up during traffic spikes.
Remember: Scale SQS consumers on ApproximateNumberOfMessagesVisible divided by in-service instances, using target tracking.
Official documentation: Scaling policy based on Amazon SQS · Target tracking scaling policies for Amazon EC2 Auto Scaling
Drafted with AI assistance and checked against the answer key.
Keep practicing
Take the free SOA-C03 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other SOA-C03 practice questions
- Question 1Optimization] A CloudOps engineer is using AWS Compute Optimizer to generate recommendati…
- Question 2A company's developers manually install software modules on Amazon EC2 instances to deplo…
- Question 3A company requires the rotation of administrative credentials for production workloads on…
- Question 4Application A runs on Amazon EC2 instances behind a Network Load Balancer (NLB). The EC2 …
- Question 5A company uses an organization in AWS Organizations to manage multiple AWS accounts. The …
- Question 6A global gaming company is preparing to launch a new game on AWS. The game runs in multip…
