Ultimate access to all questions.
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?
Explanation:
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.