Question from the Database - Fundamentals test

When should a transaction be validated?