Pergunta de entrevista da empresa Starbucks

When would you use a NoSQL solution vs an RDBMS?