AWS Certified DevOps Engineer – Professional — Question 180
An ecommerce company is receiving reports that its order history page is experiencing delays in reflecting the processing status of orders. The order processing system consists of an AWS Lambda function that uses reserved concurrency. The Lambda function processes order messages from an Amazon Simple Queue Service (Amazon SQS) queue and inserts processed orders into an Amazon DynamoDB table. The DynamoDB table has auto scaling enabled for read and write capacity.
Which actions should a DevOps engineer take to resolve this delay? (Choose two.)
Answer options
- 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.
- E. Check the Throttles metric for the Lambda function. Increase the Lambda function timeout.
Correct answer: A, D
Explanation
The correct actions are A and D. Checking the ApproximateAgeOfOldestMessage metric helps identify if messages are being processed slowly, and increasing the Lambda function's concurrency limit can help process more messages simultaneously. Additionally, monitoring the WriteThrottleEvents metric for DynamoDB is essential because increasing the maximum write capacity units can alleviate any throttling issues that may cause delays. The other options do not directly address the core issues causing the delays.