Two boys in front of a soda machine.
Two boys are at a machine.
two boys are in front of a soda machine which the same as being at a machine
The phrase "are at" is a less specific rephrasing of "in front of".
The boys are in front of a soda machine.