Verizon Connect interview question

When would you use shared preferences instead of database?