Mastercard interview question

They asked about how we implement consistency in database