Pregunta de entrevista de ServiceNow

How would you design a vending machine?