Amazon interview question

Design a system that does xyz