Which TWO conditions cause a message to be moved to the dead-letter queue automatically?
- A DeliveryCount exceeds MaxDeliveryCount (correct answer)
- B TimeToLive expires while dead-lettering on expiration is enabled (correct answer)
- C The consumer completes the message
- D The lock is renewed
- E Duplicate detection discards a repeat
Shortcut: Exhausting the delivery attempts and TTL expiry with EnableDeadLetteringOnMessageExpiration are the two automatic paths to the dead-letter sub-queue. Completing settles the message successfully, renewal simply extends the lock, and duplicate detection silently drops the repeat rather than dead-lettering it.