Broker Consulting interview question

What are the implications of using a database-generated identity on the application layer compared to using a UUID generated in the application?