Domanda di colloquio di New Work SE

When do you need to use a data base instead the SharedPreferences?