Medium1 markMultiple Choice
Domain 3.4: Reliability ImprovementAuto ScalingSQSReliability

AWS SAP-C02 · Question 40 · Domain 3.4: Reliability Improvement

An architect is reviewing an existing architecture consisting of EC2 instances behind an Application Load Balancer. The instances process messages from an SQS queue. During traffic spikes, the queue backs up and messages are delayed. How can the architect improve the reliability and elasticity of this system?

Answer options:

A.

Configure an EC2 Auto Scaling group based on CPU utilization.

B.

Change the SQS queue to a FIFO queue.

C.

Configure an EC2 Auto Scaling group based on the SQS queue length (ApproximateNumberOfMessagesVisible).

D.

Increase the visibility timeout of the SQS queue.

How to approach this question

Identify the best scaling metric for worker nodes processing a queue.

Full Answer

C.Configure an EC2 Auto Scaling group based on the SQS queue length (ApproximateNumberOfMessagesVisible).✓ Correct
Configure an EC2 Auto Scaling group based on the SQS queue length (ApproximateNumberOfMessagesVisible).
For worker environments processing queues, the most effective scaling metric is the queue depth (ApproximateNumberOfMessagesVisible), often calculated as backlog per instance.

Common mistakes

Scaling on CPU, which is a lagging or inaccurate indicator for queue workers.

Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 2

75 questions · hints · full answers · grading

More questions from this exam