Hard1 markMultiple Choice
AWS SAP-C02 · Question 09 · Domain 2.4: Reliability
A high-traffic e-commerce website experiences unpredictable traffic spikes. The backend uses an Auto Scaling group of EC2 instances processing orders from an SQS queue. During spikes, instances take 5 minutes to boot, causing order processing delays. How can the architect improve reliability and responsiveness?
A high-traffic e-commerce website experiences unpredictable traffic spikes. The backend uses an Auto Scaling group of EC2 instances processing orders from an SQS queue. During spikes, instances take 5 minutes to boot, causing order processing delays. How can the architect improve reliability and responsiveness?
Answer options:
A.
Change the Auto Scaling group to use Target Tracking on CPU utilization.
B.
Implement Step Scaling policies based on SQS queue depth (ApproximateNumberOfMessagesVisible).
C.
Use AWS Lambda instead of EC2 for processing.
D.
Increase the size of the EC2 instances in the Auto Scaling group.
How to approach this question
Identify the best scaling metric for worker nodes processing a queue.
Full Answer
B.Implement Step Scaling policies based on SQS queue depth (ApproximateNumberOfMessagesVisible).✓ Correct
Implement Step Scaling policies based on SQS queue depth (ApproximateNumberOfMessagesVisible).
For queue-processing workloads, scaling based on the number of messages in the queue is the most responsive approach.
Common mistakes
Using CPU metrics for queue workers, which reacts too slowly.
Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 3
75 questions · hints · full answers · grading
More questions from this exam
Q01An enterprise has 100 VPCs across 5 AWS Regions. They need to establish a highly available, trans...HardQ02A company uses AWS Organizations. The CISO requires that no EC2 instances can be launched outside...MediumQ03An application uses Amazon Aurora PostgreSQL. To meet disaster recovery requirements, the databas...HardQ04A company is setting up a new multi-account AWS environment. They want to automate the creation o...MediumQ05An organization wants to allocate AWS costs to specific departments. They use multiple AWS accoun...Medium
Expert