First example: No, if the designers intended you to only be able to make one attempt they would have made it so you couldn’t just exit out of the level and try again. Side-stepping that by power-cycling or Alt+F4 becomes asinine at that point.
Now LYING about it being your first attempt is an entirely different matter.
S…