Starbucks interview question

When would you use a NoSQL solution vs an RDBMS?