Medium1 markMultiple Choice
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?
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
Q01A company is setting up a multi-account AWS environment using AWS Organizations. They need to ens...EasyQ02An enterprise needs to connect its on-premises data center to AWS. They require a dedicated, priv...EasyQ03A company wants to share a single AWS Transit Gateway across multiple AWS accounts within their A...EasyQ04An architect needs to design a highly available database architecture that spans multiple AWS Reg...EasyQ05A global financial institution is migrating its core banking application to AWS. The application ...Medium
Expert