Pergunta de entrevista da empresa thoughtbot

When would you use an RDBMS vs a NoSQL database backend?