
Answer-first summary for fast verification
Answer: Check the ApproximateAgeOfOldestMessage metric for the SQS queue. Increase the Lambda function concurrency limit., Check the WriteThrottleEvents metric for the DynamoDB table. Increase the maximum write capacity units (WCUs) for the table's scaling policy.
The correct answers are A and D. A: Checking the ApproximateAgeOfOldestMessage metric for the SQS queue and increasing the Lambda function concurrency limit can help speed up processing of messages in the queue, reducing delays. D: Checking the WriteThrottleEvents metric for the DynamoDB table and increasing the maximum write capacity units (WCUs) for the table’s scaling policy can help if write operations are being throttled. Although DynamoDB has auto scaling enabled, there might be cases where the auto scaling configuration needs adjustment to handle the current load more efficiently.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
An e-commerce company is facing delays in updating the order history page with the current processing status of orders. The company's order processing system is built on AWS Lambda with reserved concurrency, which processes order messages from an Amazon SQS queue and then inserts the processed orders into an Amazon DynamoDB table that has auto scaling enabled for both read and write capacities. To address these delays, which two actions should a DevOps engineer consider?
A
Check the ApproximateAgeOfOldestMessage metric for the SQS queue. Increase the Lambda function concurrency limit.
B
Check the ApproximateAgeOfOldestMessage metric for the SQS queue. Configure a redrive policy on the SQS queue.
C
Check the NumberOfMessagesSent metric for the SQS queue. Increase the SQS queue visibility timeout.
D
Check the WriteThrottleEvents metric for the DynamoDB table. Increase the maximum write capacity units (WCUs) for the table's scaling policy.