Troubleshooting and Optimization
Which Amazon SQS CloudWatch metric indicates how long the oldest unprocessed message has been waiting?
Show the answer
Correct answerA. ApproximateAgeOfOldestMessage
AWhy this is right: It reports the age in seconds of the oldest unprocessed message.
BWhy not this: It estimates in-flight messages that have been received but not yet deleted.
CWhy not this: It estimates the number of messages available for retrieval, not their age.
DWhy not this: It counts messages returned by receive operations, not time spent waiting.
ApproximateAgeOfOldestMessage reports the age of the oldest unprocessed message, helping reveal processing delays. ApproximateNumberOfMessagesVisible measures available backlog size rather than waiting time.