Schneider Electric interview question

How would you determine that a soda machine is functioning correctly?