Amazon Interview Question

How would you implement this architecture?