AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 25
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 metnc 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
Choosing option A is correct because checking the ApproximateAgeOfOldestMessage metric will help identify if messages are being processed slowly, and increasing the Lambda function concurrency limit can allow more messages to be processed simultaneously. Option D is also correct, as checking the WriteThrottleEvents metric will reveal if the DynamoDB table is being throttled, and increasing the maximum write capacity units can alleviate this issue. The other options either do not address the root cause of the delay or focus on unrelated metrics.