Amazon interview question

Systems design for a simulated scenario