Amazon interview question

How would you handle an allocation scenario?