ubank interview question

How would you handle data consistency