When something is bound to work out, you can call it foolproof. Your foolproof plan for having a great summer might involve spending lots of time at the beach.
If your dog tends to wander and can also jump six feet in the air, a foolproof plan for keeping her in your yard might involve an eight foot fence. You can also use foolproof as a verb: "I'm going to foolproof the instructions for heating up your dinner, so that no one sets the stove on fire this time." Foolproof is an early twentieth century American English word that combines fool, or "silly person" and proof, "resistant."