With the exception of the straight line backing exercise, a driver may exit their vehicle and check its position during testing exercises up to:

A driver is allowed to exit their vehicle to check its position during any basic vehicle control skills test exercise. This action is called a "look." During the straight line backing exercise, a driver may not exceed one look. During any other exercise, a driver may not exceed two looks.
DMV Writen Test