Amazon Interview Question

Databases - Relational vs NoSQL, when and why to use each, pros and cons. Scaling in each - partitioning, sharding.