Aptitude Reasoning English GK Computer Knowledge Programming Skill Banking Software Testing

Question

You have two users (A,B) concurrently accessing a DynamoDB table and submitting updates. If user A will modify a specific item in the table, he needs to make sure that the operation will not affect to user's B attempt to modify the same item. You have to ensure that your update operations will only succeed if the item attributes meet one or more expected conditions. Which of the following DynamoDB features should you use in this scenario?
  • Update Expressions
  • Batch Operations
  • Projection Expressions
  • Conditional writes
Answer- D