Amazon Interview Question

question on scalabilty