Schneider Electric Interview Question

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