BGIS interview question

How would you ensure data validity and integrity?