All Questions
Dynamodb medium

To implement Optimistic Locking in an inventory system, a developer includes a `ConditionExpression: 'version = :old_v'`. If another process has already updated the item, what specific error should the application handle?

  1. A ResourceNotFoundException
  2. B ConditionalCheckFailedException
  3. C ValidationException
  4. D TransactionConflictException

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions