Qualitest interview question

Question about coffee machine :)